cmd p
shows a list of files matching a certain name.
Is it possible to persist the result and show it in a dedicated panel?
CodePudding user response:
Technically, yes, but in a slightly different format
Go to the "Search" tab, enable regex (the square with an asterisk in the first input box), type ^
(means "start of file/line" depending on regex flags), type the name of the file (use asterisks on both sides for better search), and exclude things like node_modules
and .git
.
Unfortunately, this doesn't support fuzzy search (like if you type "vsc", Cmdp could find a file named "visual studio code.txt" but this can't), but you can get around that with an asterisk between each character.