My Visual Studio Code Shortcuts
Command K Command C
Add line comment
Command D
Add selection to next Find match
Command K M
Change file language
Command W
Close
Command K Command W
Close All
Command W
Close editor
Command K F
Close folder
Command W
Close window/instance
Shift Option + drag mouse
Column (box) selection
Shift Option Command Left (Right)
Column (box) selection left/right
Shift Option Command Up (Down)
Column (box) selection up/down
Command C
Copy line (empty selection)
Shift Option Down (Shift Option Up)
Copy line down/up
Command K P
Copy path of active file
Command X
Cut line (empty selection)
Shift Command K
Delete line
Ctrl Shift Command Right (Left)
Expand / shrink selection
Command F
Find
Command G (Shift Command G)
Find next/previous
Command 1 (Command 2 / Command 3)
Focus into 1st, 2nd, 3rd editor group
Command K Command Left (Command K Command Right)
Focus into previous/next editor group
Command K Command 0 (Command K Command J)
Fold/unfold all regions
Command K Command [ (Command K Command ])
Fold/unfold all subregions
Option Command [ (Option Command ])
Fold/unfold region
Shift Option F
Format document
Command K Command F
Format selection
Ctrl - (Ctrl Shift -)
Go back/forward
F12
Go to Definition
Command P
Go to File...
Ctrl G
Go to Line...
Shift Command O
Go to Symbol...
Command Up (Command Down)
Go to beginning/end of file
F8 (Shift F8)
Go to next/previous error or warning
Command ] (Command [)
Indent/outdent line
Option Command Up
Insert cursor above
Shift Option I
Insert cursor at end of each line selected
Option Command Down
Insert cursor below
Command Enter (Shift Command Enter)
Insert line below/above
Shift Command \
Jump to matching bracket
Command K Enter
Keep preview mode editor open
Command K Command S
Keyboard Shortcuts
Command K Left (Command K Right)
Move active editor group
Command K Shift Command Left (Command K Shift Command Right)
Move editor left/right
Command K ( Command D)
Move last selection to next Find match
Option Down (Option Up)
Move line down/up
Ctrl Shift Tab
Navigate editor group history
Command N
New File
Shift Command N
New window/instance
Command K F12
Open Definition to the side
Command O
Open File...
Shift Command V
Open Markdown preview
Command K V
Open Markdown preview to the side
Ctrl Tab (Ctrl Shift Tab)
Open next / previous
Option F12
Peek Definition
Command .
Quick Fix
Command P
Quick Open, Go to File...
Command K Command U
Remove line comment
F2
Rename Symbol
Shift Command T
Reopen closed editor
Option Command F
Replace
Shift Command H
Replace in files
Command K R
Reveal active file in Explorer
Command S
Save
Option Command S
Save All
Shift Command S
Save As...
Option Enter
Select all occurrences of Find match
Shift Command L
Select all occurrences of current selection
Command F2
Select all occurrences of current word
Command I
Select current line
Shift Command P (F1)
Show Command Palette
Shift Command D
Show Debug
Shift Command E
Show Explorer / Toggle focus
Shift Command X
Show Extensions
Shift Command U
Show Output panel
Shift Command M
Show Problems panel
Shift F12
Show References
Shift Command F
Show Search
Ctrl Shift G
Show Source Control
Command K O
Show active file in new window/instance
Command T
Show all Symbols
Command \
Split editor
F5
Start/Continue
F11 (Shift F11)
Step into/ out
F10
Step over
Shift Command J
Toggle Search details
Command B
Toggle Sidebar visibility
Ctrl Shift M
Toggle Tab moves focus
Shift Option A
Toggle block comment
F9
Toggle breakpoint
Option Command 0
Toggle editor layout (horizontal/vertical)
Ctrl Command F
Toggle full screen
Command /
Toggle line comment
Option Z
Toggle word wrap
Shift Command Space
Trigger parameter hints
Ctrl Space
Trigger suggestion
Command K Command X
Trim trailing whitespace
Command U
Undo last cursor operation
Command ,
User Settings
Command K Z
Zen Mode (Esc Esc to exit)
Option
click Insert cursor