Visual Studio Code (Windows)
Multi-cursor and selection
Column (box) selection
Ctrl + ↑ Shift + Alt + ← ↑ → ↓
All hotkeys for Visual Studio Code (Windows)
GeneralF1 Show Command Palette |
Ctrl + ↑ Shift + P then F1 |
NavigationGo to file |
Ctrl + P |
GeneralNew window/instance |
Ctrl + ↑ Shift + N |
GeneralClose window/instance |
Ctrl + ↑ Shift + W |
GeneralUser Settings |
Ctrl + , |
GeneralKeyboard Shortcuts |
Ctrl + K then Ctrl + S |
Basic editingCut line (empty selection) |
Ctrl + X |
Integrated terminalCopy selection |
Ctrl + C |
Basic editingMove line up/down |
Alt + ↑ ↓ |
Basic editingCopy line up/down |
↑ Shift + Alt + ↑ ↓ |
Basic editingDelete line |
Ctrl + ↑ Shift + K |
Basic editingInsert line below |
Ctrl + ⤶ Enter |
Basic editingInsert line above |
Ctrl + ↑ Shift + ⤶ Enter |
Basic editingJump to matching bracket |
Ctrl + ↑ Shift + \ |
Basic editingIndent/outdent line |
Ctrl + ] |
Basic editingIndent/outdent line |
Ctrl + [ |
Basic editingGo to beginning of line |
Home |
Basic editingGo to end of line |
End |
Integrated terminalScroll to top |
Ctrl + Home |
Integrated terminalScroll to bottom |
Ctrl + End |
Integrated terminalScroll up/down |
Ctrl + ↑ ↓ |
Basic editingScroll page up |
Alt + Page Up |
Basic editingScroll page down |
Alt + Page Down |
Basic editingFold (collapse) region |
Ctrl + ↑ Shift + [ |
Basic editingUnfold (uncollapse) region |
Ctrl + ↑ Shift + ] |
Basic editingFold (collapse) all subregions |
Ctrl + K then Ctrl + [ |
Basic editingUnfold (uncollapse) all subregions |
Ctrl + K then Ctrl + ] |
Basic editingFold (collapse) all regions |
Ctrl + K then Ctrl + 0 |
Basic editingUnfold (uncollapse) all regions |
Ctrl + K then Ctrl + J |
Basic editingAdd line comment |
Ctrl + K then Ctrl + C |
Basic editingRemove line comment |
Ctrl + K then Ctrl + U |
Basic editingToggle line comment |
Ctrl + / |
Basic editingToggle block comment |
↑ Shift + Alt + A |
Basic editingToggle word wrap |
Alt + Z |
NavigationShow all symbols |
Ctrl + T |
NavigationGo to line |
Ctrl + G |
NavigationGo to symbol |
Ctrl + ↑ Shift + O |
NavigationShow Problems panel |
Ctrl + ↑ Shift + M |
NavigationGo to next error or warning |
F8 |
NavigationGo to previous error or warning |
↑ Shift + F8 |
File managementOpen previous |
Ctrl + ↑ Shift + ⭾ Tab |
NavigationGo back / forward |
Alt + ← → |
NavigationToggle Tab moves focus |
Ctrl + M |
Search and replaceFind |
Ctrl + F |
Search and replaceReplace |
Ctrl + H |
Search and replaceFind next |
F3 |
Search and replaceFind previous |
↑ Shift + F3 |
Search and replaceSelect all occurences of Find match |
Alt + ⤶ Enter |
Search and replaceAdd selection to next Find match |
Ctrl + D |
Search and replaceMove last selection to next Find match |
Ctrl + K then Ctrl + D |
Search and replaceToggle case-sensitive |
Alt + C |
Search and replaceToggle regex |
Alt + R |
Search and replaceToggle whole word |
Alt + W |
Multi-cursor and selectionInsert cursor |
Alt + Mouse left click |
Multi-cursor and selectionInsert cursor above / below |
Ctrl + Alt + ↑ ↓ |
Multi-cursor and selectionUndo last cursor operation |
Ctrl + U |
Multi-cursor and selectionInsert cursor at end of each line selected |
↑ Shift + Alt + I |
Multi-cursor and selectionSelect current line |
Ctrl + I |
Multi-cursor and selectionSelect all occurrences of current selection |
Ctrl + ↑ Shift + L |
Multi-cursor and selectionSelect all occurrences of current word |
Ctrl + F2 |
Multi-cursor and selectionExpand selection |
↑ Shift + Alt + → |
Multi-cursor and selectionShrink selection |
↑ Shift + Alt + ← |
Multi-cursor and selectionColumn (box) selection |
↑ Shift + Alt + Mouse movement |
Multi-cursor and selectionColumn (box) selection |
Ctrl + ↑ Shift + Alt + ← ↑ → ↓ |
Multi-cursor and selectionColumn (box) selection page up |
Ctrl + Shift + Alt + Page Up |
Multi-cursor and selectionColumn (box) selection page down |
Ctrl + Shift + Alt + Page Down |
Rich languages editingTrigger suggestion |
Ctrl + Space |
Rich languages editingTrigger parameter hints |
Ctrl + ↑ Shift + Space |
Rich languages editingFormat document |
↑ Shift + Alt + F |
Rich languages editingFormat selection |
Ctrl + K then Ctrl + F |
Rich languages editingGo to Definition |
F12 |
Rich languages editingPeek Definition |
Alt + F12 |
Rich languages editing12 Open Definition to the side |
Ctrl + K then F12 |
Rich languages editingQuick Fix |
Ctrl + . |
Rich languages editingShow References |
↑ Shift + F12 |
Rich languages editingRename Symbol |
F2 |
Rich languages editingTrim trailing whitespace |
Ctrl + K then Ctrl + X |
Rich languages editingM Change file language |
Ctrl + K then M |
Editor managementClose editor |
Ctrl + F4 then Ctrl + W |
DisplayZ Zen Mode (Esc Esc to exit) |
Ctrl + K |
Editor managementSplit editor |
Ctrl + \ |
Editor managementFocus into first group |
Ctrl + 1 |
Editor managementFocus into second group |
Ctrl + 2 |
Editor managementFocus into third group |
Ctrl + 3 |
Editor managementFocus into previous/next editor group |
Ctrl + K then Ctrl + ← → |
Editor managementMove editor left |
Ctrl + Shift + Page Up |
Editor managementMove editor right |
Ctrl + Shift + Page Down |
Editor managementht Move active editor group |
Ctrl + K then ← → |
File managementNew File |
Ctrl + N |
File managementOpen File |
Ctrl + O |
File managementSave |
Ctrl + S |
File managementSave As |
Ctrl + ↑ Shift + S |
File managementClose |
Ctrl + F4 |
File managementClose All |
Ctrl + K then Ctrl + W |
File managementReopen closed editor |
Ctrl + ↑ Shift + T |
File managementOpen next |
Ctrl + ⭾ Tab |
File managementP Copy path of active file |
Ctrl + K then P |
File managementR Reveal active file in Explorer |
Ctrl + K then R |
File managementO Show active file in new window/instance |
Ctrl + K then O |
DebugStep into |
F11 |
DisplayToggle editor layout (horizontal/vertical) |
↑ Shift + Alt + 1 |
DisplayZoom in |
Ctrl + = |
DisplayZoom out |
Ctrl + - |
DisplayToggle Sidebar visibility |
Ctrl + B |
DisplayShow Explorer / Toggle focus |
Ctrl + ↑ Shift + E |
DisplayShow Search |
Ctrl + ↑ Shift + F |
DisplayShow Source Control |
Ctrl + ↑ Shift + G |
DisplayShow Debug |
Ctrl + ↑ Shift + D |
DisplayShow Extensions |
Ctrl + ↑ Shift + X |
DisplayReplace in files |
Ctrl + ↑ Shift + H |
DisplayToggle Search details |
Ctrl + ↑ Shift + J |
DisplayShow Output panel |
Ctrl + ↑ Shift + U |
DisplayOpen Markdown preview |
Ctrl + ↑ Shift + V |
DebugToggle breakpoint |
F9 |
DebugStart/Continue |
F5 |
DebugStop |
↑ Shift + F5 |
DebugStep out |
↑ Shift + F11 |
DebugStep over |
F10 |
DebugShow hover |
Ctrl + K then Ctrl + I |
Integrated terminalShow integrated terminal |
Ctrl + ` |
Integrated terminalCreate new terminal |
Ctrl + ↑ Shift + ` |
Integrated terminalPaste into active terminal |
Ctrl + V |
Integrated terminalScroll page up |
Shift + Page Up |
Integrated terminalScroll page down |
Shift + Page Down |