The most important VS Code shortcuts for Windows. Download the official PDF cheat sheet or use this quick reference.
Quick answer: VS Code Windows shortcuts: Command Palette = Ctrl+Shift+P | Quick Open = Ctrl+P | Toggle Terminal = Ctrl+` | Format Document = Shift+Alt+F | Go to Definition = F12
| Action | Shortcut | Alternative |
|---|---|---|
| Command Palette | CtrlShiftP | |
| Quick Open File | CtrlP | |
| Toggle Terminal | Ctrl` | |
| Format Document | ShiftAltF | |
| Go to Definition | F12 | |
| Find in Files | CtrlShiftF | |
| Split Editor | Ctrl\ | |
| Toggle Sidebar | CtrlB |
Press Ctrl+Shift+P on Windows to open the VS Code Command Palette, which lets you run any command.
Press Shift+Alt+F on Windows to format the entire document in VS Code.
Press Ctrl+` (backtick) to open or close the integrated terminal in VS Code on Windows.