-
Notifications
You must be signed in to change notification settings - Fork 0
/
vscode_shortcuts.html
278 lines (270 loc) · 7.58 KB
/
vscode_shortcuts.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>VS Code ショートカット</title>
<style>
#container {
max-width: 1070px;
margin: 0 auto;
}
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
text-align: left;
}
table th,
table td {
padding: 10px;
}
table tr:nth-child(odd) {
background-color: #eee;
}
.bold {
font-weight: 600;
}
.imp {
color: red;
}
.sp {
font-weight: 600;
font-size: 1.4em;
text-decoration: underline;
text-align: center;
background-color: #d5d5d5;
}
</style>
</head>
<body>
<div id="container">
<h1>VS Code ショートカット</h1>
<table>
<thead>
<tr>
<th>操作概要</th>
<th>Windows</th>
<th>macOS</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3" class="sp">全般</td>
</tr>
<tr>
<td>すべてのコマンドの表示</td>
<td>Ctrl+Shift+P, F1</td>
<td>⇧⌘P, F1</td>
</tr>
<tr>
<td>クイックオープン</td>
<td>Ctrl+P</td>
<td>⌘P</td>
</tr>
<tr>
<td>キーボード ショートカットを開く</td>
<td>Ctrl+K Ctrl+S</td>
<td>⌘K ⌘S</td>
</tr>
<tr class="bold imp">
<td>
直近で開いたファイルを表示
</td>
<td>Ctrl+Tab</td>
<td>⌃Tab</td>
</tr>
<tr>
<td colspan="3" class="sp">編集</td>
</tr>
<tr class="bold imp">
<td>コードの整形</td>
<td>Shift+Alt+F</td>
<td>⇧⌥F</td>
</tr>
<tr class="bold">
<td>(選択範囲なしで)行の切り取り</td>
<td>Ctrl+X</td>
<td>⌘X</td>
</tr>
<tr>
<td>(選択範囲なしで)行のコピー</td>
<td>Ctrl+C</td>
<td>⌘C</td>
</tr>
<tr class="bold imp">
<td>行を下へ移動</td>
<td>Alt+↓</td>
<td>⌥↓</td>
</tr>
<tr class="bold imp">
<td>行を上へ移動</td>
<td>Alt+↑</td>
<td>⌥↑</td>
</tr>
<tr class="bold imp">
<td>行を下へコピー</td>
<td>Shift+Alt+↓</td>
<td>⇧⌥↓</td>
</tr>
<tr class="bold imp">
<td>行を上へコピー</td>
<td>Shift+Alt+↑</td>
<td>⇧⌥↑</td>
</tr>
<tr class="bold imp">
<td>行の削除</td>
<td>Ctrl+Shift+K</td>
<td>⇧⌘K</td>
</tr>
<tr>
<td>行を下に挿入</td>
<td>Ctrl+Enter</td>
<td>⌘Enter</td>
</tr>
<tr>
<td>行のインデント追加</td>
<td>Ctrl+]</td>
<td>⌘]</td>
</tr>
<tr>
<td>行のインデント削除</td>
<td>Ctrl+[</td>
<td>⌘[</td>
</tr>
<tr>
<td>名前を変更</td>
<td>F2</td>
<td>F2</td>
</tr>
<tr class="bold">
<td>補完候補を開く</td>
<td>Ctrl+Space</td>
<td>⌃Space</td>
</tr>
<tr>
<td colspan="3" class="sp">選択</td>
</tr>
<tr class="bold">
<td>矩形選択(マウス選択)</td>
<td>Shift+Alt+ドラッグ</td>
<td>⇧⌥+ドラッグ</td>
</tr>
<tr>
<td>矩形選択(キーボード選択)</td>
<td>Ctrl+Shift+Alt+方向キー</td>
<td>⇧⌥⌘+方向キー</td>
</tr>
<tr class="bold imp">
<td>選択範囲と同じ文字列の複数指定</td>
<td>Ctrl+D</td>
<td>⌘D</td>
</tr>
<tr>
<td colspan="3" class="sp">移動</td>
</tr>
<tr>
<td>行の先頭に移動</td>
<td>Home</td>
<td>Home</td>
</tr>
<tr>
<td>行の最後に移動</td>
<td>End</td>
<td>End</td>
</tr>
<tr>
<td>ファイルの先頭に移動</td>
<td>Ctrl+Home</td>
<td>⌘↑</td>
</tr>
<tr>
<td>ファイルの末尾に移動</td>
<td>Ctrl+End</td>
<td>⌘↓</td>
</tr>
<tr class="bold imp">
<td>行コメントの切り替え</td>
<td>Ctrl+/</td>
<td>⌘/</td>
</tr>
<tr>
<td>指定行へ移動</td>
<td>Ctrl+G</td>
<td>⌃G</td>
</tr>
<tr class="bold">
<td>ファイルに移動</td>
<td>Ctrl+P</td>
<td>⌘P</td>
</tr>
<tr class="bold">
<td>前に戻る</td>
<td>Alt+←</td>
<td>⌃-</td>
</tr>
<tr class="bold">
<td>次に進む</td>
<td>Alt+→</td>
<td>⌃⇧-</td>
</tr>
<tr>
<td colspan="3" class="sp">検索</td>
</tr>
<tr class="bold">
<td>ファイル内検索</td>
<td>Ctrl+F</td>
<td>⌘F</td>
</tr>
<tr>
<td>ファイル内置換</td>
<td>Ctrl+H</td>
<td>⌥⌘F</td>
</tr>
<tr class="bold imp">
<td>次を検索</td>
<td>F3</td>
<td>⌘G</td>
</tr>
<tr>
<td>前を検索</td>
<td>Shift+F3</td>
<td>⇧⌘G</td>
</tr>
<tr class="bold">
<td>プロジェクト内検索</td>
<td>Ctrl+Shift+F</td>
<td>⇧⌘F</td>
</tr>
<tr>
<td colspan="3" class="sp">パネル操作</td>
</tr>
<tr class="bold imp">
<td>サイドバーの表示/非表示</td>
<td>Ctrl+B</td>
<td>⌘B</td>
</tr>
<tr class="bold imp">
<td>ターミナルの表示/非表示</td>
<td>Ctrl+@</td>
<td>⌃@</td>
</tr>
<tr>
<td>新しく統合ターミナルを表示</td>
<td>Ctrl+Shift+@</td>
<td>⌃⇧@</td>
</tr>
<tr>
<td>エクスプローラーの表示</td>
<td>Ctrl+Shift+E</td>
<td>⇧⌘E</td>
</tr>
</tbody>
</table>
<a target="_blank" href="https://qiita.com/oruponu/items/ae9c720d4522c1606daf"
>参考:Visual Studio Code キーボード ショートカット</a
>
</div>
</body>
</html>