VS Code Shortcuts

Development·72 shortcuts·11 sections·Also on: Linux, Windows

General27

Command PaletteP
Quick Open FileP
New WindowN
Toggle SidebarB
shortcuts.vscode.togglePanelJ
ExplorerE
SearchF
Source ControlG
Run & DebugD
ExtensionsX
Split Editor\\
Toggle Terminal`
Delete LineK
Move Line Up
Move Line Down
Copy Line Up
Copy Line Down
Add Next MatchD
Toggle Comment/
FindF
Find and ReplaceF
Go to SymbolO
Go to LineG
Go to DefinitionF12
Go to Matching Bracket\\
Close window/instanceW
User Settings,

Basic editing5

Cut line (empty selection)X
Copy line (empty selection)C
Jump to matching bracket\\
Toggle block commentA
Toggle Word WrapZ

Rich language editing7

Trigger suggestionSpace
Trigger Parameter HintsSpace
Format DocumentF
Peek DefinitionF12
Quick Fix.
Show ReferencesF12
Rename SymbolF2

Editor management1

Split editor\\

Search and replace1

Select all occurrences of Find match

Display7

Toggle full screenF
Toggle editor layout (horizontal/vertical)0
Show Source ControlG
Replace in FilesH
Toggle Search DetailsJ
Show Output panelU
Open Markdown previewV

File management6

New FileN
Open File...O
SaveS
Save AsS
Save AllS
Reopen Closed EditorT

Debug4

Toggle BreakpointF9
Start/ContinueF5
Step OverF10
StopF5

Integrated terminal1

Create new terminal`

Multi-cursor selection9

Insert Cursor Above
Insert Cursor Below
Undo last cursor operationU
Insert cursor at end of each line selectedI
Select current lineI
Select all occurrences of current selectionL
Select all occurrences of current wordF2
Column (box) selection page upPage Up
Column (box) selection page downPage Down

Access VS Code shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.

Command PaletteP
Quick Open FileP
New WindowN