Complete VS Code keyboard shortcuts for Mac. All shortcuts use Cmd (⌘) instead of Ctrl.
Quick answer: VS Code Mac shortcuts: Command Palette = Cmd+Shift+P | Quick Open = Cmd+P | Toggle Terminal = Ctrl+` | Format = Shift+Option+F | Go to Definition = F12
| Action | Shortcut |
|---|---|
| Command Palette | CmdShiftP |
| Quick Open File | CmdP |
| Toggle Terminal | Ctrl` |
| Format Document | ShiftOptionF |
| Go to Definition | F12 |
| Find in Files | CmdShiftF |
| Split Editor | Cmd\ |
| Toggle Sidebar | CmdB |
Press Cmd+Shift+P on Mac to open the VS Code Command Palette.
Press Shift+Option+F on Mac to format the entire document in VS Code.