diff --git a/package.json b/package.json index ea6e67b..74f27b2 100644 --- a/package.json +++ b/package.json @@ -117,8 +117,8 @@ "intellij": "Next Template Variable or Finish In-Place Refactoring" }, { - "key": "ctrl+shift+[Enter]", - "mac": "cmd+shift+[Enter]", + "key": "ctrl+shift+enter", + "mac": "cmd+shift+enter", "command": "acceptSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus", "intellij": "Complete statement" @@ -138,7 +138,7 @@ "intellij": "Quick documentation lookup" }, { - "mac": "[F1]", + "mac": "f1", "command": "editor.action.showHover", "when": "editorTextFocus", "intellij": "Quick documentation lookup" @@ -146,21 +146,21 @@ { - "key": "ctrl+[F1]", - "mac": "cmd+[F1]", + "key": "ctrl+f1", + "mac": "cmd+f1", "command": "workbench.action.showErrorsWarnings", "when": "editorTextFocus", "intellij": "Show descriptions of error or warning at caret" }, { - "key": "alt+[Insert]", + "key": "alt+insert", "mac": "cmd+n", "command": "editor.action.sourceAction", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly", "intellij": "Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)" }, { - "key": "alt+[Insert]", + "key": "alt+insert", "mac": "cmd+n", "command": "workbench.action.files.newUntitledFile", "when": "(!editorHasCodeActionsProvider && editorTextFocus) || !editorTextFocus", @@ -193,70 +193,70 @@ "intellij": "Open in Opposite Group" }, { - "key": "ctrl+[Slash]", - "mac": "cmd+[Slash]", + "key": "ctrl+/", + "mac": "cmd+/", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with line comment" }, { - "key": "ctrl+[NumpadDivide]", - "mac": "cmd+[NumpadDivide]", + "key": "ctrl+numpad_divide", + "mac": "cmd+numpad_divide", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with line comment" }, { - "key": "ctrl+shift+[Slash]", - "mac": "cmd+alt+[Slash]", + "key": "ctrl+shift+/", + "mac": "cmd+alt+/", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with block comment" }, { - "key": "ctrl+shift+[NumpadDivide]", - "mac": "cmd+alt+[NumpadDivide]", + "key": "ctrl+shift+numpad_divide", + "mac": "cmd+alt+numpad_divide", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with block comment" }, { "key": "ctrl+w", - "mac": "alt+[ArrowUp]", + "mac": "alt+up", "command": "editor.action.smartSelect.grow", "when": "editorTextFocus", "intellij": "Select successively increasing code blocks" }, { - "mac": "alt+[ArrowUp]", + "mac": "alt+up", "command": "notebook.cell.moveUp", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { "key": "ctrl+shift+w", - "mac": "alt+[ArrowDown]", + "mac": "alt+down", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus", "intellij": "Decrease current selection to previous state" }, { - "mac": "alt+[ArrowDown]", + "mac": "alt+down", "command": "notebook.cell.moveDown", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "alt+[Enter]", - "mac": "alt+[Enter]", + "key": "alt+enter", + "mac": "alt+enter", "command": "editor.action.quickFix", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly", "intellij": "Show intention actions and quick-fixes" }, { - "key": "alt+[Enter]", - "mac": "alt+[Enter]", + "key": "alt+enter", + "mac": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", "notebook": "To keep Notebook key bindings" @@ -314,8 +314,8 @@ "intellij": "Cut current line or selected block to clipboard" }, { - "key": "shift+[Delete]", - "mac": "cmd+[Delete]", + "key": "shift+delete", + "mac": "cmd+delete", "command": "editor.action.clipboardCutAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Cut current line or selected block to clipboard" @@ -339,7 +339,7 @@ }, { "key": "ctrl+y", - "mac": "cmd+[Backspace]", + "mac": "cmd+backspace", "command": "editor.action.deleteLines", "when": "editorTextFocus && !editorReadonly", "intellij": "Delete line at caret" @@ -352,29 +352,29 @@ "intellij": "Smart line join" }, { - "key": "ctrl+[Enter]", - "mac": "cmd+[Enter]", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "lineBreakInsert", "when": "editorTextFocus && !editorReadonly", "intellij": "Smart line split" }, { - "key": "ctrl+[Enter]", - "mac": "cmd+[Enter]", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "notebook.cell.insertCodeCellBelow", "when": "notebookCellListFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "shift+[Enter]", - "mac": "shift+[Enter]", + "key": "shift+enter", + "mac": "shift+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly && !notebookEditorFocused", "intellij": "Start new line" }, { - "key": "shift+[Enter]", - "mac": "shift+[Enter]", + "key": "shift+enter", + "mac": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", "notebook": "To keep Notebook key bindings" @@ -383,182 +383,182 @@ { - "key": "ctrl+[ArrowRight]", - "mac": "alt+[ArrowRight]", + "key": "ctrl+right", + "mac": "alt+right", "command": "cursorWordRight", "when": "editorTextFocus && !inlineSuggestionVisible && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to word end" }, { - "key": "ctrl+[ArrowRight]", - "mac": "alt+[ArrowRight]", + "key": "ctrl+right", + "mac": "alt+right", "command": "cursorWordPartRight", "when": "editorTextFocus && !inlineSuggestionVisible && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to hump end" }, { - "key": "ctrl+[ArrowLeft]", - "mac": "alt+[ArrowLeft]", + "key": "ctrl+left", + "mac": "alt+left", "command": "cursorWordLeft", "when": "editorTextFocus && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to word start" }, { - "key": "ctrl+[ArrowLeft]", - "mac": "alt+[ArrowLeft]", + "key": "ctrl+left", + "mac": "alt+left", "command": "cursorWordPartStartLeft", "when": "editorTextFocus && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to hump start" }, { - "key": "ctrl+shift+[ArrowRight]", - "mac": "alt+shift+[ArrowRight]", + "key": "ctrl+shift+right", + "mac": "alt+shift+right", "command": "cursorWordRightSelect", "when": "editorTextFocus && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to word end" }, { - "key": "ctrl+shift+[ArrowRight]", - "mac": "alt+shift+[ArrowRight]", + "key": "ctrl+shift+right", + "mac": "alt+shift+right", "command": "cursorWordPartRightSelect", "when": "editorTextFocus && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to hump end" }, { - "key": "ctrl+shift+[ArrowLeft]", - "mac": "alt+shift+[ArrowLeft]", + "key": "ctrl+shift+left", + "mac": "alt+shift+left", "command": "cursorWordLeftSelect", "when": "editorTextFocus && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to word start" }, { - "key": "ctrl+shift+[ArrowLeft]", - "mac": "alt+shift+[ArrowLeft]", + "key": "ctrl+shift+left", + "mac": "alt+shift+left", "command": "cursorWordPartStartLeftSelect", "when": "editorTextFocus && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to hump start" }, { - "key": "ctrl+[Delete]", - "mac": "alt+[Delete]", + "key": "ctrl+delete", + "mac": "alt+delete", "command": "deleteWordRight", "when": "editorTextFocus && !editorReadonly && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to word end" }, { - "key": "ctrl+[Delete]", - "mac": "alt+[Delete]", + "key": "ctrl+delete", + "mac": "alt+delete", "command": "deleteWordPartRight", "when": "editorTextFocus && !editorReadonly && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to hump end" }, { - "key": "ctrl+[Backspace]", - "mac": "alt+[Backspace]", + "key": "ctrl+backspace", + "mac": "alt+backspace", "command": "deleteWordLeft", "when": "editorTextFocus && !editorReadonly && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to word start" }, { - "key": "ctrl+[Backspace]", - "mac": "alt+[Backspace]", + "key": "ctrl+backspace", + "mac": "alt+backspace", "command": "deleteWordPartLeft", "when": "editorTextFocus && !editorReadonly && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to hump start" }, { - "key": "ctrl+[Period]", - "mac": "cmd+[Period]", + "key": "ctrl+.", + "mac": "cmd+.", "command": "editor.toggleFold", "when": "editorFocus && foldingEnabled", "intellij": "Fold selection" }, { - "key": "ctrl+[Equal]", - "mac": "cmd+[Equal]", + "key": "ctrl+=", + "mac": "cmd+=", "command": "editor.unfold", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block" }, { - "key": "ctrl+[NumpadAdd]", - "mac": "cmd+[NumpadAdd]", + "key": "ctrl+numpad_add", + "mac": "cmd+numpad_add", "command": "editor.unfold", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block" }, { - "key": "ctrl+[Minus]", - "mac": "cmd+[Minus]", + "key": "ctrl+-", + "mac": "cmd+-", "command": "editor.fold", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block" }, { - "key": "ctrl+[NumpadSubtract]", - "mac": "cmd+[NumpadSubtract]", + "key": "ctrl+numpad_subtract", + "mac": "cmd+numpad_subtract", "command": "editor.fold", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block" }, { - "key": "ctrl+alt+[Equal]", - "mac": "cmd+alt+[Equal]", + "key": "ctrl+alt+=", + "mac": "cmd+alt+=", "command": "editor.unfoldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block recursively" }, { - "key": "ctrl+alt+[NumpadAdd]", - "mac": "cmd+alt+[NumpadAdd]", + "key": "ctrl+alt+numpad_add", + "mac": "cmd+alt+numpad_add", "command": "editor.unfoldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block recursively" }, { - "key": "ctrl+alt+[Minus]", - "mac": "cmd+alt+[Minus]", + "key": "ctrl+alt+-", + "mac": "cmd+alt+-", "command": "editor.foldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block recursively" }, { - "key": "ctrl+alt+[NumpadSubtract]", - "mac": "cmd+alt+[NumpadSubtract]", + "key": "ctrl+alt+numpad_subtract", + "mac": "cmd+alt+numpad_subtract", "command": "editor.foldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block recursively" }, { - "key": "ctrl+shift+[Equal]", - "mac": "cmd+shift+[Equal]", + "key": "ctrl+shift+=", + "mac": "cmd+shift+=", "command": "editor.unfoldAll", "when": "editorFocus && foldingEnabled", "intellij": "Expand all" }, { - "key": "ctrl+shift+[NumpadAdd]", - "mac": "cmd+shift+[NumpadAdd]", + "key": "ctrl+shift+numpad_add", + "mac": "cmd+shift+numpad_add", "command": "editor.unfoldAll", "when": "editorFocus && foldingEnabled", "intellij": "Expand all" }, { - "key": "ctrl+shift+[Minus]", - "mac": "cmd+shift+[Minus]", + "key": "ctrl+shift+-", + "mac": "cmd+shift+-", "command": "editor.foldAll", "when": "editorFocus && foldingEnabled", "intellij": "Collapse all" }, { - "key": "ctrl+shift+[NumpadSubtract]", - "mac": "cmd+shift+[NumpadSubtract]", + "key": "ctrl+shift+numpad_subtract", + "mac": "cmd+shift+numpad_subtract", "command": "editor.foldAll", "when": "editorFocus && foldingEnabled", "intellij": "Collapse all" }, { - "key": "ctrl+[F4]", + "key": "ctrl+f4", "mac": "cmd+w", "command": "workbench.action.closeActiveEditor", "intellij": "Close active editor tab" @@ -578,42 +578,42 @@ "intellij": "Unselect Occurrence" }, { - "key": "shift+alt+[ArrowDown]", - "mac": "shift+alt+[ArrowDown]", + "key": "shift+alt+down", + "mac": "shift+alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Line Down" }, { - "key": "shift+alt+[ArrowDown]", - "mac": "shift+alt+[ArrowDown]", + "key": "shift+alt+down", + "mac": "shift+alt+down", "command": "notebook.cell.copyDown", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "shift+alt+[ArrowUp]", - "mac": "shift+alt+[ArrowUp]", + "key": "shift+alt+up", + "mac": "shift+alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Line Up" }, { - "key": "shift+alt+[Insert]", - "mac": "shift+cmd+[Digit8]", + "key": "shift+alt+insert", + "mac": "shift+cmd+8", "command": "editor.action.toggleColumnSelection", "intellij": "Column Selection Mode" }, { - "key": "shift+alt+[Period]", - "mac": "shift+ctrl+[Period]", + "key": "shift+alt+.", + "mac": "shift+ctrl+.", "command": "editor.action.fontZoomIn", "when": "editorTextFocus", "intellij": "Increase Font Size in All Editors" }, { - "key": "shift+alt+[Comma]", - "mac": "shift+ctrl+[Comma]", + "key": "shift+alt+,", + "mac": "shift+ctrl+,", "command": "editor.action.fontZoomOut", "when": "editorTextFocus", "intellij": "Decrease Font Size in All Editors" @@ -634,7 +634,7 @@ "intellij": "Find next" }, { - "key": "shift+[F3]", + "key": "shift+f3", "mac": "cmd+shift+g", "command": "editor.action.previousMatchFindAction", "when": "editorFocus", @@ -671,15 +671,15 @@ { - "key": "alt+[F7]", - "mac": "alt+[F7]", + "key": "alt+f7", + "mac": "alt+f7", "command": "references-view.findReferences", "when": "editorHasReferenceProvider", "intellij": "Find usages" }, { - "key": "alt+ctrl+[F7]", - "mac": "alt+cmd+[F7]", + "key": "alt+ctrl+f7", + "mac": "alt+cmd+f7", "command": "editor.action.referenceSearch.trigger", "when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor", "intellij": "Show usages" @@ -689,34 +689,34 @@ { - "key": "ctrl+[F9]", - "mac": "cmd+[F9]", + "key": "ctrl+f9", + "mac": "cmd+f9", "command": "workbench.action.tasks.build", "intellij": "Make project (compile modifed and dependent)" }, { - "key": "alt+shift+[F10]", + "key": "alt+shift+f10", "mac": "ctrl+alt+r", "command": "workbench.action.tasks.runTask", "when": "taskCommandsRegistered && !terminalFocus", "intellij": "Select configuration and run" }, { - "key": "alt+shift+[F9]", + "key": "alt+shift+f9", "mac": "ctrl+alt+d", "command": "workbench.view.debug", "intellij": "Select configuration and debug" }, { - "key": "shift+[F10]", + "key": "shift+f10", "mac": "ctrl+r", "command": "workbench.action.tasks.reRunTask", "when": "taskCommandsRegistered && !terminalFocus", "intellij": "Run" }, { - "key": "shift+[F9]", + "key": "shift+f9", "mac": "ctrl+d", "command": "workbench.action.debug.run", "when": "debuggersAvailable && !inDebugMode && !terminalFocus", @@ -726,8 +726,8 @@ { - "key": "ctrl+[F2]", - "mac": "cmd+[F2]", + "key": "ctrl+f2", + "mac": "cmd+f2", "command": "workbench.action.debug.stop", "when": "inDebugMode && !focusedSessionIsAttach", "intellij": "Stop" @@ -748,29 +748,29 @@ }, { - "key": "shift+[F8]", - "mac": "shift+[F8]", + "key": "shift+f8", + "mac": "shift+f8", "command": "workbench.action.debug.stepOut", "when": "debugState == 'stopped'", "intellij": "Step out" }, { - "key": "alt+[F9]", - "mac": "alt+[F9]", + "key": "alt+f9", + "mac": "alt+f9", "command": "editor.debug.action.runToCursor", "when": "debugState == 'stopped'", "intellij": "Run to cursor" }, { - "key": "alt+[F8]", - "mac": "alt+[F8]", + "key": "alt+f8", + "mac": "alt+f8", "command": "workbench.debug.action.toggleRepl", "when": "debuggersAvailable", "intellij": "Evaluate expression" }, { - "key": "alt+[F8]", - "mac": "alt+[F8]", + "key": "alt+f8", + "mac": "alt+f8", "command": "editor.debug.action.selectionToRepl", "when": "debuggersAvailable && editorTextFocus && editorHasSelection", "intellij": "Evaluate expression (selection)" @@ -783,15 +783,15 @@ "intellij": "Resume program" }, { - "key": "ctrl+[F8]", - "mac": "cmd+[F8]", + "key": "ctrl+f8", + "mac": "cmd+f8", "command": "editor.debug.action.toggleBreakpoint", "when": "debuggersAvailable && editorTextFocus", "intellij": "Toggle breakpoint" }, { - "key": "ctrl+shift+[F8]", - "mac": "cmd+shift+[F8]", + "key": "ctrl+shift+f8", + "mac": "cmd+shift+f8", "command": "workbench.debug.action.focusBreakpointsView", "intellij": "View breakpoints" }, @@ -816,8 +816,8 @@ "intellij": "Go to symbol" }, { - "key": "alt+[ArrowLeft]", - "mac": "ctrl+[ArrowLeft]", + "key": "alt+left", + "mac": "ctrl+left", "command": "workbench.action.previousEditor", "intellij": "Go to previous editor tab" }, @@ -828,8 +828,8 @@ "intellij": "Go to previous editor tab" }, { - "key": "alt+[ArrowRight]", - "mac": "ctrl+[ArrowRight]", + "key": "alt+right", + "mac": "ctrl+right", "command": "workbench.action.nextEditor", "intellij": "Go to next editor tab" }, @@ -842,37 +842,37 @@ { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.action.toggleSidebarVisibility", "when": "!editorFocus && !terminalFocus && !problemFocus && !inDebugRepl", "intellij": "Hide active or last active window (Sidebar)" }, { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.actions.view.problems", "intellij": "Hide active or last active window (Problems)" }, { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.debug.action.toggleRepl", "when": "debuggersAvailable", "intellij": "Hide active or last active window (Debug Console)" }, { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.action.terminal.toggleTerminal", "intellij": "Hide active or last active window (Terminal)" }, { - "key": "ctrl+shift+[Quote]", - "mac": "cmd+shift+[Quote]", + "key": "ctrl+shift+'", + "mac": "cmd+shift+'", "command": "workbench.action.toggleMaximizedPanel", "when": "problemFocus || focusedView == 'workbench.panel.output' || inDebugRepl || terminalFocus", "intellij": "Maximize Tool Window (Problems, Output, Debug Console, Terminal)" @@ -903,13 +903,13 @@ "when": "inQuickOpen" }, { - "key": "ctrl+alt+[ArrowLeft]", - "mac": "cmd+alt+[ArrowLeft]", + "key": "ctrl+alt+left", + "mac": "cmd+alt+left", "command": "-workbench.action.moveEditorToPreviousGroup" }, { - "key": "ctrl+alt+[ArrowLeft]", - "mac": "cmd+alt+[ArrowLeft]", + "key": "ctrl+alt+left", + "mac": "cmd+alt+left", "command": "workbench.action.navigateBack", "when": "canNavigateBack", "intellij": "Navigate back" @@ -927,13 +927,13 @@ "intellij": "Navigate back" }, { - "key": "ctrl+alt+[ArrowRight]", - "mac": "cmd+alt+[ArrowRight]", + "key": "ctrl+alt+right", + "mac": "cmd+alt+right", "command": "-workbench.action.moveEditorToNextGroup" }, { - "key": "ctrl+alt+[ArrowRight]", - "mac": "cmd+alt+[ArrowRight]", + "key": "ctrl+alt+right", + "mac": "cmd+alt+right", "command": "workbench.action.navigateForward", "when": "canNavigateForward", "intellij": "Navigate forward" @@ -946,8 +946,8 @@ "intellij": "Navigate forward" }, { - "key": "ctrl+shift+[Backspace]", - "mac": "cmd+shift+[Backspace]", + "key": "ctrl+shift+backspace", + "mac": "cmd+shift+backspace", "command": "workbench.action.navigateToLastEditLocation", "intellij": "Navigate to last edit location" }, @@ -975,7 +975,7 @@ }, { "key": "ctrl+shift+i", - "mac": "alt+[Space]", + "mac": "alt+space", "command": "editor.action.previewDeclaration", "intellij": "Open quick definition lookup" }, @@ -1012,14 +1012,14 @@ { - "key": "alt+[Digit7]", - "mac": "cmd+[Digit7]", + "key": "alt+7", + "mac": "cmd+7", "command": "outline.focus", "intellij": "Structure" }, { - "key": "ctrl+[F12]", - "mac": "cmd+[F12]", + "key": "ctrl+f12", + "mac": "cmd+f12", "command": "workbench.action.gotoSymbol", "when": "editorTextFocus", "intellij": "File structure popup" @@ -1052,8 +1052,8 @@ "intellij": "Next highlighted error" }, { - "key": "shift+[F2]", - "mac": "shift+[F2]", + "key": "shift+f2", + "mac": "shift+f2", "command": "editor.action.marker.prev", "when": "editorFocus", "intellij": "Previous highlighted error" @@ -1066,22 +1066,22 @@ "intellij": "Edit source" }, { - "key": "ctrl+[Enter]", - "mac": "cmd+[ArrowDown]", + "key": "ctrl+enter", + "mac": "cmd+down", "command": "editor.action.goToDeclaration", "when": "editorTextFocus", "intellij": "View source" }, { - "key": "shift+ctrl+[ArrowDown]", - "mac": "shift+alt+[ArrowDown]", + "key": "shift+ctrl+down", + "mac": "shift+alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Statement Down" }, { - "key": "shift+ctrl+[ArrowUp]", - "mac": "shift+alt+[ArrowUp]", + "key": "shift+ctrl+up", + "mac": "shift+alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Statement Up" @@ -1092,36 +1092,36 @@ { - "key": "ctrl+alt+shift+[ArrowDown]", - "mac": "ctrl+alt+shift+[ArrowDown]", + "key": "ctrl+alt+shift+down", + "mac": "ctrl+alt+shift+down", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive", "intellij": "Next Change" }, { - "key": "ctrl+alt+shift+[ArrowUp]", - "mac": "ctrl+alt+shift+[ArrowUp]", + "key": "ctrl+alt+shift+up", + "mac": "ctrl+alt+shift+up", "command": "workbench.action.editor.previousChange", "when": "editorTextFocus && !textCompareEditorActive", "intellij": "Previous Change" }, { - "key": "ctrl+[Home]", - "mac": "cmd+[Home]", + "key": "ctrl+home", + "mac": "cmd+home", "command": "cursorTop", "when": "textInputFocus", "intellij": "Move Caret to Text Start" }, { - "key": "ctrl+[Home]", - "mac": "cmd+[ArrowUp]", + "key": "ctrl+home", + "mac": "cmd+up", "command": "notebook.focusTop", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "ctrl+[End]", - "mac": "cmd+[End]", + "key": "ctrl+end", + "mac": "cmd+end", "command": "cursorBottom", "when": "textInputFocus", "intellij": "Move Caret to Text End" @@ -1134,8 +1134,8 @@ "intellij": "Move Caret to Matching Brace" }, { - "key": "ctrl+[End]", - "mac": "cmd+[ArrowDown]", + "key": "ctrl+end", + "mac": "cmd+down", "command": "notebook.focusBottom", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" @@ -1168,29 +1168,29 @@ }, { - "key": "shift+[F6]", - "mac": "shift+[F6]", + "key": "shift+f6", + "mac": "shift+f6", "command": "editor.action.rename", "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly", "intellij": "Rename" }, { - "key": "shift+[F6]", - "mac": "shift+[F6]", + "key": "shift+f6", + "mac": "shift+f6", "command": "editor.action.changeAll", "when": "!editorHasRenameProvider && editorTextFocus && !editorReadonly", "intellij": "Select All Occurrences" }, { - "key": "shift+[F6]", - "mac": "shift+[F6]", + "key": "shift+f6", + "mac": "shift+f6", "command": "renameFile", "when": "explorerViewletVisible && filesExplorerFocus", "intellij": "Rename (File)" }, { - "key": "ctrl+[F6]", - "mac": "cmd+[F6]", + "key": "ctrl+f6", + "mac": "cmd+f6", "command": "editor.action.codeAction", "when": "editorTextFocus", "args": { @@ -1289,125 +1289,125 @@ { - "key": "alt+[Digit0]", - "mac": "cmd+[Digit0]", + "key": "alt+0", + "mac": "cmd+0", "command": "workbench.actions.view.problems", "intellij": "Activate Messages window (Problems)" }, { - "key": "alt+[Numpad0]", - "mac": "cmd+[Numpad0]", + "key": "alt+numpad0", + "mac": "cmd+numpad0", "command": "workbench.actions.view.problems", "intellij": "Activate Messages window (Problems)" }, { - "key": "alt+[Digit1]", - "mac": "cmd+[Digit1]", + "key": "alt+1", + "mac": "cmd+1", "command": "workbench.view.explorer", "when": "!explorerViewletFocus", "intellij": "Open corresponding tool window (Explorer)" }, { - "key": "alt+[Numpad1]", - "mac": "cmd+[Numpad1]", + "key": "alt+numpad1", + "mac": "cmd+numpad1", "command": "workbench.view.explorer", "when": "!explorerViewletFocus", "intellij": "Open corresponding tool window (Explorer)" }, { - "key": "alt+[Digit1]", - "mac": "cmd+[Digit1]", + "key": "alt+1", + "mac": "cmd+1", "command": "workbench.action.toggleSidebarVisibility", "when": "explorerViewletFocus", "intellij": "Close corresponding tool window (Explorer)" }, { - "key": "alt+[Numpad1]", - "mac": "cmd+[Numpad1]", + "key": "alt+numpad1", + "mac": "cmd+numpad1", "command": "workbench.action.toggleSidebarVisibility", "when": "explorerViewletFocus", "intellij": "Close corresponding tool window (Explorer)" }, { - "key": "alt+[Digit3]", - "mac": "cmd+[Digit3]", + "key": "alt+3", + "mac": "cmd+3", "command": "workbench.view.search", "when": "!searchViewletVisible", "intellij": "Open corresponding tool window (Search)" }, { - "key": "alt+[Numpad3]", - "mac": "cmd+[Numpad3]", + "key": "alt+numpad3", + "mac": "cmd+numpad3", "command": "workbench.view.search", "when": "!searchViewletVisible", "intellij": "Open corresponding tool window (Search)" }, { - "key": "alt+[Digit3]", - "mac": "cmd+[Digit3]", + "key": "alt+3", + "mac": "cmd+3", "command": "workbench.action.toggleSidebarVisibility", "when": "searchViewletVisible", "intellij": "Close corresponding tool window (Search)" }, { - "key": "alt+[Numpad3]", - "mac": "cmd+[Numpad3]", + "key": "alt+numpad3", + "mac": "cmd+numpad3", "command": "workbench.action.toggleSidebarVisibility", "when": "searchViewletVisible", "intellij": "Close corresponding tool window (Search)" }, { - "key": "alt+[Digit5]", - "mac": "cmd+[Digit5]", + "key": "alt+5", + "mac": "cmd+5", "command": "workbench.view.debug", "when": "activeViewlet != 'workbench.view.debug'", "intellij": "Open corresponding tool window (Debug)" }, { - "key": "alt+[Numpad5]", - "mac": "cmd+[Numpad5]", + "key": "alt+numpad5", + "mac": "cmd+numpad5", "command": "workbench.view.debug", "when": "activeViewlet != 'workbench.view.debug'", "intellij": "Open corresponding tool window (Debug)" }, { - "key": "alt+[Digit5]", - "mac": "cmd+[Digit5]", + "key": "alt+5", + "mac": "cmd+5", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.debug'", "intellij": "Close corresponding tool window (Debug)" }, { - "key": "alt+[Numpad5]", - "mac": "cmd+[Numpad5]", + "key": "alt+numpad5", + "mac": "cmd+numpad5", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.debug'", "intellij": "Close corresponding tool window (Debug)" }, { - "key": "alt+[Digit9]", - "mac": "cmd+[Digit9]", + "key": "alt+9", + "mac": "cmd+9", "command": "workbench.view.scm", "when": "activeViewlet != 'workbench.view.scm'", "intellij": "Open corresponding tool window (Git)" }, { - "key": "alt+[Numpad9]", - "mac": "cmd+[Numpad9]", + "key": "alt+numpad9", + "mac": "cmd+numpad9", "command": "workbench.view.scm", "when": "activeViewlet != 'workbench.view.scm'", "intellij": "Open corresponding tool window (Git)" }, { - "key": "alt+[Digit9]", - "mac": "cmd+[Digit9]", + "key": "alt+9", + "mac": "cmd+9", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.scm'", "intellij": "Close corresponding tool window (Git)" }, { - "key": "alt+[Numpad9]", - "mac": "cmd+[Numpad9]", + "key": "alt+numpad9", + "mac": "cmd+numpad9", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.scm'", "intellij": "Close corresponding tool window (Git)" @@ -1425,8 +1425,8 @@ "intellij": "Toggle full screen mode" }, { - "key": "ctrl+shift+[F12]", - "mac": "cmd+shift+[F12]", + "key": "ctrl+shift+f12", + "mac": "cmd+shift+f12", "command": "workbench.action.maximizeEditor", "intellij": "Toggle maximizing editor", "todo": "toggle not working" @@ -1441,19 +1441,19 @@ }, { "key": "ctrl+alt+s", - "mac": "cmd+[Comma]", + "mac": "cmd+,", "command": "workbench.action.openGlobalSettings", "intellij": "Open Settings dialog" }, { "key": "ctrl+alt+s", - "mac": "cmd+[NumpadComma]", + "mac": "cmd+numpad_separator", "command": "workbench.action.openGlobalSettings", "intellij": "Open Settings dialog" }, { "key": "ctrl+alt+shift+s", - "mac": "cmd+[Semicolon]", + "mac": "cmd+;", "command": "workbench.action.tasks.configureTaskRunner", "intellij": "Open Project Structure dialog" }, @@ -1464,15 +1464,15 @@ "intellij": "Find Action" }, { - "key": "ctrl+[Tab]", - "mac": "ctrl+[Tab]", + "key": "ctrl+tab", + "mac": "ctrl+tab", "command": "workbench.action.quickOpenNavigateNext", "when": "inQuickOpen", "intellij": "Switch between tabs and tool window" }, { - "key": "shift+[F12]", - "mac": "shift+[F12]", + "key": "shift+f12", + "mac": "shift+f12", "command": "workbench.action.resetViewLocations", "intellij": "Restore Default layout" }, @@ -1499,8 +1499,8 @@ "intellij": "Next difference" }, { - "key": "shift+[F7]", - "mac": "shift+[F7]", + "key": "shift+f7", + "mac": "shift+f7", "command": "workbench.action.compareEditor.previousChange", "when": "textCompareEditorVisible", "intellij": "Previous difference" @@ -1513,57 +1513,57 @@ "intellij": "Next difference" }, { - "key": "shift+[F7]", - "mac": "shift+[F7]", + "key": "shift+f7", + "mac": "shift+f7", "command": "merge-conflict.previous", "when": "merge-conflict", "intellij": "Previous difference" }, { - "key": "alt+ctrl+[Enter]", - "mac": "alt+cmd+[Enter]", + "key": "alt+ctrl+enter", + "mac": "alt+cmd+enter", "command": "editor.action.insertLineBefore", "when": "editorTextFocus && !editorReadonly", "intellij": "Start new line before current" }, { - "key": "alt+ctrl+[Enter]", - "mac": "ctrl+[Enter]", + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", "command": "notebook.cell.execute", "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", "notebook": "To keep Notebook key bindings" }, { - "key": "alt+ctrl+[Enter]", - "mac": "ctrl+[Enter]", + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", "command": "notebook.cell.quitEdit", "when": "inputFocus && notebookEditorFocused && notebookCellType == 'markup'", "notebook": "To keep Notebook key bindings" }, { - "key": "shift+ctrl+[Enter]", - "mac": "shift+cmd+[Enter]", + "key": "shift+ctrl+enter", + "mac": "shift+cmd+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible", "intellij": "Start new line" }, { - "key": "shift+ctrl+[Enter]", - "mac": "shift+cmd+[Enter]", + "key": "shift+ctrl+enter", + "mac": "shift+cmd+enter", "command": "notebook.cell.insertCodeCellAbove", "when": "notebookCellListFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "alt+[F12]", - "mac": "alt+[F12]", + "key": "alt+f12", + "mac": "alt+f12", "command": "workbench.action.terminal.focus", "when": "!terminalFocus", "intellij": "Opens and focuses corresponding tool window (Terminal)" }, { - "key": "alt+[F12]", - "mac": "alt+[F12]", + "key": "alt+f12", + "mac": "alt+f12", "command": "workbench.action.terminal.toggleTerminal", "when": "terminalFocus", "intellij": "Close corresponding tool window (Terminal)" @@ -1576,29 +1576,29 @@ "intellij": "Sublime Text style multiple selections" }, { - "key": "alt+[ArrowLeft]", + "key": "alt+left", "mac": "shift+cmd+[", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus", "intellij": "Select previous tab (Terminal)" }, { - "key": "alt+[ArrowRight]", + "key": "alt+right", "mac": "shift+cmd+]", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus", "intellij": "Select next tab (Terminal)" }, { - "key": "alt+[Tab]", - "mac": "alt+[Tab]", + "key": "alt+tab", + "mac": "alt+tab", "command": "workbench.action.focusNextGroup", "when": "editorFocus", "intellij": "Goto next splitter" }, { - "key": "shift+alt+[Tab]", - "mac": "shift+alt+[Tab]", + "key": "shift+alt+tab", + "mac": "shift+alt+tab", "command": "workbench.action.focusPreviousGroup", "when": "editorFocus", "intellij": "Goto previous splitter" @@ -1611,8 +1611,8 @@ "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { - "key": "[F4]", - "mac": "[F4]", + "key": "f4", + "mac": "f4", "command": "explorer.openAndPassFocus", "intellij": "Open Highlighted File (Explorer)", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" @@ -1625,8 +1625,8 @@ "notebook": "To keep Notebook key bindings" }, { - "key": "alt+[Home]", - "mac": "cmd+[ArrowUp]", + "key": "alt+home", + "mac": "cmd+up", "command": "breadcrumbs.focusAndSelect", "intellij": "Jump to Navigation Bar", "when": "breadcrumbsPossible && breadcrumbsVisible" @@ -1640,7 +1640,7 @@ }, { - "key": "shift+[F10]", + "key": "shift+f10", "mac": "ctrl+r", "command": "go.test.previous", "when": "editorLangId == go", diff --git a/resource/KeystrokeKeyMapping.json b/resource/KeystrokeKeyMapping.json index d18f3f2..a521342 100644 --- a/resource/KeystrokeKeyMapping.json +++ b/resource/KeystrokeKeyMapping.json @@ -5,15 +5,15 @@ }, { "intellij": "back_quote", - "vscode": "[Backquote]" + "vscode": "`" }, { "intellij": "minus", - "vscode": "[Minus]" + "vscode": "-" }, { "intellij": "equals", - "vscode": "[Equal]" + "vscode": "=" }, { "intellij": "open_bracket", @@ -21,15 +21,15 @@ }, { "intellij": "close_bracket", - "vscode": "[BracketRight]" + "vscode": "]" }, { "intellij": "back_slash", - "vscode": "[Backslash]" + "vscode": "\\" }, { "intellij": "semicolon", - "vscode": "[Semicolon]" + "vscode": ";" }, { "intellij": "quotedbl", @@ -37,19 +37,19 @@ }, { "intellij": "quote", - "vscode": "[Quote]" + "vscode": "'" }, { "intellij": "comma", - "vscode": "[Comma]" + "vscode": "," }, { "intellij": "period", - "vscode": "[Period]" + "vscode": "." }, { "intellij": "slash", - "vscode": "[Slash]" + "vscode": "/" }, { "intellij": "left_parenthesis", @@ -61,71 +61,71 @@ }, { "intellij": "page_up", - "vscode": "[PageUp]" + "vscode": "pageup" }, { "intellij": "page_down", - "vscode": "[PageDown]" + "vscode": "pagedown" }, { "intellij": "left", - "vscode": "[ArrowLeft]" + "vscode": "left" }, { "intellij": "up", - "vscode": "[ArrowUp]" + "vscode": "up" }, { "intellij": "right", - "vscode": "[ArrowRight]" + "vscode": "right" }, { "intellij": "down", - "vscode": "[ArrowDown]" + "vscode": "down" }, { "intellij": "end", - "vscode": "[End]" + "vscode": "end" }, { "intellij": "home", - "vscode": "[Home]" + "vscode": "home" }, { "intellij": "tab", - "vscode": "[Tab]" + "vscode": "tab" }, { "intellij": "enter", - "vscode": "[Enter]" + "vscode": "enter" }, { "intellij": "escape", - "vscode": "[Escape]" + "vscode": "escape" }, { "intellij": "back_space", - "vscode": "[Backspace]" + "vscode": "backspace" }, { "intellij": "space", - "vscode": "[Space]" + "vscode": "space" }, { "intellij": "delete", - "vscode": "[Delete]" + "vscode": "delete" }, { "intellij": "pause", - "vscode": "[Pause]" + "vscode": "pause" }, { "intellij": "caps_lock", - "vscode": "[CapsLock]" + "vscode": "capslock" }, { "intellij": "insert", - "vscode": "[Insert]" + "vscode": "insert" }, { "intellij": "exclamation_mark", @@ -173,43 +173,43 @@ }, { "intellij": "numpad0", - "vscode": "[Numpad0]" + "vscode": "numpad0" }, { "intellij": "numpad1", - "vscode": "[Numpad1]" + "vscode": "numpad1" }, { "intellij": "numpad2", - "vscode": "[Numpad2]" + "vscode": "numpad2" }, { "intellij": "numpad3", - "vscode": "[Numpad3]" + "vscode": "numpad3" }, { "intellij": "numpad4", - "vscode": "[Numpad4]" + "vscode": "numpad4" }, { "intellij": "numpad5", - "vscode": "[Numpad5]" + "vscode": "numpad5" }, { "intellij": "numpad6", - "vscode": "[Numpad6]" + "vscode": "numpad6" }, { "intellij": "numpad7", - "vscode": "[Numpad7]" + "vscode": "numpad7" }, { "intellij": "numpad8", - "vscode": "[Numpad8]" + "vscode": "numpad8" }, { "intellij": "numpad9", - "vscode": "[Numpad9]" + "vscode": "numpad9" }, { "intellij": "multiply", @@ -217,18 +217,18 @@ }, { "intellij": "add", - "vscode": "[NumpadAdd]" + "vscode": "numpad_add" }, { "intellij": "subtract", - "vscode": "[NumpadSubtract]" + "vscode": "numpad_subtract" }, { "intellij": "decimal", - "vscode": "[NumpadDecimal]" + "vscode": "numpad_decimal" }, { "intellij": "divide", - "vscode": "[NumpadDivide]" + "vscode": "numpad_divide" } ] diff --git a/resource/default/Linux/VSCode.json b/resource/default/Linux/VSCode.json index 336b768..d2b9965 100644 --- a/resource/default/Linux/VSCode.json +++ b/resource/default/Linux/VSCode.json @@ -1,11 +1,11 @@ [ { - "key": "shift+[Tab]", + "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus && textInputFocus" }, { - "key": "shift+[Enter]", + "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus && textInputFocus" }, @@ -20,7 +20,7 @@ "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, { - "key": "ctrl+shift+[Space]", + "key": "ctrl+shift+space", "command": "editor.action.triggerParameterHints", "when": "editorHasSignatureHelpProvider && editorTextFocus" }, @@ -39,7 +39,7 @@ "command": "workbench.action.files.newUntitledFile" }, { - "key": "ctrl+[Slash]", + "key": "ctrl+/", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly" }, @@ -54,12 +54,12 @@ "when": "editorTextFocus" }, { - "key": "shift+alt+[ArrowLeft]", + "key": "shift+alt+left", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus" }, { - "key": "ctrl+[Period]", + "key": "ctrl+.", "command": "editor.action.quickFix", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" }, @@ -78,7 +78,7 @@ "command": "editor.action.clipboardCutAction" }, { - "key": "ctrl+shift+alt+[ArrowDown]", + "key": "ctrl+shift+alt+down", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, @@ -103,12 +103,12 @@ "when": "textInputFocus && !editorReadonly" }, { - "key": "ctrl+[Enter]", + "key": "ctrl+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" }, { - "key": "ctrl+[Delete]", + "key": "ctrl+delete", "command": "deleteWordRight", "when": "textInputFocus && !editorReadonly" }, @@ -143,7 +143,7 @@ "when": "editorTextFocus && foldingEnabled" }, { - "key": "ctrl+k ctrl+[Digit0]", + "key": "ctrl+k ctrl+0", "command": "editor.foldAll", "when": "editorTextFocus && foldingEnabled" }, @@ -162,12 +162,12 @@ "when": "textInputFocus" }, { - "key": "alt+[ArrowDown]", + "key": "alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, { - "key": "alt+[ArrowUp]", + "key": "alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly" }, @@ -186,12 +186,12 @@ "when": "editorFocus && findInputFocussed" }, { - "key": "shift+[F3]", + "key": "shift+f3", "command": "editor.action.previousMatchFindAction", "when": "editorFocus" }, { - "key": "shift+[Enter]", + "key": "shift+enter", "command": "editor.action.previousMatchFindAction", "when": "editorFocus && findInputFocussed" }, @@ -209,7 +209,7 @@ "command": "workbench.action.replaceInFiles" }, { - "key": "shift+alt+[F12]", + "key": "shift+alt+f12", "command": "references-view.findReferences", "when": "editorHasReferenceProvider" }, @@ -231,7 +231,7 @@ "command": "workbench.view.debug" }, { - "key": "ctrl+[F5]", + "key": "ctrl+f5", "command": "workbench.action.debug.run", "when": "debuggersAvailable" }, @@ -246,7 +246,7 @@ "when": "debugState != 'inactive'" }, { - "key": "shift+[F11]", + "key": "shift+f11", "command": "workbench.action.debug.stepOut", "when": "debugState == 'stopped'" }, @@ -303,11 +303,11 @@ "when": "editorTextFocus" }, { - "key": "ctrl+[PageUp]", + "key": "ctrl+pageup", "command": "workbench.action.previousEditor" }, { - "key": "ctrl+[PageDown]", + "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" }, { @@ -336,11 +336,11 @@ "command": "workbench.action.quickOpen" }, { - "key": "ctrl+alt+[Minus]", + "key": "ctrl+alt+-", "command": "workbench.action.navigateBack" }, { - "key": "ctrl+shift+[Minus]", + "key": "ctrl+shift+-", "command": "workbench.action.navigateForward" }, { @@ -353,7 +353,7 @@ "when": "editorTextFocus" }, { - "key": "ctrl+[F12]", + "key": "ctrl+f12", "command": "editor.action.goToImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" }, @@ -376,32 +376,32 @@ "when": "editorTextFocus" }, { - "key": "alt+[F8]", + "key": "alt+f8", "command": "editor.action.marker.next", "when": "editorFocus" }, { - "key": "shift+alt+[F8]", + "key": "shift+alt+f8", "command": "editor.action.marker.prev", "when": "editorFocus" }, { - "key": "alt+[F3]", + "key": "alt+f3", "command": "editor.action.dirtydiff.next", "when": "editorTextFocus" }, { - "key": "shift+alt+[F3]", + "key": "shift+alt+f3", "command": "editor.action.dirtydiff.previous", "when": "editorTextFocus" }, { - "key": "ctrl+[Home]", + "key": "ctrl+home", "command": "cursorTop", "when": "textInputFocus" }, { - "key": "ctrl+[End]", + "key": "ctrl+end", "command": "cursorBottom", "when": "textInputFocus" }, @@ -411,7 +411,7 @@ "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" }, { - "key": "ctrl+[F2]", + "key": "ctrl+f2", "command": "editor.action.changeAll", "when": "editorTextFocus && editorTextFocus && !editorReadonly" }, @@ -492,22 +492,22 @@ "command": "workbench.action.quickOpenNavigateNext" }, { - "key": "alt+[F5]", + "key": "alt+f5", "command": "workbench.action.compareEditor.nextChange", "when": "textCompareEditorVisible" }, { - "key": "shift+alt+[F5]", + "key": "shift+alt+f5", "command": "workbench.action.compareEditor.previousChange", "when": "textCompareEditorVisible" }, { - "key": "ctrl+shift+[Enter]", + "key": "ctrl+shift+enter", "command": "editor.action.insertLineBefore", "when": "editorTextFocus && !editorReadonly" }, { - "key": "ctrl+[Enter]", + "key": "ctrl+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" }, @@ -550,7 +550,7 @@ "when": "listFocus && !inputFocus" }, { - "key": "ctrl+shift+[Semicolon]", + "key": "ctrl+shift+;", "command": "breadcrumbs.focus", "when": "breadcrumbsPossible" }, @@ -565,7 +565,7 @@ "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, { - "key": "ctrl+[Space]", + "key": "ctrl+space", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, @@ -578,7 +578,7 @@ "command": "editor.action.clipboardCopyAction" }, { - "key": "shift+[Insert]", + "key": "shift+insert", "command": "editor.action.clipboardPasteAction" }, { @@ -641,22 +641,22 @@ "when": "textInputFocus" }, { - "key": "ctrl+[End]", + "key": "ctrl+end", "command": "cursorBottom", "when": "textInputFocus" }, { - "key": "ctrl+shift+[End]", + "key": "ctrl+shift+end", "command": "cursorBottomSelect", "when": "textInputFocus" }, { - "key": "ctrl+[Home]", + "key": "ctrl+home", "command": "cursorTop", "when": "textInputFocus" }, { - "key": "ctrl+shift+[Home]", + "key": "ctrl+shift+home", "command": "cursorTopSelect", "when": "textInputFocus" }, @@ -676,7 +676,7 @@ "when": "textInputFocus" }, { - "key": "shift+[PageDown]", + "key": "shift+pagedown", "command": "cursorPageDownSelect", "when": "textInputFocus" }, @@ -686,17 +686,17 @@ "when": "textInputFocus" }, { - "key": "shift+[PageUp]", + "key": "shift+pageup", "command": "cursorPageUpSelect", "when": "textInputFocus" }, { - "key": "ctrl+[ArrowLeft]", + "key": "ctrl+left", "command": "cursorWordLeft", "when": "textInputFocus" }, { - "key": "ctrl+shift+[ArrowLeft]", + "key": "ctrl+shift+left", "command": "cursorWordLeftSelect", "when": "textInputFocus" }, diff --git a/resource/default/Mac/VSCode.json b/resource/default/Mac/VSCode.json index d002038..832cb08 100644 --- a/resource/default/Mac/VSCode.json +++ b/resource/default/Mac/VSCode.json @@ -1,11 +1,11 @@ [ { - "key": "shift+[Tab]", + "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus && textInputFocus" }, { - "key": "shift+[Enter]", + "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus && textInputFocus" }, @@ -20,7 +20,7 @@ "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, { - "key": "shift+cmd+[Space]", + "key": "shift+cmd+space", "command": "editor.action.triggerParameterHints", "when": "editorHasSignatureHelpProvider && editorTextFocus" }, @@ -39,7 +39,7 @@ "command": "workbench.action.files.newUntitledFile" }, { - "key": "cmd+[Slash]", + "key": "cmd+/", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly" }, @@ -54,17 +54,17 @@ "when": "editorTextFocus" }, { - "key": "ctrl+shift+[ArrowLeft]", + "key": "ctrl+shift+left", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus" }, { - "key": "ctrl+shift+cmd+[ArrowLeft]", + "key": "ctrl+shift+cmd+left", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus" }, { - "key": "cmd+[Period]", + "key": "cmd+.", "command": "editor.action.quickFix", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" }, @@ -84,7 +84,7 @@ "when": "editorTextFocus && !editorReadonly" }, { - "key": "shift+alt+[ArrowDown]", + "key": "shift+alt+down", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, @@ -109,12 +109,12 @@ "when": "textInputFocus && !editorReadonly" }, { - "key": "cmd+[Enter]", + "key": "cmd+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" }, { - "key": "alt+[Delete]", + "key": "alt+delete", "command": "deleteWordRight", "when": "textInputFocus && !editorReadonly" }, @@ -149,7 +149,7 @@ "when": "editorTextFocus && foldingEnabled" }, { - "key": "cmd+k cmd+[Digit0]", + "key": "cmd+k cmd+0", "command": "editor.foldAll", "when": "editorTextFocus && foldingEnabled" }, @@ -168,12 +168,12 @@ "when": "textInputFocus" }, { - "key": "alt+[ArrowDown]", + "key": "alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, { - "key": "alt+[ArrowUp]", + "key": "alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly" }, @@ -197,7 +197,7 @@ "when": "editorFocus && findInputFocussed" }, { - "key": "shift+[F3]", + "key": "shift+f3", "command": "editor.action.previousMatchFindAction", "when": "editorFocus" }, @@ -207,7 +207,7 @@ "when": "editorFocus" }, { - "key": "shift+[Enter]", + "key": "shift+enter", "command": "editor.action.previousMatchFindAction", "when": "editorFocus && findInputFocussed" }, @@ -225,7 +225,7 @@ "command": "workbench.action.replaceInFiles" }, { - "key": "shift+alt+[F12]", + "key": "shift+alt+f12", "command": "references-view.findReferences", "when": "editorHasReferenceProvider" }, @@ -247,7 +247,7 @@ "command": "workbench.view.debug" }, { - "key": "ctrl+[F5]", + "key": "ctrl+f5", "command": "workbench.action.debug.run", "when": "debuggersAvailable" }, @@ -262,7 +262,7 @@ "when": "debugState != 'inactive'" }, { - "key": "shift+[F11]", + "key": "shift+f11", "command": "workbench.action.debug.stepOut", "when": "debugState == 'stopped'" }, @@ -313,7 +313,7 @@ "command": "workbench.action.previousEditor" }, { - "key": "alt+cmd+[ArrowLeft]", + "key": "alt+cmd+left", "command": "workbench.action.previousEditor" }, { @@ -321,7 +321,7 @@ "command": "workbench.action.nextEditor" }, { - "key": "alt+cmd+[ArrowRight]", + "key": "alt+cmd+right", "command": "workbench.action.nextEditor" }, { @@ -351,11 +351,11 @@ "when": "!inQuickOpen" }, { - "key": "ctrl+[Minus]", + "key": "ctrl+-", "command": "workbench.action.navigateBack" }, { - "key": "ctrl+shift+[Minus]", + "key": "ctrl+shift+-", "command": "workbench.action.navigateForward" }, { @@ -368,7 +368,7 @@ "when": "editorTextFocus" }, { - "key": "cmd+[F12]", + "key": "cmd+f12", "command": "editor.action.goToImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" }, @@ -391,32 +391,32 @@ "when": "editorTextFocus" }, { - "key": "alt+[F8]", + "key": "alt+f8", "command": "editor.action.marker.next", "when": "editorFocus" }, { - "key": "shift+alt+[F8]", + "key": "shift+alt+f8", "command": "editor.action.marker.prev", "when": "editorFocus" }, { - "key": "alt+[F3]", + "key": "alt+f3", "command": "editor.action.dirtydiff.next", "when": "editorTextFocus" }, { - "key": "shift+alt+[F3]", + "key": "shift+alt+f3", "command": "editor.action.dirtydiff.previous", "when": "editorTextFocus" }, { - "key": "cmd+[ArrowUp]", + "key": "cmd+up", "command": "cursorTop", "when": "textInputFocus" }, { - "key": "cmd+[ArrowDown]", + "key": "cmd+down", "command": "cursorBottom", "when": "textInputFocus" }, @@ -426,7 +426,7 @@ "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" }, { - "key": "cmd+[F2]", + "key": "cmd+f2", "command": "editor.action.changeAll", "when": "editorTextFocus && editorTextFocus && !editorReadonly" }, @@ -511,22 +511,22 @@ "command": "workbench.action.quickOpenNavigateNext" }, { - "key": "alt+[F5]", + "key": "alt+f5", "command": "workbench.action.compareEditor.nextChange", "when": "textCompareEditorVisible" }, { - "key": "shift+alt+[F5]", + "key": "shift+alt+f5", "command": "workbench.action.compareEditor.previousChange", "when": "textCompareEditorVisible" }, { - "key": "shift+cmd+[Enter]", + "key": "shift+cmd+enter", "command": "editor.action.insertLineBefore", "when": "editorTextFocus && !editorReadonly" }, { - "key": "cmd+[Enter]", + "key": "cmd+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" }, @@ -564,7 +564,7 @@ "when": "editorFocus" }, { - "key": "cmd+[ArrowDown]", + "key": "cmd+down", "command": "list.select", "when": "listFocus && !inputFocus" }, @@ -574,7 +574,7 @@ "when": "listFocus && !inputFocus" }, { - "key": "shift+cmd+[Semicolon]", + "key": "shift+cmd+;", "command": "breadcrumbs.focus", "when": "breadcrumbsPossible" }, @@ -589,12 +589,12 @@ "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, { - "key": "alt+[Escape]", + "key": "alt+escape", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, { - "key": "ctrl+[Space]", + "key": "ctrl+space", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, @@ -662,22 +662,22 @@ "when": "textInputFocus" }, { - "key": "cmd+[ArrowDown]", + "key": "cmd+down", "command": "cursorBottom", "when": "textInputFocus" }, { - "key": "cmd+[ArrowUp]", + "key": "cmd+up", "command": "cursorTop", "when": "textInputFocus" }, { - "key": "shift+cmd+[ArrowDown]", + "key": "shift+cmd+down", "command": "cursorBottomSelect", "when": "textInputFocus" }, { - "key": "shift+cmd+[ArrowUp]", + "key": "shift+cmd+up", "command": "cursorTopSelect", "when": "textInputFocus" }, @@ -697,7 +697,7 @@ "when": "textInputFocus" }, { - "key": "shift+[PageDown]", + "key": "shift+pagedown", "command": "cursorPageDownSelect", "when": "textInputFocus" }, @@ -707,17 +707,17 @@ "when": "textInputFocus" }, { - "key": "shift+[PageUp]", + "key": "shift+pageup", "command": "cursorPageUpSelect", "when": "textInputFocus" }, { - "key": "alt+[ArrowLeft]", + "key": "alt+left", "command": "cursorWordLeft", "when": "textInputFocus" }, { - "key": "shift+alt+[ArrowLeft]", + "key": "shift+alt+left", "command": "cursorWordLeftSelect", "when": "textInputFocus" }, diff --git a/resource/default/Windows/VSCode.json b/resource/default/Windows/VSCode.json index 9469659..6b5d45b 100644 --- a/resource/default/Windows/VSCode.json +++ b/resource/default/Windows/VSCode.json @@ -1,11 +1,11 @@ [ { - "key": "shift+[Tab]", + "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus && textInputFocus" }, { - "key": "shift+[Enter]", + "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus && textInputFocus" }, @@ -20,7 +20,7 @@ "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, { - "key": "ctrl+shift+[Space]", + "key": "ctrl+shift+space", "command": "editor.action.triggerParameterHints", "when": "editorHasSignatureHelpProvider && editorTextFocus" }, @@ -39,7 +39,7 @@ "command": "workbench.action.files.newUntitledFile" }, { - "key": "ctrl+[Slash]", + "key": "ctrl+/", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly" }, @@ -54,12 +54,12 @@ "when": "editorTextFocus" }, { - "key": "shift+alt+[ArrowLeft]", + "key": "shift+alt+left", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus" }, { - "key": "ctrl+[Period]", + "key": "ctrl+.", "command": "editor.action.quickFix", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" }, @@ -74,7 +74,7 @@ "when": "editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly" }, { - "key": "shift+[Delete]", + "key": "shift+delete", "command": "editor.action.clipboardCutAction" }, { @@ -82,7 +82,7 @@ "command": "editor.action.clipboardCutAction" }, { - "key": "shift+alt+[ArrowDown]", + "key": "shift+alt+down", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, @@ -107,12 +107,12 @@ "when": "textInputFocus && !editorReadonly" }, { - "key": "ctrl+[Enter]", + "key": "ctrl+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" }, { - "key": "ctrl+[Delete]", + "key": "ctrl+delete", "command": "deleteWordRight", "when": "textInputFocus && !editorReadonly" }, @@ -147,7 +147,7 @@ "when": "editorTextFocus && foldingEnabled" }, { - "key": "ctrl+k ctrl+[Digit0]", + "key": "ctrl+k ctrl+0", "command": "editor.foldAll", "when": "editorTextFocus && foldingEnabled" }, @@ -156,7 +156,7 @@ "command": "workbench.action.closeActiveEditor" }, { - "key": "ctrl+[F4]", + "key": "ctrl+f4", "command": "workbench.action.closeActiveEditor" }, { @@ -170,12 +170,12 @@ "when": "textInputFocus" }, { - "key": "alt+[ArrowDown]", + "key": "alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, { - "key": "alt+[ArrowUp]", + "key": "alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly" }, @@ -194,12 +194,12 @@ "when": "editorFocus && findInputFocussed" }, { - "key": "shift+[F3]", + "key": "shift+f3", "command": "editor.action.previousMatchFindAction", "when": "editorFocus" }, { - "key": "shift+[Enter]", + "key": "shift+enter", "command": "editor.action.previousMatchFindAction", "when": "editorFocus && findInputFocussed" }, @@ -217,7 +217,7 @@ "command": "workbench.action.replaceInFiles" }, { - "key": "shift+alt+[F12]", + "key": "shift+alt+f12", "command": "references-view.findReferences", "when": "editorHasReferenceProvider" }, @@ -239,7 +239,7 @@ "command": "workbench.view.debug" }, { - "key": "ctrl+[F5]", + "key": "ctrl+f5", "command": "workbench.action.debug.run", "when": "debuggersAvailable" }, @@ -254,7 +254,7 @@ "when": "debugState != 'inactive'" }, { - "key": "shift+[F11]", + "key": "shift+f11", "command": "workbench.action.debug.stepOut", "when": "debugState == 'stopped'" }, @@ -311,11 +311,11 @@ "when": "editorTextFocus" }, { - "key": "ctrl+[PageUp]", + "key": "ctrl+pageup", "command": "workbench.action.previousEditor" }, { - "key": "ctrl+[PageDown]", + "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" }, { @@ -344,11 +344,11 @@ "command": "workbench.action.quickOpen" }, { - "key": "alt+[ArrowLeft]", + "key": "alt+left", "command": "workbench.action.navigateBack" }, { - "key": "alt+[ArrowRight]", + "key": "alt+right", "command": "workbench.action.navigateForward" }, { @@ -361,7 +361,7 @@ "when": "editorTextFocus" }, { - "key": "ctrl+[F12]", + "key": "ctrl+f12", "command": "editor.action.goToImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" }, @@ -384,32 +384,32 @@ "when": "editorTextFocus" }, { - "key": "alt+[F8]", + "key": "alt+f8", "command": "editor.action.marker.next", "when": "editorFocus" }, { - "key": "shift+alt+[F8]", + "key": "shift+alt+f8", "command": "editor.action.marker.prev", "when": "editorFocus" }, { - "key": "alt+[F3]", + "key": "alt+f3", "command": "editor.action.dirtydiff.next", "when": "editorTextFocus" }, { - "key": "shift+alt+[F3]", + "key": "shift+alt+f3", "command": "editor.action.dirtydiff.previous", "when": "editorTextFocus" }, { - "key": "ctrl+[Home]", + "key": "ctrl+home", "command": "cursorTop", "when": "textInputFocus" }, { - "key": "ctrl+[End]", + "key": "ctrl+end", "command": "cursorBottom", "when": "textInputFocus" }, @@ -419,7 +419,7 @@ "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" }, { - "key": "ctrl+[F2]", + "key": "ctrl+f2", "command": "editor.action.changeAll", "when": "editorTextFocus && editorTextFocus && !editorReadonly" }, @@ -504,22 +504,22 @@ "command": "workbench.action.quickOpenNavigateNext" }, { - "key": "alt+[F5]", + "key": "alt+f5", "command": "workbench.action.compareEditor.nextChange", "when": "textCompareEditorVisible" }, { - "key": "shift+alt+[F5]", + "key": "shift+alt+f5", "command": "workbench.action.compareEditor.previousChange", "when": "textCompareEditorVisible" }, { - "key": "ctrl+shift+[Enter]", + "key": "ctrl+shift+enter", "command": "editor.action.insertLineBefore", "when": "editorTextFocus && !editorReadonly" }, { - "key": "ctrl+[Enter]", + "key": "ctrl+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" }, @@ -562,7 +562,7 @@ "when": "listFocus && !inputFocus" }, { - "key": "ctrl+shift+[Semicolon]", + "key": "ctrl+shift+;", "command": "breadcrumbs.focus", "when": "breadcrumbsPossible" }, @@ -577,7 +577,7 @@ "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, { - "key": "ctrl+[Space]", + "key": "ctrl+space", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" }, @@ -586,7 +586,7 @@ "command": "workbench.action.findInFiles" }, { - "key": "ctrl+[Insert]", + "key": "ctrl+insert", "command": "editor.action.clipboardCopyAction" }, { @@ -594,7 +594,7 @@ "command": "editor.action.clipboardCopyAction" }, { - "key": "shift+[Insert]", + "key": "shift+insert", "command": "editor.action.clipboardPasteAction" }, { @@ -657,22 +657,22 @@ "when": "textInputFocus" }, { - "key": "ctrl+[End]", + "key": "ctrl+end", "command": "cursorBottom", "when": "textInputFocus" }, { - "key": "ctrl+shift+[End]", + "key": "ctrl+shift+end", "command": "cursorBottomSelect", "when": "textInputFocus" }, { - "key": "ctrl+[Home]", + "key": "ctrl+home", "command": "cursorTop", "when": "textInputFocus" }, { - "key": "ctrl+shift+[Home]", + "key": "ctrl+shift+home", "command": "cursorTopSelect", "when": "textInputFocus" }, @@ -692,7 +692,7 @@ "when": "textInputFocus" }, { - "key": "shift+[PageDown]", + "key": "shift+pagedown", "command": "cursorPageDownSelect", "when": "textInputFocus" }, @@ -702,17 +702,17 @@ "when": "textInputFocus" }, { - "key": "shift+[PageUp]", + "key": "shift+pageup", "command": "cursorPageUpSelect", "when": "textInputFocus" }, { - "key": "ctrl+[ArrowLeft]", + "key": "ctrl+left", "command": "cursorWordLeft", "when": "textInputFocus" }, { - "key": "ctrl+shift+[ArrowLeft]", + "key": "ctrl+shift+left", "command": "cursorWordLeftSelect", "when": "textInputFocus" }, diff --git a/src/package-with-comment.json b/src/package-with-comment.json index 58cf13a..78c65cf 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -97,8 +97,8 @@ \*---------------------------------------------------------------*/ /* { - "key": "ctrl+[Space]", - "mac": "ctrl+[Space]", + "key": "ctrl+space", + "mac": "ctrl+space", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly", "intellij": "Basic code completion (the name of any class, method or variable)" @@ -106,8 +106,8 @@ */ /* { - "key": "ctrl+shift+[Space]", - "mac": "ctrl+shift+[Space]", + "key": "ctrl+shift+space", + "mac": "ctrl+shift+space", "command": "", "when": "", "intellij": "Smart code completion (filters the list of methods and variables by expected type)", @@ -136,8 +136,8 @@ "intellij": "Next Template Variable or Finish In-Place Refactoring" }, { - "key": "ctrl+shift+[Enter]", - "mac": "cmd+shift+[Enter]", + "key": "ctrl+shift+enter", + "mac": "cmd+shift+enter", "command": "acceptSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus", "intellij": "Complete statement" @@ -157,15 +157,15 @@ "intellij": "Quick documentation lookup" }, { - "mac": "[F1]", + "mac": "f1", "command": "editor.action.showHover", "when": "editorTextFocus", "intellij": "Quick documentation lookup" }, /* { - "key": "ctrl+[F1]", - "mac": "shift+[F1]", + "key": "ctrl+f1", + "mac": "shift+f1", "command": "", "when": "", "intellij": "External Doc", @@ -183,21 +183,21 @@ }, */ { - "key": "ctrl+[F1]", - "mac": "cmd+[F1]", + "key": "ctrl+f1", + "mac": "cmd+f1", "command": "workbench.action.showErrorsWarnings", "when": "editorTextFocus", "intellij": "Show descriptions of error or warning at caret" }, { - "key": "alt+[Insert]", + "key": "alt+insert", "mac": "cmd+n", "command": "editor.action.sourceAction", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly", "intellij": "Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)" }, { - "key": "alt+[Insert]", + "key": "alt+insert", "mac": "cmd+n", "command": "workbench.action.files.newUntitledFile", "when": "(!editorHasCodeActionsProvider && editorTextFocus) || !editorTextFocus", @@ -239,55 +239,55 @@ "intellij": "Open in Opposite Group" }, { - "key": "ctrl+[Slash]", - "mac": "cmd+[Slash]", + "key": "ctrl+/", + "mac": "cmd+/", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with line comment" }, { - "key": "ctrl+[NumpadDivide]", - "mac": "cmd+[NumpadDivide]", + "key": "ctrl+numpad_divide", + "mac": "cmd+numpad_divide", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with line comment" }, { - "key": "ctrl+shift+[Slash]", - "mac": "cmd+alt+[Slash]", + "key": "ctrl+shift+/", + "mac": "cmd+alt+/", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with block comment" }, { - "key": "ctrl+shift+[NumpadDivide]", - "mac": "cmd+alt+[NumpadDivide]", + "key": "ctrl+shift+numpad_divide", + "mac": "cmd+alt+numpad_divide", "command": "editor.action.blockComment", "when": "editorTextFocus && !editorReadonly", "intellij": "Comment/uncomment with block comment" }, { "key": "ctrl+w", - "mac": "alt+[ArrowUp]", + "mac": "alt+up", "command": "editor.action.smartSelect.grow", "when": "editorTextFocus", "intellij": "Select successively increasing code blocks" }, { - "mac": "alt+[ArrowUp]", + "mac": "alt+up", "command": "notebook.cell.moveUp", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { "key": "ctrl+shift+w", - "mac": "alt+[ArrowDown]", + "mac": "alt+down", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus", "intellij": "Decrease current selection to previous state" }, { - "mac": "alt+[ArrowDown]", + "mac": "alt+down", "command": "notebook.cell.moveDown", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" @@ -303,15 +303,15 @@ }, */ { - "key": "alt+[Enter]", - "mac": "alt+[Enter]", + "key": "alt+enter", + "mac": "alt+enter", "command": "editor.action.quickFix", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly", "intellij": "Show intention actions and quick-fixes" }, { - "key": "alt+[Enter]", - "mac": "alt+[Enter]", + "key": "alt+enter", + "mac": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", "notebook": "To keep Notebook key bindings" @@ -379,8 +379,8 @@ */ /* { - "key": "shift+[Tab]", - "mac": "shift+[Tab]", + "key": "shift+tab", + "mac": "shift+tab", "command": "", // outdent "when": "editorTextFocus && !editorTabMovesFocus", "intellij": "Unindent selected lines" @@ -394,8 +394,8 @@ "intellij": "Cut current line or selected block to clipboard" }, { - "key": "shift+[Delete]", - "mac": "cmd+[Delete]", + "key": "shift+delete", + "mac": "cmd+delete", "command": "editor.action.clipboardCutAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Cut current line or selected block to clipboard" @@ -444,7 +444,7 @@ }, { "key": "ctrl+y", - "mac": "cmd+[Backspace]", + "mac": "cmd+backspace", "command": "editor.action.deleteLines", "when": "editorTextFocus && !editorReadonly", "intellij": "Delete line at caret" @@ -457,29 +457,29 @@ "intellij": "Smart line join" }, { - "key": "ctrl+[Enter]", - "mac": "cmd+[Enter]", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "lineBreakInsert", "when": "editorTextFocus && !editorReadonly", "intellij": "Smart line split" }, { - "key": "ctrl+[Enter]", - "mac": "cmd+[Enter]", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "notebook.cell.insertCodeCellBelow", "when": "notebookCellListFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "shift+[Enter]", - "mac": "shift+[Enter]", + "key": "shift+enter", + "mac": "shift+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly && !notebookEditorFocused", "intellij": "Start new line" }, { - "key": "shift+[Enter]", - "mac": "shift+[Enter]", + "key": "shift+enter", + "mac": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", "notebook": "To keep Notebook key bindings" @@ -515,182 +515,182 @@ }, */ { - "key": "ctrl+[ArrowRight]", - "mac": "alt+[ArrowRight]", + "key": "ctrl+right", + "mac": "alt+right", "command": "cursorWordRight", "when": "editorTextFocus && !inlineSuggestionVisible && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to word end" }, { - "key": "ctrl+[ArrowRight]", - "mac": "alt+[ArrowRight]", + "key": "ctrl+right", + "mac": "alt+right", "command": "cursorWordPartRight", "when": "editorTextFocus && !inlineSuggestionVisible && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to hump end" }, { - "key": "ctrl+[ArrowLeft]", - "mac": "alt+[ArrowLeft]", + "key": "ctrl+left", + "mac": "alt+left", "command": "cursorWordLeft", "when": "editorTextFocus && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to word start" }, { - "key": "ctrl+[ArrowLeft]", - "mac": "alt+[ArrowLeft]", + "key": "ctrl+left", + "mac": "alt+left", "command": "cursorWordPartStartLeft", "when": "editorTextFocus && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Cursor to hump start" }, { - "key": "ctrl+shift+[ArrowRight]", - "mac": "alt+shift+[ArrowRight]", + "key": "ctrl+shift+right", + "mac": "alt+shift+right", "command": "cursorWordRightSelect", "when": "editorTextFocus && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to word end" }, { - "key": "ctrl+shift+[ArrowRight]", - "mac": "alt+shift+[ArrowRight]", + "key": "ctrl+shift+right", + "mac": "alt+shift+right", "command": "cursorWordPartRightSelect", "when": "editorTextFocus && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to hump end" }, { - "key": "ctrl+shift+[ArrowLeft]", - "mac": "alt+shift+[ArrowLeft]", + "key": "ctrl+shift+left", + "mac": "alt+shift+left", "command": "cursorWordLeftSelect", "when": "editorTextFocus && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to word start" }, { - "key": "ctrl+shift+[ArrowLeft]", - "mac": "alt+shift+[ArrowLeft]", + "key": "ctrl+shift+left", + "mac": "alt+shift+left", "command": "cursorWordPartStartLeftSelect", "when": "editorTextFocus && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Select to hump start" }, { - "key": "ctrl+[Delete]", - "mac": "alt+[Delete]", + "key": "ctrl+delete", + "mac": "alt+delete", "command": "deleteWordRight", "when": "editorTextFocus && !editorReadonly && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to word end" }, { - "key": "ctrl+[Delete]", - "mac": "alt+[Delete]", + "key": "ctrl+delete", + "mac": "alt+delete", "command": "deleteWordPartRight", "when": "editorTextFocus && !editorReadonly && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to hump end" }, { - "key": "ctrl+[Backspace]", - "mac": "alt+[Backspace]", + "key": "ctrl+backspace", + "mac": "alt+backspace", "command": "deleteWordLeft", "when": "editorTextFocus && !editorReadonly && !config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to word start" }, { - "key": "ctrl+[Backspace]", - "mac": "alt+[Backspace]", + "key": "ctrl+backspace", + "mac": "alt+backspace", "command": "deleteWordPartLeft", "when": "editorTextFocus && !editorReadonly && config.intellij-idea-keybindings.useCamelHumpsWords", "intellij": "Delete to hump start" }, { - "key": "ctrl+[Period]", - "mac": "cmd+[Period]", + "key": "ctrl+.", + "mac": "cmd+.", "command": "editor.toggleFold", "when": "editorFocus && foldingEnabled", "intellij": "Fold selection" }, { - "key": "ctrl+[Equal]", - "mac": "cmd+[Equal]", + "key": "ctrl+=", + "mac": "cmd+=", "command": "editor.unfold", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block" }, { - "key": "ctrl+[NumpadAdd]", - "mac": "cmd+[NumpadAdd]", + "key": "ctrl+numpad_add", + "mac": "cmd+numpad_add", "command": "editor.unfold", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block" }, { - "key": "ctrl+[Minus]", - "mac": "cmd+[Minus]", + "key": "ctrl+-", + "mac": "cmd+-", "command": "editor.fold", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block" }, { - "key": "ctrl+[NumpadSubtract]", - "mac": "cmd+[NumpadSubtract]", + "key": "ctrl+numpad_subtract", + "mac": "cmd+numpad_subtract", "command": "editor.fold", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block" }, { - "key": "ctrl+alt+[Equal]", - "mac": "cmd+alt+[Equal]", + "key": "ctrl+alt+=", + "mac": "cmd+alt+=", "command": "editor.unfoldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block recursively" }, { - "key": "ctrl+alt+[NumpadAdd]", - "mac": "cmd+alt+[NumpadAdd]", + "key": "ctrl+alt+numpad_add", + "mac": "cmd+alt+numpad_add", "command": "editor.unfoldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Expand code block recursively" }, { - "key": "ctrl+alt+[Minus]", - "mac": "cmd+alt+[Minus]", + "key": "ctrl+alt+-", + "mac": "cmd+alt+-", "command": "editor.foldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block recursively" }, { - "key": "ctrl+alt+[NumpadSubtract]", - "mac": "cmd+alt+[NumpadSubtract]", + "key": "ctrl+alt+numpad_subtract", + "mac": "cmd+alt+numpad_subtract", "command": "editor.foldRecursively", "when": "editorFocus && foldingEnabled", "intellij": "Collapse code block recursively" }, { - "key": "ctrl+shift+[Equal]", - "mac": "cmd+shift+[Equal]", + "key": "ctrl+shift+=", + "mac": "cmd+shift+=", "command": "editor.unfoldAll", "when": "editorFocus && foldingEnabled", "intellij": "Expand all" }, { - "key": "ctrl+shift+[NumpadAdd]", - "mac": "cmd+shift+[NumpadAdd]", + "key": "ctrl+shift+numpad_add", + "mac": "cmd+shift+numpad_add", "command": "editor.unfoldAll", "when": "editorFocus && foldingEnabled", "intellij": "Expand all" }, { - "key": "ctrl+shift+[Minus]", - "mac": "cmd+shift+[Minus]", + "key": "ctrl+shift+-", + "mac": "cmd+shift+-", "command": "editor.foldAll", "when": "editorFocus && foldingEnabled", "intellij": "Collapse all" }, { - "key": "ctrl+shift+[NumpadSubtract]", - "mac": "cmd+shift+[NumpadSubtract]", + "key": "ctrl+shift+numpad_subtract", + "mac": "cmd+shift+numpad_subtract", "command": "editor.foldAll", "when": "editorFocus && foldingEnabled", "intellij": "Collapse all" }, { - "key": "ctrl+[F4]", + "key": "ctrl+f4", "mac": "cmd+w", "command": "workbench.action.closeActiveEditor", "intellij": "Close active editor tab" @@ -710,42 +710,42 @@ "intellij": "Unselect Occurrence" }, { - "key": "shift+alt+[ArrowDown]", - "mac": "shift+alt+[ArrowDown]", + "key": "shift+alt+down", + "mac": "shift+alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Line Down" }, { - "key": "shift+alt+[ArrowDown]", - "mac": "shift+alt+[ArrowDown]", + "key": "shift+alt+down", + "mac": "shift+alt+down", "command": "notebook.cell.copyDown", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "shift+alt+[ArrowUp]", - "mac": "shift+alt+[ArrowUp]", + "key": "shift+alt+up", + "mac": "shift+alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Line Up" }, { - "key": "shift+alt+[Insert]", - "mac": "shift+cmd+[Digit8]", + "key": "shift+alt+insert", + "mac": "shift+cmd+8", "command": "editor.action.toggleColumnSelection", "intellij": "Column Selection Mode" }, { - "key": "shift+alt+[Period]", - "mac": "shift+ctrl+[Period]", + "key": "shift+alt+.", + "mac": "shift+ctrl+.", "command": "editor.action.fontZoomIn", "when": "editorTextFocus", "intellij": "Increase Font Size in All Editors" }, { - "key": "shift+alt+[Comma]", - "mac": "shift+ctrl+[Comma]", + "key": "shift+alt+,", + "mac": "shift+ctrl+,", "command": "editor.action.fontZoomOut", "when": "editorTextFocus", "intellij": "Decrease Font Size in All Editors" @@ -775,7 +775,7 @@ "intellij": "Find next" }, { - "key": "shift+[F3]", + "key": "shift+f3", "mac": "cmd+shift+g", "command": "editor.action.previousMatchFindAction", "when": "editorFocus", @@ -830,23 +830,23 @@ * Usage Search \*---------------------------------------------------------------*/ { - "key": "alt+[F7]", - "mac": "alt+[F7]", + "key": "alt+f7", + "mac": "alt+f7", "command": "references-view.findReferences", "when": "editorHasReferenceProvider", "intellij": "Find usages" }, { - "key": "alt+ctrl+[F7]", - "mac": "alt+cmd+[F7]", + "key": "alt+ctrl+f7", + "mac": "alt+cmd+f7", "command": "editor.action.referenceSearch.trigger", "when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor", "intellij": "Show usages" }, /* { - "key": "ctrl+[F7]", - "mac": "cmd+[F7]", + "key": "ctrl+f7", + "mac": "cmd+f7", "command": "", "when": "editorTextFocus", "intellij": "Find usages in file", @@ -855,8 +855,8 @@ */ /* { - "key": "ctrl+shift+[F7]", - "mac": "cmd+shift+[F7]", + "key": "ctrl+shift+f7", + "mac": "cmd+shift+f7", "command": "", "when": "", "intellij": "Highlight usages in file", @@ -865,8 +865,8 @@ */ /* { - "key": "ctrl+alt+[F7]", - "mac": "cmd+alt+[F7]", + "key": "ctrl+alt+f7", + "mac": "cmd+alt+f7", "command": "", "when": "editorTextFocus", "intellij": "Show usages", @@ -877,42 +877,42 @@ * Compile and Run \*---------------------------------------------------------------*/ { - "key": "ctrl+[F9]", - "mac": "cmd+[F9]", + "key": "ctrl+f9", + "mac": "cmd+f9", "command": "workbench.action.tasks.build", "intellij": "Make project (compile modifed and dependent)" }, /* { - "key": "ctrl+shift+[F9]", - "mac": "cmd+shift+[F9]", + "key": "ctrl+shift+f9", + "mac": "cmd+shift+f9", "command": "", "intellij": "Compile selected file, package or module", "todo": "N/A" }, */ { - "key": "alt+shift+[F10]", + "key": "alt+shift+f10", "mac": "ctrl+alt+r", "command": "workbench.action.tasks.runTask", "when": "taskCommandsRegistered && !terminalFocus", "intellij": "Select configuration and run" }, { - "key": "alt+shift+[F9]", + "key": "alt+shift+f9", "mac": "ctrl+alt+d", "command": "workbench.view.debug", "intellij": "Select configuration and debug" }, { - "key": "shift+[F10]", + "key": "shift+f10", "mac": "ctrl+r", "command": "workbench.action.tasks.reRunTask", "when": "taskCommandsRegistered && !terminalFocus", "intellij": "Run" }, { - "key": "shift+[F9]", + "key": "shift+f9", "mac": "ctrl+d", "command": "workbench.action.debug.run", "when": "debuggersAvailable && !inDebugMode && !terminalFocus", @@ -920,7 +920,7 @@ }, /* { - "key": "ctrl+shift+[F10]", + "key": "ctrl+shift+f10", "mac": "ctrl+shift+r", "command": "", "intellij": "Run context configuration from editor", @@ -929,7 +929,7 @@ */ /* { - "key": "ctrl+shift+[F10]", + "key": "ctrl+shift+f10", "mac": "ctrl+shift+r", "command": "", "intellij": "Debug context configuration from editor", @@ -940,8 +940,8 @@ * Debugging \*---------------------------------------------------------------*/ { - "key": "ctrl+[F2]", - "mac": "cmd+[F2]", + "key": "ctrl+f2", + "mac": "cmd+f2", "command": "workbench.action.debug.stop", "when": "inDebugMode && !focusedSessionIsAttach", "intellij": "Stop" @@ -962,8 +962,8 @@ }, /* { - "key": "shift+[F7]", - "mac": "shift+[F7]", + "key": "shift+f7", + "mac": "shift+f7", "command": "", "when": "inDebugMode", "intellij": "Smart step into", @@ -971,29 +971,29 @@ }, */ { - "key": "shift+[F8]", - "mac": "shift+[F8]", + "key": "shift+f8", + "mac": "shift+f8", "command": "workbench.action.debug.stepOut", "when": "debugState == 'stopped'", "intellij": "Step out" }, { - "key": "alt+[F9]", - "mac": "alt+[F9]", + "key": "alt+f9", + "mac": "alt+f9", "command": "editor.debug.action.runToCursor", "when": "debugState == 'stopped'", "intellij": "Run to cursor" }, { - "key": "alt+[F8]", - "mac": "alt+[F8]", + "key": "alt+f8", + "mac": "alt+f8", "command": "workbench.debug.action.toggleRepl", "when": "debuggersAvailable", "intellij": "Evaluate expression" }, { - "key": "alt+[F8]", - "mac": "alt+[F8]", + "key": "alt+f8", + "mac": "alt+f8", "command": "editor.debug.action.selectionToRepl", "when": "debuggersAvailable && editorTextFocus && editorHasSelection", "intellij": "Evaluate expression (selection)" @@ -1006,15 +1006,15 @@ "intellij": "Resume program" }, { - "key": "ctrl+[F8]", - "mac": "cmd+[F8]", + "key": "ctrl+f8", + "mac": "cmd+f8", "command": "editor.debug.action.toggleBreakpoint", "when": "debuggersAvailable && editorTextFocus", "intellij": "Toggle breakpoint" }, { - "key": "ctrl+shift+[F8]", - "mac": "cmd+shift+[F8]", + "key": "ctrl+shift+f8", + "mac": "cmd+shift+f8", "command": "workbench.debug.action.focusBreakpointsView", "intellij": "View breakpoints" }, @@ -1041,8 +1041,8 @@ "intellij": "Go to symbol" }, { - "key": "alt+[ArrowLeft]", - "mac": "ctrl+[ArrowLeft]", + "key": "alt+left", + "mac": "ctrl+left", "command": "workbench.action.previousEditor", "intellij": "Go to previous editor tab" }, @@ -1053,8 +1053,8 @@ "intellij": "Go to previous editor tab" }, { - "key": "alt+[ArrowRight]", - "mac": "ctrl+[ArrowRight]", + "key": "alt+right", + "mac": "ctrl+right", "command": "workbench.action.nextEditor", "intellij": "Go to next editor tab" }, @@ -1083,44 +1083,44 @@ }, */ { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.action.toggleSidebarVisibility", "when": "!editorFocus && !terminalFocus && !problemFocus && !inDebugRepl", "intellij": "Hide active or last active window (Sidebar)" }, /* { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.action.output.toggleOutput", "when": "outputFocus", "intellij": "Hide active or last active window (Output)" }, */ { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.actions.view.problems", "intellij": "Hide active or last active window (Problems)" }, { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.debug.action.toggleRepl", "when": "debuggersAvailable", "intellij": "Hide active or last active window (Debug Console)" }, { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "workbench.action.terminal.toggleTerminal", "intellij": "Hide active or last active window (Terminal)" }, /* { - "key": "shift+[Escape]", - "mac": "shift+[Escape]", + "key": "shift+escape", + "mac": "shift+escape", "command": "", "when": "panelVisible", "intellij": "Hide active or last active window (Panel)", @@ -1129,16 +1129,16 @@ */ /* { - "key": "ctrl+shift+[F4]", - "mac": "cmd+shift+[F4]", + "key": "ctrl+shift+f4", + "mac": "cmd+shift+f4", "command": "", "intellij": "Close active run/messages/find/... tab", "todo": "not worked intellij" }, */ { - "key": "ctrl+shift+[Quote]", - "mac": "cmd+shift+[Quote]", + "key": "ctrl+shift+'", + "mac": "cmd+shift+'", "command": "workbench.action.toggleMaximizedPanel", "when": "problemFocus || focusedView == 'workbench.panel.output' || inDebugRepl || terminalFocus", "intellij": "Maximize Tool Window (Problems, Output, Debug Console, Terminal)" @@ -1169,13 +1169,13 @@ "when": "inQuickOpen" }, { - "key": "ctrl+alt+[ArrowLeft]", - "mac": "cmd+alt+[ArrowLeft]", + "key": "ctrl+alt+left", + "mac": "cmd+alt+left", "command": "-workbench.action.moveEditorToPreviousGroup" }, { - "key": "ctrl+alt+[ArrowLeft]", - "mac": "cmd+alt+[ArrowLeft]", + "key": "ctrl+alt+left", + "mac": "cmd+alt+left", "command": "workbench.action.navigateBack", "when": "canNavigateBack", "intellij": "Navigate back" @@ -1193,13 +1193,13 @@ "intellij": "Navigate back" }, { - "key": "ctrl+alt+[ArrowRight]", - "mac": "cmd+alt+[ArrowRight]", + "key": "ctrl+alt+right", + "mac": "cmd+alt+right", "command": "-workbench.action.moveEditorToNextGroup" }, { - "key": "ctrl+alt+[ArrowRight]", - "mac": "cmd+alt+[ArrowRight]", + "key": "ctrl+alt+right", + "mac": "cmd+alt+right", "command": "workbench.action.navigateForward", "when": "canNavigateForward", "intellij": "Navigate forward" @@ -1212,15 +1212,15 @@ "intellij": "Navigate forward" }, { - "key": "ctrl+shift+[Backspace]", - "mac": "cmd+shift+[Backspace]", + "key": "ctrl+shift+backspace", + "mac": "cmd+shift+backspace", "command": "workbench.action.navigateToLastEditLocation", "intellij": "Navigate to last edit location" }, /* { - "key": "alt+[F1]", - "mac": "alt+[F1]", + "key": "alt+f1", + "mac": "alt+f1", "command": "", "when": "editorTextFocus", "intellij": "Select current file or symbol in any view", @@ -1250,7 +1250,7 @@ }, { "key": "ctrl+shift+i", - "mac": "alt+[Space]", + "mac": "alt+space", "command": "editor.action.previewDeclaration", "intellij": "Open quick definition lookup" }, @@ -1284,8 +1284,8 @@ }, /* { - "key": "alt+[ArrowUp]", - "mac": "ctrl+[ArrowUp]", + "key": "alt+up", + "mac": "ctrl+up", "command": "", "when": "editorTextFocus", "intellij": "Go to previous method", @@ -1294,8 +1294,8 @@ */ /* { - "key": "alt+[ArrowDown]", - "mac": "ctrl+[ArrowDown]", + "key": "alt+down", + "mac": "ctrl+down", "command": "", "when": "editorTextFocus", "intellij": "Go to next method", @@ -1323,14 +1323,14 @@ }, */ { - "key": "alt+[Digit7]", - "mac": "cmd+[Digit7]", + "key": "alt+7", + "mac": "cmd+7", "command": "outline.focus", "intellij": "Structure" }, { - "key": "ctrl+[F12]", - "mac": "cmd+[F12]", + "key": "ctrl+f12", + "mac": "cmd+f12", "command": "workbench.action.gotoSymbol", "when": "editorTextFocus", "intellij": "File structure popup" @@ -1372,8 +1372,8 @@ "intellij": "Next highlighted error" }, { - "key": "shift+[F2]", - "mac": "shift+[F2]", + "key": "shift+f2", + "mac": "shift+f2", "command": "editor.action.marker.prev", "when": "editorFocus", "intellij": "Previous highlighted error" @@ -1386,30 +1386,30 @@ "intellij": "Edit source" }, { - "key": "ctrl+[Enter]", - "mac": "cmd+[ArrowDown]", + "key": "ctrl+enter", + "mac": "cmd+down", "command": "editor.action.goToDeclaration", "when": "editorTextFocus", "intellij": "View source" }, { - "key": "shift+ctrl+[ArrowDown]", - "mac": "shift+alt+[ArrowDown]", + "key": "shift+ctrl+down", + "mac": "shift+alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Statement Down" }, { - "key": "shift+ctrl+[ArrowUp]", - "mac": "shift+alt+[ArrowUp]", + "key": "shift+ctrl+up", + "mac": "shift+alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus && !editorReadonly", "intellij": "Move Statement Up" }, /* { - "key": "alt+[Home]", - "mac": "alt+[Home]", + "key": "alt+home", + "mac": "alt+home", "command": "", "intellij": "Show navigation bar", "todo": "N/A" @@ -1427,8 +1427,8 @@ */ /* { - "key": "ctrl+[F11]", - "mac": "alt+[F3]", + "key": "ctrl+f11", + "mac": "alt+f3", "command": "", "intellij": "Toggle bookmark with mnemonic", "todo": "N/A" @@ -1436,8 +1436,8 @@ */ /* { - "key": "ctrl+[Digit0]", - "mac": "ctrl+[Digit0]", + "key": "ctrl+0", + "mac": "ctrl+0", "command": "", "intellij": "Go to numbered bookmark", "todo": "N/A" @@ -1445,44 +1445,44 @@ */ /* { - "key": "shift+[F11]", - "mac": "cmd+[F3]", + "key": "shift+f11", + "mac": "cmd+f3", "command": "", "intellij": "Show bookmarks", "todo": "N/A" }, */ { - "key": "ctrl+alt+shift+[ArrowDown]", - "mac": "ctrl+alt+shift+[ArrowDown]", + "key": "ctrl+alt+shift+down", + "mac": "ctrl+alt+shift+down", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive", "intellij": "Next Change" }, { - "key": "ctrl+alt+shift+[ArrowUp]", - "mac": "ctrl+alt+shift+[ArrowUp]", + "key": "ctrl+alt+shift+up", + "mac": "ctrl+alt+shift+up", "command": "workbench.action.editor.previousChange", "when": "editorTextFocus && !textCompareEditorActive", "intellij": "Previous Change" }, { - "key": "ctrl+[Home]", - "mac": "cmd+[Home]", + "key": "ctrl+home", + "mac": "cmd+home", "command": "cursorTop", "when": "textInputFocus", "intellij": "Move Caret to Text Start" }, { - "key": "ctrl+[Home]", - "mac": "cmd+[ArrowUp]", + "key": "ctrl+home", + "mac": "cmd+up", "command": "notebook.focusTop", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "ctrl+[End]", - "mac": "cmd+[End]", + "key": "ctrl+end", + "mac": "cmd+end", "command": "cursorBottom", "when": "textInputFocus", "intellij": "Move Caret to Text End" @@ -1495,8 +1495,8 @@ "intellij": "Move Caret to Matching Brace" }, { - "key": "ctrl+[End]", - "mac": "cmd+[ArrowDown]", + "key": "ctrl+end", + "mac": "cmd+down", "command": "notebook.focusBottom", "when": "notebookEditorFocused && !inputFocus", "notebook": "To keep Notebook key bindings" @@ -1540,8 +1540,8 @@ }, /* { - "key": "alt+[Delete]", - "mac": "cmd+[Delete]", + "key": "alt+delete", + "mac": "cmd+delete", "command": "", "when": "editorTextFocus", "intellij": "Safe Delete", @@ -1549,29 +1549,29 @@ }, */ { - "key": "shift+[F6]", - "mac": "shift+[F6]", + "key": "shift+f6", + "mac": "shift+f6", "command": "editor.action.rename", "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly", "intellij": "Rename" }, { - "key": "shift+[F6]", - "mac": "shift+[F6]", + "key": "shift+f6", + "mac": "shift+f6", "command": "editor.action.changeAll", "when": "!editorHasRenameProvider && editorTextFocus && !editorReadonly", "intellij": "Select All Occurrences" }, { - "key": "shift+[F6]", - "mac": "shift+[F6]", + "key": "shift+f6", + "mac": "shift+f6", "command": "renameFile", "when": "explorerViewletVisible && filesExplorerFocus", "intellij": "Rename (File)" }, { - "key": "ctrl+[F6]", - "mac": "cmd+[F6]", + "key": "ctrl+f6", + "mac": "cmd+f6", "command": "editor.action.codeAction", "when": "editorTextFocus", "args": { @@ -1709,125 +1709,125 @@ * General \*---------------------------------------------------------------*/ { - "key": "alt+[Digit0]", - "mac": "cmd+[Digit0]", + "key": "alt+0", + "mac": "cmd+0", "command": "workbench.actions.view.problems", "intellij": "Activate Messages window (Problems)" }, { - "key": "alt+[Numpad0]", - "mac": "cmd+[Numpad0]", + "key": "alt+numpad0", + "mac": "cmd+numpad0", "command": "workbench.actions.view.problems", "intellij": "Activate Messages window (Problems)" }, { - "key": "alt+[Digit1]", - "mac": "cmd+[Digit1]", + "key": "alt+1", + "mac": "cmd+1", "command": "workbench.view.explorer", "when": "!explorerViewletFocus", "intellij": "Open corresponding tool window (Explorer)" }, { - "key": "alt+[Numpad1]", - "mac": "cmd+[Numpad1]", + "key": "alt+numpad1", + "mac": "cmd+numpad1", "command": "workbench.view.explorer", "when": "!explorerViewletFocus", "intellij": "Open corresponding tool window (Explorer)" }, { - "key": "alt+[Digit1]", - "mac": "cmd+[Digit1]", + "key": "alt+1", + "mac": "cmd+1", "command": "workbench.action.toggleSidebarVisibility", "when": "explorerViewletFocus", "intellij": "Close corresponding tool window (Explorer)" }, { - "key": "alt+[Numpad1]", - "mac": "cmd+[Numpad1]", + "key": "alt+numpad1", + "mac": "cmd+numpad1", "command": "workbench.action.toggleSidebarVisibility", "when": "explorerViewletFocus", "intellij": "Close corresponding tool window (Explorer)" }, { - "key": "alt+[Digit3]", - "mac": "cmd+[Digit3]", + "key": "alt+3", + "mac": "cmd+3", "command": "workbench.view.search", "when": "!searchViewletVisible", "intellij": "Open corresponding tool window (Search)" }, { - "key": "alt+[Numpad3]", - "mac": "cmd+[Numpad3]", + "key": "alt+numpad3", + "mac": "cmd+numpad3", "command": "workbench.view.search", "when": "!searchViewletVisible", "intellij": "Open corresponding tool window (Search)" }, { - "key": "alt+[Digit3]", - "mac": "cmd+[Digit3]", + "key": "alt+3", + "mac": "cmd+3", "command": "workbench.action.toggleSidebarVisibility", "when": "searchViewletVisible", "intellij": "Close corresponding tool window (Search)" }, { - "key": "alt+[Numpad3]", - "mac": "cmd+[Numpad3]", + "key": "alt+numpad3", + "mac": "cmd+numpad3", "command": "workbench.action.toggleSidebarVisibility", "when": "searchViewletVisible", "intellij": "Close corresponding tool window (Search)" }, { - "key": "alt+[Digit5]", - "mac": "cmd+[Digit5]", + "key": "alt+5", + "mac": "cmd+5", "command": "workbench.view.debug", "when": "activeViewlet != 'workbench.view.debug'", "intellij": "Open corresponding tool window (Debug)" }, { - "key": "alt+[Numpad5]", - "mac": "cmd+[Numpad5]", + "key": "alt+numpad5", + "mac": "cmd+numpad5", "command": "workbench.view.debug", "when": "activeViewlet != 'workbench.view.debug'", "intellij": "Open corresponding tool window (Debug)" }, { - "key": "alt+[Digit5]", - "mac": "cmd+[Digit5]", + "key": "alt+5", + "mac": "cmd+5", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.debug'", "intellij": "Close corresponding tool window (Debug)" }, { - "key": "alt+[Numpad5]", - "mac": "cmd+[Numpad5]", + "key": "alt+numpad5", + "mac": "cmd+numpad5", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.debug'", "intellij": "Close corresponding tool window (Debug)" }, { - "key": "alt+[Digit9]", - "mac": "cmd+[Digit9]", + "key": "alt+9", + "mac": "cmd+9", "command": "workbench.view.scm", "when": "activeViewlet != 'workbench.view.scm'", "intellij": "Open corresponding tool window (Git)" }, { - "key": "alt+[Numpad9]", - "mac": "cmd+[Numpad9]", + "key": "alt+numpad9", + "mac": "cmd+numpad9", "command": "workbench.view.scm", "when": "activeViewlet != 'workbench.view.scm'", "intellij": "Open corresponding tool window (Git)" }, { - "key": "alt+[Digit9]", - "mac": "cmd+[Digit9]", + "key": "alt+9", + "mac": "cmd+9", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.scm'", "intellij": "Close corresponding tool window (Git)" }, { - "key": "alt+[Numpad9]", - "mac": "cmd+[Numpad9]", + "key": "alt+numpad9", + "mac": "cmd+numpad9", "command": "workbench.action.toggleSidebarVisibility", "when": "activeViewlet == 'workbench.view.scm'", "intellij": "Close corresponding tool window (Git)" @@ -1853,8 +1853,8 @@ "intellij": "Toggle full screen mode" }, { - "key": "ctrl+shift+[F12]", - "mac": "cmd+shift+[F12]", + "key": "ctrl+shift+f12", + "mac": "cmd+shift+f12", "command": "workbench.action.maximizeEditor", "intellij": "Toggle maximizing editor", "todo": "toggle not working" @@ -1885,19 +1885,19 @@ }, { "key": "ctrl+alt+s", - "mac": "cmd+[Comma]", + "mac": "cmd+,", "command": "workbench.action.openGlobalSettings", "intellij": "Open Settings dialog" }, { "key": "ctrl+alt+s", - "mac": "cmd+[NumpadComma]", + "mac": "cmd+numpad_separator", "command": "workbench.action.openGlobalSettings", "intellij": "Open Settings dialog" }, { "key": "ctrl+alt+shift+s", - "mac": "cmd+[Semicolon]", + "mac": "cmd+;", "command": "workbench.action.tasks.configureTaskRunner", "intellij": "Open Project Structure dialog" }, @@ -1908,15 +1908,15 @@ "intellij": "Find Action" }, { - "key": "ctrl+[Tab]", - "mac": "ctrl+[Tab]", + "key": "ctrl+tab", + "mac": "ctrl+tab", "command": "workbench.action.quickOpenNavigateNext", "when": "inQuickOpen", "intellij": "Switch between tabs and tool window" }, { - "key": "shift+[F12]", - "mac": "shift+[F12]", + "key": "shift+f12", + "mac": "shift+f12", "command": "workbench.action.resetViewLocations", "intellij": "Restore Default layout" }, @@ -1945,8 +1945,8 @@ "intellij": "Next difference" }, { - "key": "shift+[F7]", - "mac": "shift+[F7]", + "key": "shift+f7", + "mac": "shift+f7", "command": "workbench.action.compareEditor.previousChange", "when": "textCompareEditorVisible", "intellij": "Previous difference" @@ -1959,57 +1959,57 @@ "intellij": "Next difference" }, { - "key": "shift+[F7]", - "mac": "shift+[F7]", + "key": "shift+f7", + "mac": "shift+f7", "command": "merge-conflict.previous", "when": "merge-conflict", "intellij": "Previous difference" }, { - "key": "alt+ctrl+[Enter]", - "mac": "alt+cmd+[Enter]", + "key": "alt+ctrl+enter", + "mac": "alt+cmd+enter", "command": "editor.action.insertLineBefore", "when": "editorTextFocus && !editorReadonly", "intellij": "Start new line before current" }, { - "key": "alt+ctrl+[Enter]", - "mac": "ctrl+[Enter]", + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", "command": "notebook.cell.execute", "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0", "notebook": "To keep Notebook key bindings" }, { - "key": "alt+ctrl+[Enter]", - "mac": "ctrl+[Enter]", + "key": "alt+ctrl+enter", + "mac": "ctrl+enter", "command": "notebook.cell.quitEdit", "when": "inputFocus && notebookEditorFocused && notebookCellType == 'markup'", "notebook": "To keep Notebook key bindings" }, { - "key": "shift+ctrl+[Enter]", - "mac": "shift+cmd+[Enter]", + "key": "shift+ctrl+enter", + "mac": "shift+cmd+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible", "intellij": "Start new line" }, { - "key": "shift+ctrl+[Enter]", - "mac": "shift+cmd+[Enter]", + "key": "shift+ctrl+enter", + "mac": "shift+cmd+enter", "command": "notebook.cell.insertCodeCellAbove", "when": "notebookCellListFocused && !inputFocus", "notebook": "To keep Notebook key bindings" }, { - "key": "alt+[F12]", - "mac": "alt+[F12]", + "key": "alt+f12", + "mac": "alt+f12", "command": "workbench.action.terminal.focus", "when": "!terminalFocus", "intellij": "Opens and focuses corresponding tool window (Terminal)" }, { - "key": "alt+[F12]", - "mac": "alt+[F12]", + "key": "alt+f12", + "mac": "alt+f12", "command": "workbench.action.terminal.toggleTerminal", "when": "terminalFocus", "intellij": "Close corresponding tool window (Terminal)" @@ -2022,29 +2022,29 @@ "intellij": "Sublime Text style multiple selections" }, { - "key": "alt+[ArrowLeft]", + "key": "alt+left", "mac": "shift+cmd+[", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus", "intellij": "Select previous tab (Terminal)" }, { - "key": "alt+[ArrowRight]", + "key": "alt+right", "mac": "shift+cmd+]", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus", "intellij": "Select next tab (Terminal)" }, { - "key": "alt+[Tab]", - "mac": "alt+[Tab]", + "key": "alt+tab", + "mac": "alt+tab", "command": "workbench.action.focusNextGroup", "when": "editorFocus", "intellij": "Goto next splitter" }, { - "key": "shift+alt+[Tab]", - "mac": "shift+alt+[Tab]", + "key": "shift+alt+tab", + "mac": "shift+alt+tab", "command": "workbench.action.focusPreviousGroup", "when": "editorFocus", "intellij": "Goto previous splitter" @@ -2057,8 +2057,8 @@ "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { - "key": "[F4]", - "mac": "[F4]", + "key": "f4", + "mac": "f4", "command": "explorer.openAndPassFocus", "intellij": "Open Highlighted File (Explorer)", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" @@ -2071,8 +2071,8 @@ "notebook": "To keep Notebook key bindings" }, { - "key": "alt+[Home]", - "mac": "cmd+[ArrowUp]", + "key": "alt+home", + "mac": "cmd+up", "command": "breadcrumbs.focusAndSelect", "intellij": "Jump to Navigation Bar", "when": "breadcrumbsPossible && breadcrumbsVisible" @@ -2088,7 +2088,7 @@ * Go Lang \*---------------------------------------------------------------*/ { - "key": "shift+[F10]", + "key": "shift+f10", "mac": "ctrl+r", "command": "go.test.previous", "when": "editorLangId == go", diff --git a/src/tool/gene-keybind-markdown.js b/src/tool/gene-keybind-markdown.js index d72ba6c..1201a1d 100644 --- a/src/tool/gene-keybind-markdown.js +++ b/src/tool/gene-keybind-markdown.js @@ -88,44 +88,7 @@ const getMacOS = (line) => /"mac": "(.*)"/.exec(line)[1]; const getIntelliJ = (line) => /"intellij": "(.*)"/.exec(line)[1]; const getCommand = (line) => /"command": "(.*)"/.exec(line)[1]; -const escape = (line) => line.replace(/([`])/, "\\$1") - .replace(/\[Digit(\d)\]/, '$1') - .replace(/\[F(\d{1,2})\]/, 'f$1') - .replace('[Backquote]', '`') - .replace('[Minus]', '-') - .replace('[Equal]', '=') - .replace('[BracketLeft]', '[') - .replace('[BracketRight]', ']') - .replace('[Backslash]', '\\') - .replace('[Semicolon]', ';') - .replace('[Quote]', '\'') - .replace('[Comma]', ',') - .replace('[Period]', '.') - .replace('[Slash]', '/') - .replace('[ArrowLeft]', 'left') - .replace('[ArrowUp]', 'up') - .replace('[ArrowRight]', 'right') - .replace('[ArrowDown]', 'down') - .replace('[PageUp]', 'pageup') - .replace('[PageDown]', 'pagedown') - .replace('[End]', 'end') - .replace('[Home]', 'home') - .replace('[Tab]', 'tab') - .replace('[Enter]', 'enter') - .replace('[Escape]', 'escape') - .replace('[Space]', 'space') - .replace('[Backspace]', 'backspace') - .replace('[Delete]', 'delete') - .replace('[Pause]', 'pause') - .replace('[CapsLock]', 'capslock') - .replace('[Insert]', 'insert') - .replace(/\[Numpad(\d)\]/, 'numpad$1') - .replace('[NumpadMultiply', 'numpad_multiply') - .replace('[NumpadAdd]', 'numpad_add') - .replace('[NumpadComma]', 'numpad_separator') - .replace('[NumpadSubtract]', 'numpad_subtract') - .replace('[NumpadDecimal]', 'numpad_decimal') - .replace('[NumpadDivide]', 'numpad_divide'); +const escape = (line) => line.replace(/([`])/, "\\$1"); const available = (line) => line ? line : 'N/A';