Quick Open in VS Code (Windows)
Press Ctrl + P to open a file of the project by typing part of its name.
What it does
Quick Open shows a search box over the editor. Type part of a file name and the list narrows to the files of the workspace that match, with the files you opened recently on top. Enter opens the chosen file. The letters do not have to be next to each other in the name, so a few letters of two words are enough. It saves clicking through folders in the Explorer.
The same shortcut on other platforms
| Platform | Shortcut |
|---|---|
| Windowsthis page | Ctrl + P |
| macOS | |
| Linux |
More VS Code shortcuts: General
- New Window
- Open Settings
- Toggle Terminal
- Command Palette
All 35 VS Code shortcuts for WindowsThe full list has a search and a printable PDF.
Questions
What is the VS Code shortcut for Quick Open on Windows?
Ctrl+P. Press it to open a file of the project by typing part of its name.
What is the shortcut for Quick Open in VS Code on macOS and Linux?
On macOS it is ⌘P. On Linux it is Ctrl+P.