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