ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
ShortcutNote
2
Cmd + [Left-Click] = F12Go to function definition
3
Cmd + /Comment out current line/selected lines
4
Cmd + DSelect word or next occurrence
5
Cmd + EnterInsert line below
6
Cmd + FOpen the Find and Replace dialog
7
Ctrl + ` = Cmd+ JShow/Hide Terminal (& Switch the cursor between Terminal and code)
8
Ctrl + Shift + `Create a new Terminal window
9
Cmd + K 0Fold/Collapse open items
10
Cmd + K JUnfold/Expand closed items
11
Cmd + K SView all available keyboard shortcuts
12
Cmd + K ZToggle Zen mode (View > Appearance > Zen Mode/Centered Layout)
13
Cmd + K WClose all editors
14
Cmd + LSelect current line
15
Cmd + BToggle primary sidebar
16
Cmd + Opt + BToggle secondary sidebar
17
Cmd + PGo to file
18
Cmd + Shift + EnterInsert line above
19
Cmd + Shift + LMulti-cursor editing - it selects all matches in the current file to the currently highlighted text. Press "ESC" to disable it.
—
Bonus: Install the “Multiple Cursor Case Preserve” extension for Visual Studio Code. It ensures that when you’re editing text with multiple cursors, the case formatting—such as camelCase, UPPERCASE, or lowercase—is preserved. This is particularly useful when you need to rename variables or terms consistently without disrupting their original casing.
20
Cmd + Shift + POpen command palette
21
Cmd + Shift + FOpen Search panel
22
Cmd + Shift + EOpen the Explorer file tree and reveal the file you’re currently viewing.
23
Cmd + Shift + XOpen Extensions marketplace
24
Cmd + Shift + MOpen Problems panel (for linting errors, warnings, and diagnostics)
25
Ctrl + TabSwitch between tabs
26
F2Rename every occurrence of the same reference
27
Opt + [Left-Click]Put cursor on multiple lines simultaneously
28
Opt + ↑/↓Move line up/down (reordering). Holding it with Shift will copy/duplicate the line as well.
29
Opt + Shift + ↑/↓Duplicate the current line above/below
30
Opt + ShiftColumn/Box Selection: Select blocks of text by holding it while you drag your mouse.
31
Opt + Shift + ORemove unused imports, declarations, etc.
32
Cmd + Shift + OJump to a specific symbol (a function/class/variable/etc.) in the file
33
Cmd + \Split Editor Down (Vertical Split)
34
Cmd + K + \Split Editor Down (Horizontal Split)
35
Ctrl + [1-9]Switch to a specific editor/tab by number
36
Cmd + K Shift + EnterPin/unpin editor/tab
37
Cmd + Shift + [Move to previous terminal
38
Cmd + Shift + ]Move to next terminal
39
Cmd + Shift + \Shift focus from the terminal pane to the terminal tabs view
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100