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
| // 使用当前快捷键设置覆盖默认设置 [ { "key": "alt+d", "command": "editor.action.deleteLines", "when": "editorFocus" }, { "key": "alt+w", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus" }, { "key": "alt+s", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus" }, { "key": "ctrl+shift+f", "command": "editor.action.format", "when": "editorTextFocus" }, { "key": "f7", "command": "workbench.action.debug.stepOut", "when": "inDebugMode" }, { "key": "alt+u", "command": "cursorHome", "when": "editorTextFocus" }, { "key": "alt+o", "command": "cursorEnd", "when": "editorTextFocus" }, { "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", "when": "editorTextFocus" }, { "key": "f5", "command": "workbench.action.debug.stepInto", "when": "inDebugMode" }, { "key": "alt+i", "command": "cursorUp", "when": "textInputFocus&& !parameterHintsVisible &&!suggestWidgetVisible" }, { "key": "alt+k", "command": "cursorDown", "when": "textInputFocus" }, { "key": "alt+j", "command": "cursorLeft", "when": "textInputFocus" }, { "key": "alt+l", "command": "cursorRight", "when": "textInputFocus" }, { "key": "alt+k", "command": "showNextParameterHint", "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "alt+k", "command": "showPrevParameterHint", "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "alt+k", "command": "selectNextSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" }, { "key": "alt+i", "command": "selectPrevSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" }, { "key": "alt+/", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, { "key": "shift+alt+r", "command": "renameFile", "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "alt+shift+r", "command": "editor.action.codeAction", "args": { "kind": "refactor.extract.function" }, "when": "editorTextFocus" }, { "key": "f2", "command": "-renameFile", "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "alt+shift+r", "command": "editor.action.changeAll", "when": "editorTextFocus && !editorReadonly" }, { "key": "ctrl+b", "command": "workbench.action.tasks.runTask", "args": "compileRun" } ]
|