Keyboard Shortcuts Macos - VSCode
Keyboard Shortcuts Macos - VSCode
General
Close
K W
Close All
Find
Replace
K Enter
G / G
Find next/previous
Keep Open
Tab / Tab
Enter
K P
K R
K D
K O
P, F1
Quick Open
New window/instance
Close window/instance
Space
Trigger suggestion
Space
Tab
= / -
Format document
Zoom in/out
K F
Format selection
F12
Go to Definition
F12
Peek Definition
Show Search
K F12
Show Git
Quick Fix
Show Debug
F12
Show References
Show Extensions
F2
Rename Symbol
Replace in files
. / ,
K X
K M
K V
Basic editing
Display
Delete line
Enter / Enter
] / [
Indent/outdent line
Home / End
Go to beginning/end of line
Go to beginning/end of file
PgUp
Scroll line up
PgDown
PgUp /PgDown
Navigation
[ / ]
Fold/unfold region
Fold/unfold all subregions
Debug
K [ / K ]
K 0 / K J
Go to Line...
F9
Go to File...
Toggle breakpoint
K C
F5
Start/Continue
K U
Go to Symbol...
F11 / F11
F10
Step over
F8 / F8
F5
Stop
Tab
K I
- / -
Go back/forward
Show hover
U
I
I
L
F2
Shift+Alt + drag
mouse
PgUp
PgDown
Insert cursor
Insert cursor above
Insert cursor below
Undo last cursor operation
Insert cursor at end of each line selected
Select current line
Select all occurrences of current selection
Select all occurrences of current word
Expand selection
Shrink selection
Column (box) selection
Column
Column
Column
Column
Column
Column
(box)
(box)
(box)
(box)
(box)
(box)
selection
selection
selection
selection
selection
selection
up
down
left
right
page up
page down
Editor management
W
Close editor
K F
Close folder
Split editor
st
nd
rd
Integrated terminal
`
unassigned
Copy selection
unassigned
Scroll up
1 / 2 / 3
K / K
Scroll down
PgUp
Scroll page up
PgDown
Home
Scroll to top
End
Scroll to bottom
File management
New File
Open File...
Save
Save As...
Save All