Reputation: 51039
I have thousands of files and foldesr and cant browse them in File
| Open
or Explorer
windows because it is very slow.
Can I open file by it's filename in VS Code?
If I press Ctrl-P
and enter my filepath, relative to opened directory
mydir1/mydir2/myfile-a:b.cfg
it says No results found
.
Upvotes: 1
Views: 1710
Reputation: 6912
You can open your folder in code, then use Ctrl+P (or Cmd+P on mac) and type in the file's name (documentation).
Alternatively, if you don't mind using the command line, you can type in your terminal:
code myfile.txt myfile2.html
(i.e. code
followed by a list of files to open), and the specified files will open in VS code.
Upvotes: 1