VScode!


1
General
13
  Shortcut Key   Description
1 Ctrl+Shift+P,F1 Show Command Palette
2 Ctrl+P Quick Open, Go to File
3 Ctrl+Shift+N New Window / instance
4 Ctrl+Shift+W Close Window/instance
5 Ctrl+, User Settings
6 Ctrl+K Ctrl+S Keyboard Shortcuts
7 Ctrl+F4 , Ctrl+W Close editor
8 Ctrl+K F Close folder
9 Ctrl+\ Spit editor
10 Ctrl+1 / 2 / 3 Focus into 1st, 2nd or 3rd editor group
11 Ctrl+K Ctrl+ / Focus into previous / next editor group
12 Ctrl+Shift+PgUp / PgDn Move editor left / right
13 Ctrl+K / Move active editor group
2
Multi-cursor and Selection
12
  Shortcut Key   Description
1 Alt+Click Insert cursor
2 Ctrl+Alt+ / Insert cursor above / below
3 Ctrl+U Undo last cursor operation
4 Shift+Alt+I Insert cursor at end of each line selected
5 Ctrl+L Select current line
6 Ctrl+Shift+L Select all occurences of current selection
7 Ctrl+F2 Select all occurences of current word
8 Shift+Alt+ Expand selection
9 Shift+Alt+ Shrink selection
10 Shift+Alt+(drag mouse) Column (box) selection
11 Ctrl+Shift+Alt+(arrow key) Column (box) selection
12 Ctrl+Shift+Alt+PgUp / PgDn Column(box) selection page up / down
3
Basic Editing
25
  Shortcut Key   Description
1 Ctrl+X Cut line (empty selection)
2 Ctrl+C Copy line (empty selection)
3 Alt+ / Move line up / down
4 Shift+Alt+ / Copy line up / down
5 Ctrl+Shift+K Delete line
6 Ctrl+Enter Insert line below
7 Ctrl+Shift+Enter Insert line above
8 Ctrl+Shift+\ Jump to matching bracket
9 Ctrl+] / [ Indent / outdent line
10 Home / End Go to begining /end of line
11 Ctrl+Home Go to begining of file
12 Ctrl+End Go to end of file
13 Ctrl+ / Scroll line up / down
14 Alt+PgUp / PgDn Scroll page up / down
15 Ctrl+Shift+[ Fold (collapse) region
16 Ctrl+Shift+] UnFold (uncollapse) region
17 Ctrl+K Ctrl+[ Fold (collapse) all subregions
18 Ctrl+K Ctrl+] UnFold (uncollapse) all subregions
19 Ctrl+K Ctrl+O Fold (collapse) all regions
20 Ctrl+K Ctrl+J UnFold (Uncollapse) all regions
21 Ctrl+K Ctrl+C Add line comment
22 Ctrl+K Ctrl+U Remove line comment
23 Ctrl+/ Toggle line comment
24 Shift+Alt+A Toggle block comment
25 Alt+Z Toggle word wrap
4
Display
16
  Shortcut Key   Description
1 F11 Toggle full screen
2 Shift+Alt+O Toogle editor layout
3 Ctrl+= / - Zoom in / out
4 Ctrl+B Toogle Sidebar visibility
5 Ctrl+Shift+E Show Explorer / Toggle focus
6 Ctrl+K Z Zen Mode (Esc to exit)
7 Ctrl+Shift+F Show Search
8 Ctrl+Shift+G Show Source Control
9 Ctrl+Shift D Show Debug
10 Ctrl+Shift+X Show Extensions
11 Ctrl+Shift+H Replace in files
12 Ctrl+Shift+J Toogle Search details
13 Ctrl+Shift+U Show Output panel
14 Ctrl+Shift+V Open Markdown preview
15 Ctrl+K V Open Markdown preview to the side
5
Navigation
10
  Shortcut Key   Description
1 Ctrl+T Show all Symbols
2 Ctrl+G Go to Line
3 Ctrl+P Go to File
4 Ctrl+Shift+O Go to symbol
5 Ctrl+Shift+M Show Problem panel
6 F8 Go to next error or warning
7 Shift+F8 Go to previous error or warning
8 Ctrl+Shift+Tab Navigate editor group history
9 Alt+ / Go back / forward
10 Ctrl+M Toggle Tab moves focus
6
Search and Replace
7
  Shortcut Key   Description
1 Ctrl+F Find
2 Ctrl+H Replace
3 F3 / Shift+F3 Find next / previous
4 Alt+Enter Select all occurences of Find match
5 Ctrl+D Add selection to next Find match
6 Ctrl+K Ctrl+D Move last selection to next Find match
7 Alt+C / R / W Toggle case-sensitive / regex / whole word
7
Rich Languages editing
12
  Shortcut Key   Description
1 Ctrl+Space Trigger suggestion
2 Ctrl+Shift+Space Trigger parameter hints
3 Shift+Alt+F Format document
4 Ctrl+K Ctrl+F Format selection
5 F12 Go to definition
6 Alt+F12 Peek definition
7 Ctrl+K F12 Open Definition to the side
8 Ctrl+. Quick Fix
9 Shift+F12 Show Refernces
10 F2 Rename Symbols
11 Ctrl+K Ctrl+X Trim trailing whitespace
12 Ctrl+K M Change file language
8
File Management
14
  Shortcut Key   Description
1 Ctrl+N New File
2 Ctrl+O Open File
3 Ctrl+S Save
4 Ctrl+Shift+S Save As
5 Ctrl+K S Save All
6 Ctrl+F4 Close
7 Ctrl+K Ctrl+W Close All
8 Ctrl+Shift+T Reopen closed editor
9 Ctrl+K Enter Keep preview mode editor open
10 Ctrl+Tab Open next
11 Ctrl+Shift+Tab Open previous
12 Ctrl+K P Copy path of active file
13 Ctrl+K R Reveal active file in explorer
14 Ctrl+K O Show active file in new window / instance
9
Debug
6
  Shortcut Key   Description
1 F9 Toogle breakpoint
2 F5 Start / Continue
3 Shift+F5 Stop
4 F11 / Shift+F11 Step into / out
5 F10 Step over
6 Ctrl+K Ctrl+L Show hover
10
Integrated Terminal
7
  Shortcut Key   Description
1 Ctrl+` Show integrated terminal
2 Ctrl+Shift+` Create new terminal
3 Ctrl+C Copy selection
4 Ctrl+V Paste into active terminal
5 Ctrl+ / Scroll up / down
6 Shift+PgUp / PgDn Scroll pageup / down
7 Ctrl+Home / End Scroll to top / bottom