All hotkeys for Visual Studio Code (Windows)
General ShortcutsShow Command Palette |
Ctrl + Shift + P / F1 |
General ShortcutsQuick Open |
Ctrl + P |
General ShortcutsNew window/instance |
Ctrl + Shift + N |
General ShortcutsClose window/instance |
Ctrl + Shift + W |
Editing ShortcutsCut line (empty selection) |
Ctrl + X |
Editing ShortcutsCopy line (empty selection) |
Ctrl + C |
Editing ShortcutsMove line up/down |
Alt + Up Arrow/Down Arrow |
Editing ShortcutsCopy line up/down |
Shift + Alt + Down Arrow/Up Arrow |
Editing ShortcutsDelete line |
Ctrl + Shift + K |
Editing ShortcutsInsert line below |
Ctrl + Enter |
Editing ShortcutsInsert line above |
Ctrl + Shift + Enter |
Editing ShortcutsJump to matching bracket |
Ctrl + Shift + \ |
Editing ShortcutsIndent/outdent line |
Ctrl + ] / [ |
Editing ShortcutsGo to beginning of line |
Home |
Editing ShortcutsGo to End of line |
End |
Editing ShortcutsGo to beginning of file |
Ctrl + Home |
Editing ShortcutsGo to End of file |
Ctrl + End |
Editing ShortcutsScroll line up/down |
Ctrl + Up Arrow/Down Arrow |
Editing ShortcutsScroll page up/down |
Alt + PgUp/PgDn |
Editing ShortcutsFold (collapse) region |
Ctrl + Shift + [ |
Editing ShortcutsUnfold (uncollapse) region |
Ctrl + Shift + ] |
Editing ShortcutsFold (collapse) all subregions |
Ctrl + K then Ctrl + [ |
Editing ShortcutsUnfold (uncollapse) all subregions |
Ctrl + K then Ctrl + ] |
Editing ShortcutsFold (collapse) all regions |
Ctrl + K then Ctrl + 0 |
Editing ShortcutsUnfold (uncollapse) all regions |
Ctrl + K then Ctrl + J |
Editing ShortcutsAdd line comment |
Ctrl + K then Ctrl + C |
Editing ShortcutsRemove line comment |
Ctrl + K then Ctrl + U |
Editing ShortcutsToggle line comment |
Ctrl + / |
Editing ShortcutsToggle block comment |
Shift + Alt + A |
Editing ShortcutsToggle word wrap |
Alt + Z |
Navigation ShortcutsShow all Symbols |
Ctrl + T |
Navigation ShortcutsGo to Line... |
Ctrl + G |
Navigation ShortcutsGo to File... |
Ctrl + P |
Navigation ShortcutsGo to Symbol... |
Ctrl + Shift + O |
Navigation ShortcutsShow Problems panel |
Ctrl + Shift + M |
Navigation ShortcutsGo to next error or warning |
F8 |
Navigation ShortcutsGo to previous error or warning |
Shift + F8 |
Navigation ShortcutsNavigate editor group history |
Ctrl + Shift + Tab |
Navigation ShortcutsGo back / forward |
Alt + Left Arrow/Right Arrow |
Navigation ShortcutsToggle Tab moves focus |
Ctrl + M |
Search and ReplaceFind |
Ctrl + F |
Search and ReplaceReplace |
Ctrl + H |
Search and ReplaceFind next/previous |
F3 / 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/Regex/Whole word |
Alt + C / R / W |
MutiCursor and SelectionInsert cursor |
Alt + Click |
MutiCursor and SelectionInsert cursor above / below |
Ctrl + Alt + Up Arrow/Down Arrow |
MutiCursor and SelectionUndo last cursor operation |
Ctrl + U |
MutiCursor and SelectionInsert cursor at end of each line selected |
Shift + Alt + I |
MutiCursor and SelectionSelect current line |
Ctrl + I |
MutiCursor and SelectionSelect all occurrences of current selection |
Ctrl + Shift + L |
MutiCursor and SelectionSelect all occurrences of current word |
Ctrl + F2 |
MutiCursor and SelectionExpand selection |
Shift + Alt + Right Arrow |
MutiCursor and SelectionShrink selection |
Shift + Alt + Left Arrow |
MutiCursor and SelectionColumn (box) selection |
Shift + Alt + Drag |
MutiCursor and SelectionColumn (box) selection |
Ctrl + Shift + Alt + Arrow Keys |
MutiCursor and SelectionColumn (box) selection page up/down |
Ctrl + Shift + Alt + PgUp/PgDn |
Rich Language EditingTrigger suggestion |
Ctrl + Spacebar |
Rich Language EditingTrigger parameter hints |
Ctrl + Shift + Spacebar |
Rich Language EditingEmmet expand abbreviation |
Tab |
Rich Language EditingFormat document |
Shift + Alt + F |
Rich Language EditingFormat selection |
Ctrl + K then Ctrl + F |
Rich Language EditingGo to Definition |
F12 |
Rich Language EditingPeek Definition |
Alt + F12 |
Rich Language EditingOpen Definition to the side |
Ctrl + K then F12 |
Rich Language EditingQuick Fix |
Ctrl + . |
Rich Language EditingShow References |
Shift + F12 |
Rich Language EditingRename Symbol |
F2 |
Rich Language EditingReplace with next/previous value |
Ctrl + Shift + . / , |
Rich Language EditingTrim trailing whitespace |
Ctrl + K then Ctrl + X |
Rich Language EditingChange file language |
Ctrl + K then M |
Editor ManagementClose editor |
Ctrl + F4 then Ctrl + W |
Editor ManagementClose folder |
Ctrl + K then F |
Editor ManagementSplit editor |
Ctrl + \ |
Editor ManagementFocus into 1st, 2nd or 3rd editor group |
Ctrl + 1 / 2 / 3 |
Editor ManagementFocus into previous/next editor group |
Ctrl + K then Ctrl + Left Arrow/Right Arrow |
Editor ManagementMove editor left/right |
Ctrl + Shift + PgUp/PgDn |
Editor ManagementMove active editor group |
Ctrl + K then Left Arrow/Right Arrow |
File ManagementNew File |
Ctrl + N |
File ManagementOpen File |
Ctrl + O |
File ManagementSave |
Ctrl + S |
File ManagementSave As |
Ctrl + Shift + S |
File ManagementSave All |
Ctrl + K then S |
File ManagementClose |
Ctrl + F4 |
File ManagementClose All |
Ctrl + K then Ctrl + W |
File ManagementReopen closed editor |
Ctrl + Shift + T |
File ManagementKeep Open |
Ctrl + K then Enter |
File ManagementOpen next |
Ctrl + Tab |
File ManagementOpen previous |
Ctrl + Shift + Tab |
File ManagementCopy Path of active file |
Ctrl + K then P |
File ManagementReveal active file in Explorer |
Ctrl + K then R |
File ManagementShow active file in new window/instance |
Ctrl + K then O |
DisplayToggle full screen |
F11 |
DisplayToggle editor layout |
Shift + Alt + 1 |
DisplayZoom in/out |
Ctrl + =/- |
DisplayToggle Sidebar visibility |
Ctrl + B |
DisplayShow Explorer / Toggle focus |
Ctrl + Shift + E |
DisplayShow Search |
Ctrl + Shift + F |
DisplayShow Git |
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 |
DisplayOpen new command prompt/terminal |
Ctrl + Shift + C |
DisplayShow Output panel |
Ctrl + Shift + U |
DisplayToggle Markdown preview |
Ctrl + Shift + V |
DisplayOpen Markdown preview to the side |
Ctrl + K then V |
DebugToggle breakpoint |
F9 |
DebugStart/Continue |
F5 |
DebugStop |
Shift + F5 |
DebugStep into/out |
F11 / Shift + F11 |
DebugStep over |
F10 |
DebugShow hover |
Ctrl + K then Ctrl + I |
Integrated TerminalShow integrated terminal |
Ctrl + ` |
Integrated TerminalCreate new terminal |
Ctrl + Shift + ` |
Integrated TerminalCopy selection |
Ctrl + Shift + C |
Integrated TerminalPaste into active terminal |
Ctrl + Shift + V |
Integrated TerminalScroll up/down |
Ctrl + Up Arrow/Down Arrow |
Integrated TerminalScroll page up/down |
Shift + PgUp/PgDn |
Integrated TerminalScroll to top/bottom |
Ctrl + Home/End |