VSCode: Open file in project

> prefix is for running commands in VSCode. To open a file in the current project press Cmd + P and type the full / partial name of the wanted file. VSCode uses fuzzy search, so you can even get away with typos in your input.


There is not a proper command for this but if your file has any file extension you can just open the command palette and replace the > with a .

It will have a section of the open files at the top and "file and symbol results" at the bottom containing every file name containing a . (= all files with a file extension)

If you know the name of the file you can simply remove the > in the command palette and type the name and it will show the file and symbols results again for any file containing what you have typed.

enter image description here