VSCode Command Palette
VSCode's (Visual Studio Code) Command Palette is a very powerful tool that allows users to quickly access and execute various commands and features in VSCode.
We can use the Command Palette to execute VSCode's built-in commands, such as opening files, searching symbols, renaming symbols, saving files, etc.
VSCode uses the following shortcut to open the Command Palette:
- macOS shortcut: ⇧⌘P
- Windows/Linux shortcut: Ctrl + Shift + P
You can also open it by selecting View > Command Palette... from the menu bar.

The Command Palette covers almost all commands in VS Code, including commands added by extensions you have installed.

Note:The Command Palette displays commands with their default shortcuts; if a command has a shortcut, you can run it directly with that shortcut without going through the Command Palette.
Command Palette operation modes
The Command Palette supports multiple operation modes, presenting different functions based on your input:
After entering the > symbol: start typing to filter the command list.
For example, typing move terminal finds commands related to moving the terminal to a new window.

After deleting the > symbol: the input searches for files in the workspace.

Pressing ⇧⌘P (Windows/Linux/macOS shortcut: Ctrl + Shift + P) directly opens the Command Palette and starts searching files.