Task panes
Close the task |
Ctrl SpacebarOr C |
---|---|
Cycle clockwise through normal view |
F6 |
Cycle counterclockwise through normal view |
Shift F6 |
Display the full comands on task |
Ctrl Spacebar |
Display the notes pane in the normal view |
Alt W |
Move or resize the task after corresponding command as selected |
Arrow keys |
Basic Editing
Add line comment |
Ctrl K Ctrl C |
---|---|
Copy line (empty selection) |
Ctrl C |
Copy line up/down |
Shift Alt ↓ ↑ |
Cut line (empty selection) |
Ctrl X |
Delete line |
Ctrl Shift K |
Go to beginning/end of line |
Home/End |
Go to beginning of file |
Ctrl Home |
Go to end of file |
Ctrl End |
Indent/outdent line |
Ctrl ]/ [ |
Insert line above |
Ctrl Shift Enter |
Insert line below |
Ctrl Enter |
Jump to matching bracket |
Ctrl Shift \ |
Move line up/down |
Alt ↑/ ↓ |
Remove line comment |
Ctrl K Ctrl U |
Scroll line up/down |
Ctrl 1/ ↓ ↑ |
Scroll page up/down |
Alt PgUp/ PgDn |
Toggle block comment |
Shift Alt A |
Toggle line comment |
Ctrl/ |
Toggle word wrap |
Alt Z |
Unfold (uncollapse) all regions |
Ctrl K Ctrl J |
Unfold (uncollapse) all subregions |
Ctrl K Ctrl ] |
Unfold (uncollapse) region |
Ctrl K Ctrl ] |
Navigation
Go back / forward |
Alt ← / → |
---|---|
Go to File... |
Ctrl P |
Go to Line... |
Ctrl G |
Go to next error or warning |
F8 |
Go to previous error or warning |
Shift F8 |
Navigate editor group |
Ctrl Shift Tab |
Show all Symbols |
Ctrl T |
Show Problems panel |
Ctrl Shift M |
Show Command Palette |
Ctrl Shift P |
Show Problems panel |
Ctrl Shift O |
Search and Replace
Add selection to next Find match |
Ctrl D |
---|---|
Find |
Ctrl F |
Find next/previous |
F3 / Shift F3 |
Move last selection to next Find match |
Ctrl K D |
Replace |
Ctrl H |
Select all occurrences of Find match |
Alt Enter |
Toggle case-sensitive / regex / whole word |
Alt C / R / W |
Multi-cursor and Selection
Column (box) selection |
Ctrl Shift Alt ↑ / ↓ |
---|---|
Column (box) selection page up/down |
Ctrl Shift Alt PgUp / PgDn |
Expand selection |
Shift Alt → |
Insert cursor |
Alt Click |
Insert cursor above / below |
Ctrl Alt ↑ / ↓ |
Insert cursor at end of each line selected |
Shift Alt I |
Select all occurrences of current selection |
Ctrl Shift L |
Select all occurrences of current word |
Ctrl F2 |
Select current line |
Ctrl L |
Shrink selection |
Shift Alt ← |
Undo last cursor operation |
Ctrl U |
Rich Languages Editing
Change file language |
Ctrl K M |
---|---|
Format document |
Shift Alt F |
Format selection |
Ctrl K Ctrl F |
Go to Definition |
F12 |
Open Definition to the side |
Ctrl K F12 |
Peek Definition |
Alt F12 |
Quick Fix |
Ctrl . |
Rename Symbol |
F2 |
Show References |
Shift F12 |
Trigger parameter hints |
Ctrl Shift Space |
Trigger suggestion |
Ctrl Space, Ctrl I |
Trim trailing whitespace |
Ctrl K Ctrl X |
Editor Management
Close editor |
Ctrl F4, Ctrl W |
---|---|
Close folder |
Ctrl K F |
Focus into 1st, 2nd, or 3rd editor group |
Ctrl 1 / 2 / 3 |
Focus into previous/next editor group |
Ctrl K Ctrl ← / → |
Move active editor group same as previous |
Ctrl K Ctrl → / ← |
Move editor left/right |
Ctrl Shift PgUp / PgDn |
Split editor |
Ctrl \ |
File Management
Close |
Ctrl F4 |
---|---|
Close All |
Ctrl K Ctrl W |
Copy path of active file |
Ctrl K P |
Keep preview mode editor open |
Ctrl K Enter |
New File |
Ctrl N |
Open File... |
Ctrl O |
Open next |
Ctrl Tab |
Open previous |
Ctrl Shift Tab |
Reopen closed editor |
Ctrl Shift T |
Reveal active file in Explorer |
Ctrl K R |
Save |
Ctrl S |
Save All |
Ctrl K S |
Save As... |
Ctrl Shift S |
Show active file in new window/instance |
Ctrl K O |
Display
Open Markdown preview |
Ctrl Shift V |
---|---|
Show Debug |
Ctrl Shift D |
Show Explorer / Toggle focus |
Ctrl Shift E |
Show Extensions |
Ctrl Shift X |
Show Output panel |
Ctrl Shift U |
Show Search |
Ctrl Shift F |
Show Source Control |
Ctrl Shift G |
Show Debug |
Ctrl Shift D |
Show Extensions |
Ctrl Shift X |
Toggle Sidebar visibility |
Ctrl B |
Toggle full screen |
F11 |
Toggle editor layout (horizontal/vertical) |
Shift Alt 0 |
Zoom in/out |
Ctrl = / - |
Zen Mode (Esc Esc to exit) |
Ctrl K Z |
Debug
Show hover for this |
Ctrl K I |
---|---|
Start/Continue |
F5 |
Step into/out |
F11 / Shift F11 |
Step over |
F10 |
Stop |
Shift F5 |
Toggle breakpoint |
F9 |
Integrated Terminal
Copy selection |
Ctrl C |
---|---|
Create new terminal |
Ctrl Shift ` |
Paste into active terminal |
Ctrl V |
Scroll page up/down |
Shift PgUp / PgDn |
Scroll to top/bottom |
Ctrl Home / End |
Show integrated terminal |
Ctrl ` |
Scroll up/down |
Ctrl ↑ / ↓ |
Tags
Editor