Skip to main content

Quick Open in VS Code (Linux)

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

PlatformShortcut
Linuxthis pageCtrl + P
macOS
Windows

More VS Code shortcuts: General

All 29 VS Code shortcuts for LinuxThe full list has a search and a printable PDF.

Questions

What is the VS Code shortcut for Quick Open on Linux?

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 Windows?

On macOS it is ⌘P. On Windows it is Ctrl+P.