VSCode Cheat Sheet & Quick Reference
VSCode Cheat Sheet & Quick Reference
This VSCode (Visual Studio Code) quick reference cheat sheet shows its keyboard shortcuts and commands.
Basic Editing
Ctrl G Go to Line...
Ctrl P Go to File...
Ctrl H Replace
F3 Find next
Ctrl Shi ft Alt PgUp / P g Down Column (box) selection page up/down
F12 Go to Definition
F2 Rename Symbol
File management
Ctrl S Save
Ctrl F4 Close
Display
Debug
F9 Toggle breakpoint
F5 Start/Continue
Shi ft F5 Stop
Integrated terminal
⌘W Close window/instance
⌘, User Settings
⌘K ⌘S Keyboard Shortcuts
Basic editing
⌘] / ⌘[ Indent/outdent line
⌘↑ / ⌘↓ Go to beginning/end of file
⌘F Find
⌥⌘F Replace
⌘G / ⇧⌘G Find next/previous
⌘K ⌘F Format selection
F12 Go to Definition
⌘. Quick Fix
F2 Rename Symbol
Navigation
⌘T Show all Symbols
⌃G Go to Line...
⌘P Go to File...
⇧⌘O Go to Symbol...
⌃- / ⌃⇧- Go back/forward
Editor management
⌘W Close editor
⌘K F Close folder
⌘\ Split editor
File management
⌘N New File
⌘O Open File...
⌘S Save
⌘W Close
⌘K ⌘W Close All
Display
Debug
F9 Toggle breakpoint
F5 Start/Continue
⇧F5 Stop
⌘K ⌘I Show hover
Integrated terminal
⌃` Show integrated terminal
⌘C Copy selection
⌘↑ / ↓ Scroll up/down