Vscode Command Palette
# VSCode Command Palette
VSCode (Visual Studio Code)'s 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 shortcuts to open the Command Palette:
* macOS shortcut: β§βP
* Windows/Linux shortcut: Ctrl + Shift + P
You can also open it through the menu bar by selecting View > Command Palette...
!(#)
The command palette covers almost all commands in VS Code, including commands added by your installed extensions.
!(#)
> **Note:** The command palette displays commands with their default shortcuts. If a command has a shortcut, you can directly use that shortcut to run the command without going through the command palette.
### Command Palette Operation Modes
The command palette supports multiple operation modes, presenting different functions based on input:
After entering the > symbol: Start typing to filter the command list.
For example, typing "move terminal" can find commands related to moving the terminal to a new window.
!(#)
After removing the > symbol: The input content will search for files in the workspace.
!(#)
Pressing the β§βP (Windows/Linux/macOS shortcut: Ctrl + Shift + P) shortcut can directly open the command palette and start searching for files.
YouTip