神速快捷键 不接受反驳,alt+组合不需要脱靶,f j,而其他人的快捷键都脱靶了,这能快吗 我不信
这个原理和微信小程序一样拿的vscode 的东西改的.
但是我发现它改了很多东西,导致很多 when删掉了,我不删掉用不了,
另外
我真的是服了alt+o无法被修改了本来我的是alt+o 光标到末尾的.
后面发现又一个override,实际上就是不写的话会弹出多个触发操作让你选,
vscode, visual studio ,androdi studio ,idea ,rider ,xcode 微信小程序 eclipse 等我均发布了教程保持统一快捷键的习惯,这是全栈技术人的习惯.
[
//删除行
{
"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
}
]












网友评论