-
Notifications
You must be signed in to change notification settings - Fork 87
/
toolspage-visualstudiocode-mac.html
149 lines (149 loc) · 8.26 KB
/
toolspage-visualstudiocode-mac.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<table id="myTable">
<tr><th colspan="2">General</th></tr>
<tbody>
<tr><td>Show Command Palette</td><td>⇧ ⌘ P, F1</td></tr>
<tr><td>Quick Open, Go to File…</td><td>⌘ P</td></tr>
<tr><td>New window/instance</td><td>⇧ ⌘ N</td></tr>
<tr><td>Close window/instance</td><td>⌘ W</td></tr>
<tr><td>User Settings</td><td>⌘ ,</td></tr>
<tr><td>Keyboard Shortcuts</td><td>⌘ K ⌘ S</td></tr>
</tbody>
<tr><th colspan="2">Basic editing</th></tr>
<tbody>
<tr><td>Cut line (empty selection)</td><td>⌘ X</td></tr>
<tr><td>Copy line (empty selection)</td><td>⌘ C</td></tr>
<tr><td>Move line down/up</td><td>⌥ ↓ / ⌥ ↑</td></tr>
<tr><td>Copy line down/up</td><td>⇧ ⌥ ↓ / ⇧ ⌥ ↑</td></tr>
<tr><td>Delete line</td><td>⇧ ⌘ K</td></tr>
<tr><td>Insert line below/above</td><td>⌘ ↩ / ⇧ ⌘ ↩ </td></tr>
<tr><td>Jump to matching bracket</td><td>⇧ ⌘ \</td></tr>
<tr><td>Indent/outdent line</td><td>⌘ ] / ⌘ [</td></tr>
<tr><td>Go to beginning/end of line</td><td>Home / End</td></tr>
<tr><td>Go to beginning/end of file</td><td>⌘ ↑ / ⌘ ↓</td></tr>
<tr><td>Scroll line up/down</td><td>⌃ PgUp / ⌃ PgDn</td></tr>
<tr><td>Scroll page up/down</td><td>⌘ PgUp /⌘ PgDn</td></tr>
<tr><td>Fold/unfold region</td><td>⌥ ⌘ [ / ⌥ ⌘ ]</td></tr>
<tr><td>Fold/unfold all subregions</td><td>⌘ K ⌘ [ / ⌘ K ⌘ ]</td></tr>
<tr><td>Fold/unfold all regions</td><td>⌘ K ⌘ 0 / ⌘ K ⌘ J</td></tr>
<tr><td>Add line comment</td><td>⌘ K ⌘ C</td></tr>
<tr><td>Remove line comment</td><td>⌘ K ⌘ U</td></tr>
<tr><td>Toggle line comment</td><td>⌘ /</td></tr>
<tr><td>Toggle block comment</td><td>⇧ ⌥ A</td></tr>
<tr><td>Toggle word wrap</td><td>⌥ Z</td></tr>
</tbody>
<tr><th colspan="2">Rich language editing</th></tr>
<tbody>
<tr><td>Trigger suggestion</td><td>⌃ Space</td></tr>
<tr><td>Trigger parameter hints</td><td>⇧ ⌘ Space</td></tr>
<tr><td>Format document</td><td>⇧ ⌥ F</td></tr>
<tr><td>Format selection</td><td>⌘ K ⌘ F</td></tr>
<tr><td>Go to Definition</td><td>F12</td></tr>
<tr><td>Peek Definition</td><td>⌥ F12</td></tr>
<tr><td>Open Definition to the side</td><td>⌘ K F12</td></tr>
<tr><td>Quick Fix</td><td>⌘ .</td></tr>
<tr><td>Show References</td><td>⇧ F12</td></tr>
<tr><td>Rename Symbol</td><td>F2</td></tr>
<tr><td>Trim trailing whitespace</td><td>⌘ K ⌘ X</td></tr>
<tr><td>Change file language</td><td>⌘ K M</td></tr>
</tbody>
<tr><th colspan="2">Navigation</th></tr>
<tbody>
<tr><td>Show all Symbols</td><td>⌘ T</td></tr>
<tr><td>Go to Line...</td><td>⌃ G</td></tr>
<tr><td>Go to File...</td><td>⌘ P</td></tr>
<tr><td>Go to Symbol...</td><td>⇧ ⌘ O</td></tr>
<tr><td>Show Problems panel</td><td>⇧ ⌘ M</td></tr>
<tr><td>Go to next/previous error or warning</td><td>F8 / ⇧ F8</td></tr>
<tr><td>Navigate editor group history</td><td>⌃ ⇧ Tab</td></tr>
<tr><td>Go back/forward</td><td>⌃ - / ⌃ ⇧ -</td></tr>
<tr><td>Toggle Tab moves focus</td><td>⌃ ⇧ M</td></tr>
</tbody>
<tr><th colspan="2">Editor management</th></tr>
<tbody>
<tr><td>Close editor</td><td>⌘ W</td></tr>
<tr><td>Close folder</td><td>⌘ K F</td></tr>
<tr><td>Split editor</td><td>⌘ \</td></tr>
<tr><td>Focus into 1st, 2nd, 3rd editor group</td><td>⌘ 1 / ⌘ 2 / ⌘ 3</td></tr>
<tr><td>Focus into previous/next editor group</td><td>⌘ K ⌘ ← / ⌘ K ⌘ →</td></tr>
<tr><td>Move editor left/right</td><td>⌘ K ⇧ ⌘ ← / ⌘ K ⇧ ⌘ →</td></tr>
<tr><td>Move active editor group</td><td>⌘ K ← / ⌘ K →</td></tr>
</tbody>
<tr><th colspan="2">Search and replace</th></tr>
<tbody>
<tr><td>Find</td><td>⌘ F</td></tr>
<tr><td>Replace</td><td>⌥ ⌘ F</td></tr>
<tr><td>Find next/previous</td><td>⌘ G / ⇧ ⌘ G</td></tr>
<tr><td>Select all occurrences of Find match</td><td>⌥ ↩ </td></tr>
<tr><td>Add selection to next Find match</td><td>⌘ D</td></tr>
<tr><td>Move last selection to next Find match</td><td>⌘ K ⌘ D</td></tr>
</tbody>
<tr><th colspan="2">Display</th></tr>
<tbody>
<tr><td>Toggle full screen</td><td>⌃ ⌘ F</td></tr>
<tr><td>Toggle editor layout (horizontal/vertical)</td><td>⌥ ⌘ 0</td></tr>
<tr><td>Zoom in/out</td><td>⌘ = / ⇧ ⌘ -</td></tr>
<tr><td>Toggle Sidebar visibility</td><td>⌘ B</td></tr>
<tr><td>Show Explorer / Toggle focus</td><td>⇧ ⌘ E</td></tr>
<tr><td>Show Search</td><td>⇧ ⌘ F</td></tr>
<tr><td>Show Source Control</td><td>⌃ ⇧ G</td></tr>
<tr><td>Show Debug</td><td>⇧ ⌘ D</td></tr>
<tr><td>Show Extensions</td><td>⇧ ⌘ X</td></tr>
<tr><td>Replace in files</td><td>⇧ ⌘ H</td></tr>
<tr><td>Toggle Search details</td><td>⇧ ⌘ J</td></tr>
<tr><td>Show Output panel</td><td>⇧ ⌘ U</td></tr>
<tr><td>Open Markdown preview</td><td>⇧ ⌘ V</td></tr>
<tr><td>Open Markdown preview to the side</td><td>⌘ K V</td></tr>
<tr><td>Zen Mode (Esc Esc to exit)</td><td>⌘ K Z</td></tr>
</tbody>
<tr><th colspan="2">File management</th></tr>
<tbody>
<tr><td>New File</td><td>⌘ N</td></tr>
<tr><td>Open File...</td><td>⌘ O</td></tr>
<tr><td>Save</td><td>⌘ S</td></tr>
<tr><td>Save As...</td><td>⇧ ⌘ S</td></tr>
<tr><td>Save All</td><td>⌥ ⌘ S</td></tr>
<tr><td>Close</td><td>⌘ W</td></tr>
<tr><td>Close All</td><td>⌘ K ⌘ W</td></tr>
<tr><td>Reopen closed editor</td><td>⇧ ⌘ T</td></tr>
<tr><td>Keep preview mode editor open</td><td>⌘ K ↩ </td></tr>
<tr><td>Open next / previous</td><td>⌃ Tab / ⌃ ⇧ Tab</td></tr>
<tr><td>Copy path of active file</td><td>⌘ K P</td></tr>
<tr><td>Reveal active file in Explorer</td><td>⌘ K R</td></tr>
<tr><td>Show active file in new window/instance</td><td>⌘ K O</td></tr>
</tbody>
<tr><th colspan="2">Debug</th></tr>
<tbody>
<tr><td>Toggle breakpoint</td><td>F9</td></tr>
<tr><td>Start/Continue</td><td>F5</td></tr>
<tr><td>Step into/ out</td><td>F11 / ⇧ F11</td></tr>
<tr><td>Step over</td><td>F10</td></tr>
<tr><td>Stop</td><td>⇧ F5</td></tr>
<tr><td>Show hover</td><td>⌘ K ⌘ I</td></tr>
</tbody>
<tr><th colspan="2">Integrated terminal</th></tr>
<tbody>
<tr><td>Show integrated terminal</td><td>⌃ `</td></tr>
<tr><td>Create new terminal</td><td>⌃ ⇧ `</td></tr>
<tr><td>Copy selection</td><td>⌘ C</td></tr>
<tr><td>Scroll up/down</td><td>⌘ ↑ / ↓</td></tr>
<tr><td>Scroll page up/down</td><td>PgUp / PgDn</td></tr>
<tr><td>Scroll to top/bottom</td><td>⌘ Home / End</td></tr>
</tbody>
<tr><th colspan="2">Multi-cursor selection</th></tr>
<tbody>
<tr><td>Insert cursor</td><td>⌥ + click</td></tr>
<tr><td>Insert cursor above</td><td>⌥ ⌘ ↑</td></tr>
<tr><td>Insert cursor below</td><td>⌥ ⌘ ↓</td></tr>
<tr><td>Undo last cursor operation</td><td>⌘ U</td></tr>
<tr><td>Insert cursor at end of each line selected</td><td>⇧ ⌥ I</td></tr>
<tr><td>Select current line</td><td>⌘ I</td></tr>
<tr><td>Select all occurrences of current selection</td><td>⇧ ⌘ L</td></tr>
<tr><td>Select all occurrences of current word</td><td>⌘ F2</td></tr>
<tr><td>Expand / shrink selection</td><td>⌃ ⇧ ⌘ → / ←</td></tr>
<tr><td>Column (box) selection</td><td>⇧ ⌥ + drag mouse</td></tr>
<tr><td>Column (box) selection up/down</td><td>⇧ ⌥ ⌘ ↑ / ↓</td></tr>
<tr><td>Column (box) selection left/right</td><td>⇧ ⌥ ⌘ ← / →</td></tr>
<tr><td>Column (box) selection page up</td><td>⇧ ⌥ ⌘ PgUp</td></tr>
<tr><td>Column (box) selection page down</td><td>⇧ ⌥ ⌘ PgDn</td></tr>
</tbody>
</table>