Developer
VS Code Shortcuts
Browse Visual Studio Code keyboard shortcuts for Windows, macOS, and Linux.
| Action | Shortcut | Category | |
|---|---|---|---|
| Command Palette | Ctrl+Shift+P | General | |
| Quick Open | Ctrl+P | General | |
| New Window | Ctrl+Shift+N | General | |
| Close Window | Alt+F4 | General | |
| User Settings | Ctrl+, | General | |
| Keyboard Shortcuts | Ctrl+K Ctrl+S | General | |
| Find | Ctrl+F | Search | |
| Replace | Ctrl+H | Search | |
| Search in Files | Ctrl+Shift+F | Search | |
| Toggle Terminal | Ctrl+` | Terminal | |
| New Terminal | Ctrl+Shift+` | Terminal | |
| Split Editor | Ctrl+\ | Editor | |
| Format Document | Shift+Alt+F | Editor | |
| Go to Definition | F12 | Navigation | |
| Peek Definition | Alt+F12 | Navigation | |
| Rename Symbol | F2 | Refactor | |
| Toggle Comment | Ctrl+/ | Editor | |
| Multi Cursor | Alt+Click | Editor | |
| Move Line Up | Alt+Up | Editor | |
| Move Line Down | Alt+Down | Editor |
FAQ
Questions people ask
Which VS Code platforms are included?
The shortcut table includes Windows, macOS, and Linux key combinations.
Can I search by shortcut or action?
Yes. Search matches the action name, category, and all platform shortcut strings.
Can I copy a shortcut?
Yes. Use the copy button beside a row to copy the shortcut for the selected platform.
Related tools