A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Shortcut | Note | ||||||||||||||||||||||||
2 | Cmd + [Left-Click] = F12 | Go to function definition | ||||||||||||||||||||||||
3 | Cmd + / | Comment out current line/selected lines | ||||||||||||||||||||||||
4 | Cmd + D | Select word or next occurrence | ||||||||||||||||||||||||
5 | Cmd + Enter | Insert line below | ||||||||||||||||||||||||
6 | Cmd + F | Open the Find and Replace dialog | ||||||||||||||||||||||||
7 | Ctrl + ` = Cmd+ J | Show/Hide Terminal (& Switch the cursor between Terminal and code) | ||||||||||||||||||||||||
8 | Ctrl + Shift + ` | Create a new Terminal window | ||||||||||||||||||||||||
9 | Cmd + K 0 | Fold/Collapse open items | ||||||||||||||||||||||||
10 | Cmd + K J | Unfold/Expand closed items | ||||||||||||||||||||||||
11 | Cmd + K S | View all available keyboard shortcuts | ||||||||||||||||||||||||
12 | Cmd + K Z | Toggle Zen mode (View > Appearance > Zen Mode/Centered Layout) | ||||||||||||||||||||||||
13 | Cmd + K W | Close all editors | ||||||||||||||||||||||||
14 | Cmd + L | Select current line | ||||||||||||||||||||||||
15 | Cmd + B | Toggle primary sidebar | ||||||||||||||||||||||||
16 | Cmd + Opt + B | Toggle secondary sidebar | ||||||||||||||||||||||||
17 | Cmd + P | Go to file | ||||||||||||||||||||||||
18 | Cmd + Shift + Enter | Insert line above | ||||||||||||||||||||||||
19 | Cmd + Shift + L | Multi-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 + P | Open command palette | ||||||||||||||||||||||||
21 | Cmd + Shift + F | Open Search panel | ||||||||||||||||||||||||
22 | Cmd + Shift + E | Open the Explorer file tree and reveal the file you’re currently viewing. | ||||||||||||||||||||||||
23 | Cmd + Shift + X | Open Extensions marketplace | ||||||||||||||||||||||||
24 | Cmd + Shift + M | Open Problems panel (for linting errors, warnings, and diagnostics) | ||||||||||||||||||||||||
25 | Ctrl + Tab | Switch between tabs | ||||||||||||||||||||||||
26 | F2 | Rename 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 + Shift | Column/Box Selection: Select blocks of text by holding it while you drag your mouse. | ||||||||||||||||||||||||
31 | Opt + Shift + O | Remove unused imports, declarations, etc. | ||||||||||||||||||||||||
32 | Cmd + Shift + O | Jump 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 + Enter | Pin/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 |