简书链接:hbuilder快捷键自定义神速快捷键
文章字数:308,阅读全文大约需要1分钟
神速快捷键 不接受反驳,alt+组合不需要脱靶,f j,而其他人的快捷键都脱靶了,这能快吗 我不信
这个原理和微信小程序一样拿的vscode 的东西改的.
但是我发现它改了很多东西,导致很多 when删掉了,我不删掉用不了,
另外
我真的是服了alt+o无法被修改了本来我的是alt+o 光标到末尾的.
后面发现又一个override,实际上就是不写的话会弹出多个触发操作让你选,
vscode, visual studio ,androdi studio ,idea ,rider ,xcode 微信小程序 eclipse 等我均发布了教程保持统一快捷键的习惯,这是全栈技术人的习惯.

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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
[
//删除行
{
"key": "alt+d",
"command": "editor.action.deleteLines"
},
{
"key": "alt+w",
"command": "editor.action.moveLinesUpAction",
"override": true
},
//移动行到下一行
{
"key": "alt+s",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+f",
"command": "editor.action.format",
"override": true
},

{
"key": "f7",
"command": "workbench.action.debug.stepOut",
"when": "inDebugMode"
},
//光标到行首
{
"key": "alt+u",
"command": "cursorHome",
"when": "editorTextFocus"
},
//光标到行尾
{
"key": "alt+o",
"command": "cursorEnd",
"override": true
},

{
"key": "ctrl+j",
"command": "workbench.action.gotoLine"
},
{
"key": "f6",
"command": "workbench.action.debug.stepOver",
"when": "inDebugMode"
},
{
"key": "shift+s",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus"
},
//在当前行上插一行
{
"key": "shift+w",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus"

},
//向下复制一行 不生效了
{
"key": "alt+n",
"command": "editor.action.copyLinesDownAction"

}, //复制并重复插入当前行
{
"key": "alt+n",
"command": "editor.action.duplicate",
"override": true
},
{
"key": "f5",
"command": "workbench.action.debug.stepInto",
"when": "inDebugMode"
},
//重命名
{
"key": "shift+alt+r",
"command": "editor.action.rename",
"when": "editorTextFocus"
},
{
//光标到上一行 保持坐标x不变
"key": "alt+i",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "alt+k",
"command": "cursorDown",
"when": "textInputFocus",
"override": true
},
{
"key": "alt+j",
"command": "cursorLeft"

,
"override": true
},
{
"key": "alt+l",
"command": "cursorRight"

},
{

"key": "ctrl+enter",
"command": "-notebook.cell.insertCodeCellBelow",
"when": "notebookCellListFocused && !inputFocus"
},
{
"key": "alt+p",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly",
"override": true
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},

{
"key": "shift+alt+c",
"command": "flutter-widget-wrap.wrapInChildrenWidget",
"when": "editorTextFocus"
},
{
"key": "alt+c",
"command": "-flutter-widget-wrap.wrapInChildrenWidget",
"when": "editorTextFocus"
},
{
"key": "shift+alt+b",
"command": "-gitlens.toggleCodeLens",
"when": "editorTextFocus && !gitlens:disabled && !gitlens:disabledToggleCodeLens && config.gitlens.keymap == 'alternate'"
},
{
"key": "shift+alt+b",
"command": "-java.workspace.compile"
},
//光标上移
{
"key": "alt+i",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "up",
"command": "-selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},

{
"key": "down",
"command": "-showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
//移动光标到下一行,保持x坐标不变
{
"key": "alt+k",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "down",
"command": "-selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+s",
"command": "-issue.createIssueFromFile",
"when": "!issues.creatingFromFile && resourceScheme == 'newIssue' && config.files.autoSave != 'off'"
},
{
"key": "ctrl+b",
"command": "workbench.action.tasks.runTask",
"args": "compileRun"
},
{
"key": "alt+oem_2",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_period",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+enter",
"command": "problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "ctrl+oem_period",
"command": "-problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "alt+oem_period",
"command": "editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "shift+alt+oem_period",
"command": "-editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "alt+oem_period",
"command": "-auto-close-tag.closeTag"
},
{
"key": "alt+oem_period",
"command": "-gitlens.diffWithNext",
"when": "editorTextFocus && !isInDiffEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "alt+oem_period",
"command": "-gitlens.diffWithNextInDiffLeft",
"when": "editorTextFocus && isInDiffEditor && !isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "alt+oem_period",
"command": "-gitlens.diffWithNextInDiffRight",
"when": "editorTextFocus && isInDiffRightEditor && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "shift+alt+oem_period",
"command": "-gitlens.diffWithWorking",
"when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /revision/"
},
{
"key": "ctrl+shift+oem_2",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+p",
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "ctrl+shift+space",

"command": "-editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "alt+p",
"command": "-toggleSearchPreserveCase",
"when": "searchViewletFocus"
},
{
"key": "alt+p",
"command": "-keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "alt+p",
"command": "-togglePreserveCase",
"when": "editorFocus"
},
{
"key": "alt+oem_period",
"command": "-gitlens.key.alt+.",
"when": "gitlens:key:."
},
{
"key": "alt+oem_comma",
"command": "-gitlens.key.alt+,",
"when": "gitlens:key:,"
},
{
"key": "alt+oem_2",
"command": "-gitlens.gitCommands",
"when": "!gitlens:disabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "alt+enter",
"command": "-testing.editFocusedTest",
"when": "focusedView == 'workbench.view.testing'"
},
{
"key": "alt+enter",
"command": "-jupyter.runcurrentcellandaddbelow",
"when": "editorTextFocus && jupyter.hascodecells && !editorHasSelection && !notebookEditorFocused"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "-search.action.openInEditor",
"when": "hasSearchResult && searchViewletFocus"
},
{
"key": "alt+enter",
"command": "-notebook.cell.executeAndInsertBelow",
"when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0"
},
{
"key": "shift+alt+p",
"command": "editor.actions.findWithArgs"
},
{
"key": "shift+alt+k",
"command": "selectNextPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "pagedown",
"command": "-selectNextPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "alt+enter",
"command": "insertNextSuggestion",
"when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "tab",
"command": "-insertNextSuggestion",
"when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "ctrl+down",
"command": "-selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+up",
"command": "-selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "alt+k",
"command": "list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "down",
"command": "-list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "alt+k",
"command": "interactive.history.next",
"when": "!suggestWidgetVisible && resourceScheme == 'vscode-interactive' && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'"
},
{
"key": "down",
"command": "-interactive.history.next",
"when": "!suggestWidgetVisible && resourceScheme == 'vscode-interactive' && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'"
},
{
"key": "alt+k",
"command": "history.showNext",
"when": "historyNavigationForwardsEnabled && historyNavigationWidget && !suggestWidgetVisible"
},
{
"key": "down",
"command": "-history.showNext",
"when": "historyNavigationForwardsEnabled && historyNavigationWidget && !suggestWidgetVisible"
},
{
"key": "alt+k",
"command": "notifications.focusNextToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "down",
"command": "-notifications.focusNextToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "alt+k",
"command": "notebook.focusNextEditor",
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'"
},
{
"key": "down",
"command": "-notebook.focusNextEditor",
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'"
},
{
"key": "alt+k",
"command": "breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "down",
"command": "-breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "shift+alt+k",
"command": "settings.action.focusSettingsFile",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "down",
"command": "cursorDown"
},
{
"key": "alt+k",
"command": "cursorDown"

,
"override": true
},
{
"key": "down",
"command": "-workbench.statusBar.focusNext",
"when": "statusBarFocused"
},
{
"key": "alt+k",
"command": "workbench.banner.focusNextAction",
"when": "bannerFocused"
},
{
"key": "down",
"command": "-workbench.banner.focusNextAction",
"when": "bannerFocused"
},
{
"key": "alt+k",
"command": "workbench.action.interactivePlayground.arrowDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "down",
"command": "-workbench.action.interactivePlayground.arrowDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "alt+k",
"command": "settings.action.focusSettingsFromSearch",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "down",
"command": "-settings.action.focusSettingsFromSearch",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "alt+k",
"command": "scm.viewNextCommit",
"when": "scmInputIsInLastPosition && scmRepository && !suggestWidgetVisible"
},
{
"key": "down",
"command": "-scm.viewNextCommit",
"when": "scmInputIsInLastPosition && scmRepository && !suggestWidgetVisible"
},
{
"key": "shift+alt+i",
"command": "selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "pageup",
"command": "-selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+pageup",
"command": "-selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},

//折叠所有行
{
"key": "alt+[",
"override": true,
"command": "workbench.action.foldAllContract"
},
//展开所有行
{
"key": "alt+]",
"command": "workbench.action.foldAllExpand",
"override": true
}
]