Skip to main content

Command Palette in VS Code (Linux)

Press Ctrl + Shift + P to open a list of every command and run one by typing part of its name.

What it does

The Command Palette lists every command of the editor and of the installed extensions. Type a few letters of what you want, such as "format" or "rename", pick the command and press Enter. Each entry shows its own shortcut beside it, so the list also teaches you the keys for the commands you run often. A command that has no shortcut is still reachable here.

The same shortcut on other platforms

PlatformShortcut
Linuxthis pageCtrl + Shift + 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 Command Palette on Linux?

Ctrl+Shift+P. Press it to open a list of every command and run one by typing part of its name.

What is the shortcut for Command Palette in VS Code on macOS and Windows?

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