Visual Studio Code cheatsheet
Visual Studio Code, or VSCode, is an open-source code editor. This guide targets VSCode v1.19.
Shortcuts
Command palette
Key |
Description |
⇧⌘P |
Show all commands |
⌘P |
Show files |
Key |
Description |
⌘B |
Toggle sidebar |
⇧⌘E |
Explorer |
⇧⌘F |
Search |
⇧⌘D |
Debug |
⇧⌘X |
Extensions |
⇧^G |
Git (SCM) |
Search
Key |
Description |
⌘F |
Find |
⌥⌘F |
Replace |
⇧⌘F |
Find in files |
⇧⌘H |
Replace in files |
Panel
Key |
Description |
⌘J |
Toggle panel |
⇧⌘M |
Problems |
⇧⌘U |
Output |
⇧⌘Y |
Debug console |
^` |
Terminal |
View
Key |
Description |
⌘k z |
Zen mode |
⌘k u |
Close unmodified |
⌘k w |
Close all |
Debug
Key |
Description |
F5 |
Start |
⇧F5 |
Stop |
⇧⌘F5 |
Restart |
^F5 |
Start without debugging |
F9 |
Toggle breakpoint |
F10 |
Step over |
F11 |
Step into |
⇧F11 |
Step out |
⇧⌘D |
Debug sidebar |
⇧⌘Y |
Debug panel |
References