diff --git a/CHANGELOG.md b/CHANGELOG.md index e6a69a12..dbf1bac6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to the Keyboard Macro Bata extension will be documented in this file. ### [Unreleased] +- Update + - Update default keybindings wrappers based on vscode 1.70.0. [#135](https://github.com/tshino/vscode-kb-macro/pull/135) - Feature: - Added new `kb-macro.active` 'when'-clause context. At this version, it is just an alias of `kb-macro.recording`. [#134](https://github.com/tshino/vscode-kb-macro/pull/134) - Documentation: diff --git a/generator/default-keybindings-linux.json b/generator/default-keybindings-linux.json index 1d5e8e3b..1bc6bef4 100644 --- a/generator/default-keybindings-linux.json +++ b/generator/default-keybindings-linux.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.69.2 for Linux +// Default Keybindings of Visual Studio Code 1.70.0 for Linux // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -311,6 +311,8 @@ "when": "editorTextFocus && hasWordHighlights" }, { "key": "escape", "command": "editor.cancelOperation", "when": "cancellableOperation" }, +{ "key": "ctrl+k ctrl+,", "command": "editor.createFoldingRangeFromSelection", + "when": "editorTextFocus && foldingEnabled" }, { "key": "escape", "command": "editor.debug.action.closeExceptionWidget", "when": "exceptionWidgetVisible" }, { "key": "ctrl+k ctrl+i", "command": "editor.debug.action.showDebugHover", @@ -349,6 +351,8 @@ "when": "hasSymbols" }, { "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel", "when": "hasSymbols" }, +{ "key": "ctrl+k ctrl+.", "command": "editor.removeManualFoldingRanges", + "when": "editorTextFocus && foldingEnabled" }, { "key": "ctrl+k ctrl+l", "command": "editor.toggleFold", "when": "editorTextFocus && foldingEnabled" }, { "key": "ctrl+shift+]", "command": "editor.unfold", @@ -482,13 +486,17 @@ { "key": "up", "command": "showPrevParameterHint", "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "tab", "command": "acceptSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "enter", "command": "acceptSelectedSuggestion", - "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, + "when": "acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, +{ "key": "shift+escape", "command": "hideCodeActionMenuWidget", + "when": "CodeActionMenuVisible" }, +{ "key": "escape", "command": "hideCodeActionMenuWidget", + "when": "CodeActionMenuVisible" }, { "key": "shift+escape", "command": "hideSuggestWidget", "when": "suggestWidgetVisible && textInputFocus" }, { "key": "escape", "command": "hideSuggestWidget", @@ -651,6 +659,8 @@ "when": "inKeybindings" }, { "key": "escape", "command": "list.clear", "when": "listFocus && listHasSelectionOrFocus && !inputFocus" }, +{ "key": "escape", "command": "list.closeFind", + "when": "listFocus && treeFindOpen" }, { "key": "left", "command": "list.collapse", "when": "listFocus && treeElementCanCollapse && !inputFocus || listFocus && treeElementHasParent && !inputFocus" }, { "key": "ctrl+left", "command": "list.collapseAll", @@ -661,6 +671,10 @@ "when": "listFocus && listSupportsMultiselect && !inputFocus" }, { "key": "shift+up", "command": "list.expandSelectionUp", "when": "listFocus && listSupportsMultiselect && !inputFocus" }, +{ "key": "f3", "command": "list.find", + "when": "listFocus && listSupportsFind" }, +{ "key": "ctrl+f", "command": "list.find", + "when": "listFocus && listSupportsFind" }, { "key": "down", "command": "list.focusDown", "when": "listFocus && !inputFocus" }, { "key": "home", "command": "list.focusFirst", @@ -1046,7 +1060,8 @@ { "key": "ctrl+k ctrl+shift+\\", "command": "workbench.action.splitEditorInGroup", "when": "activeEditorCanSplitInGroup" }, { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorOrthogonal" }, -{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build" }, +{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build", + "when": "taskCommandsRegistered" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocus && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocus && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, { "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection", @@ -1131,6 +1146,15 @@ "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, { "key": "ctrl+shift+up", "command": "workbench.action.terminal.selectToPreviousCommand", "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, +{ "key": "ctrl+space", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~a"} }, +{ "key": "alt+space", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~b"} }, +{ "key": "shift+enter", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~c"} }, { "key": "ctrl+backspace", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u0017"} }, @@ -1337,7 +1361,21 @@ { "key": "shift+f4", "command": "references-view.prev", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", - "when": "editorHasCallHierarchyProvider" } + "when": "editorHasCallHierarchyProvider" }, +{ "key": "ctrl+down", "command": "focusNextCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "down", "command": "focusNextCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "ctrl+up", "command": "focusPreviousCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "up", "command": "focusPreviousCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "shift+tab", "command": "onEnterSelectCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "enter", "command": "onEnterSelectCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "ctrl+enter", "command": "onEnterSelectCodeActionWithPreview", + "when": "CodeActionMenuVisible" } ] @@ -1355,6 +1393,7 @@ // - closeReferenceSearchEditor // - codelens.showLensesInCurrentLine // - columnSelect +// - commandCenter.help // - comments.collapse // - compareFiles // - compareSelected @@ -1704,6 +1743,7 @@ // - git.unstageAll // - github.copyVscodeDevLink // - github.copyVscodeDevLinkFile +// - github.openOnVscodeDev // - github.publish // - goToNextReferenceFromEmbeddedEditor // - goToPreviousReferenceFromEmbeddedEditor @@ -1741,13 +1781,16 @@ // - list.scrollRight // - list.selectAndPreserveFocus // - list.toggleFilterOnType +// - list.toggleFindMode // - list.toggleKeyboardNavigation +// - list.triggerTypeNavigation // - markdown.findAllFileReferences // - markdown.preview.refresh // - markdown.preview.toggleLock // - markdown.showLockedPreviewToSide // - markdown.showPreviewSecuritySelector // - markdown.showSource +// - menu.resetHiddenStates // - merge-conflict.accept.all-both // - merge-conflict.accept.all-current // - merge-conflict.accept.all-incoming @@ -1758,12 +1801,16 @@ // - merge-conflict.compare // - merge-conflict.next // - merge-conflict.previous +// - merge.acceptAllInput1 +// - merge.acceptAllInput2 // - merge.columnLayout // - merge.dev.copyContents // - merge.dev.openContents // - merge.goToNextConflict // - merge.goToPreviousConflict // - merge.mixedLayout +// - merge.openBaseEditor +// - merge.openResult // - merge.toggleActiveConflictInput1 // - merge.toggleActiveConflictInput2 // - mergeEditor.compareInput1WithBase @@ -1802,6 +1849,7 @@ // - notebook.execute // - notebook.inspectLayout // - notebook.renderAllMarkdownCells +// - notebook.revealLastFailedCell // - notebook.revealRunningCell // - notebook.saveMimeTypeOrder // - notebook.setProfile @@ -1890,11 +1938,15 @@ // - revealInExplorer // - saveAll // - scm.openInTerminal +// - scrollEditorBottom +// - scrollEditorTop // - search.action.clearHistory // - search.action.clearSearchResults // - search.action.collapseSearchResults // - search.action.copyAll // - search.action.expandSearchResults +// - search.action.focusFilesToExclude +// - search.action.focusFilesToInclude // - search.action.focusSearchList // - search.action.openEditor // - search.action.openNewEditor @@ -1945,6 +1997,8 @@ // - timeline.toggleVisibility // - toggle.diff.ignoreTrimWhitespace // - toggle.diff.renderSideBySide +// - toggle.window.commandCenter +// - toggle.workbench.layoutControl.enabled // - toggleEscapeSequenceLogging // - typescript.findAllFileReferences // - typescript.goToProjectConfig @@ -2003,12 +2057,17 @@ // - workbench.action.createTerminalEditor // - workbench.action.createTerminalEditorSide // - workbench.action.customizeLayout +// - workbench.action.debug.callStackBottom +// - workbench.action.debug.callStackDown +// - workbench.action.debug.callStackTop +// - workbench.action.debug.callStackUp // - workbench.action.debug.configure // - workbench.action.debug.disconnectAndSuspend // - workbench.action.debug.focusProcess // - workbench.action.debug.restartFrame // - workbench.action.debug.reverseContinue // - workbench.action.debug.selectDebugConsole +// - workbench.action.debug.selectDebugSession // - workbench.action.debug.selectRepl // - workbench.action.debug.selectandstart // - workbench.action.debug.showLoadedScripts @@ -2034,6 +2093,7 @@ // - workbench.action.editorLayoutTwoRowsRight // - workbench.action.evenEditorWidths // - workbench.action.extensionHostProfiler.stop +// - workbench.action.files.newFile // - workbench.action.files.openFileFolderInNewWindow // - workbench.action.files.openFileInNewWindow // - workbench.action.files.openFolderInNewWindow @@ -2059,6 +2119,7 @@ // - workbench.action.focusRightGroupWithoutWrap // - workbench.action.focusSecondSideEditor // - workbench.action.focusStatusBar +// - workbench.action.focusTitleBar // - workbench.action.generateColorTheme // - workbench.action.increaseViewHeight // - workbench.action.increaseViewSize @@ -2119,6 +2180,7 @@ // - workbench.action.nextPanelView // - workbench.action.nextSideBarView // - workbench.action.openActiveLogOutputFile +// - workbench.action.openApplicationSettingsJson // - workbench.action.openDefaultKeybindingsFile // - workbench.action.openDocumentationUrl // - workbench.action.openEditorAtIndex @@ -2157,6 +2219,7 @@ // - workbench.action.openWorkspaceSettings // - workbench.action.openWorkspaceSettingsFile // - workbench.action.pauseSocketWriting +// - workbench.action.populateFileFromSnippet // - workbench.action.positionPanelBottom // - workbench.action.positionPanelLeft // - workbench.action.positionPanelRight @@ -2243,6 +2306,7 @@ // - workbench.action.terminal.changeIconPanel // - workbench.action.terminal.clear // - workbench.action.terminal.clearCommandHistory +// - workbench.action.terminal.copyLastCommand // - workbench.action.terminal.copySelectionAsHtml // - workbench.action.terminal.createProfileButton // - workbench.action.terminal.detachSession @@ -2341,6 +2405,8 @@ // - workbench.actions.treeView.testExplorer.filter // - workbench.actions.treeView.workbench.panel.markers.view.collapseAll // - workbench.actions.treeView.workbench.panel.markers.view.filter +// - workbench.actions.treeView.workbench.views.editSessions.data.collapseAll +// - workbench.actions.treeView.workbench.views.editSessions.data.refresh // - workbench.actions.treeView.workbench.views.sync.localActivity.collapseAll // - workbench.actions.treeView.workbench.views.sync.localActivity.refresh // - workbench.actions.treeView.workbench.views.sync.machines.collapseAll @@ -2380,6 +2446,9 @@ // - workbench.debug.welcome.removeView // - workbench.debug.welcome.resetViewLocation // - workbench.debug.welcome.toggleVisibility +// - workbench.editSessions.actions.delete +// - workbench.editSessions.actions.resetAuth +// - workbench.editSessions.actions.resume // - workbench.explorer.emptyView.removeView // - workbench.explorer.emptyView.resetViewLocation // - workbench.explorer.emptyView.toggleVisibility @@ -2394,6 +2463,7 @@ // - workbench.extensions.action.addToWorkspaceRecommendations // - workbench.extensions.action.checkForUpdates // - workbench.extensions.action.clearExtensionsSearchResults +// - workbench.extensions.action.clearLanguage // - workbench.extensions.action.configure // - workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions // - workbench.extensions.action.configureWorkspaceRecommendedExtensions @@ -2479,11 +2549,14 @@ // - workbench.panel.repl.view.resetViewLocation // - workbench.panel.repl.view.toggleVisibility // - workbench.profiles.actions.cleanupProfiles +// - workbench.profiles.actions.createEmptyProfile // - workbench.profiles.actions.createFromCurrentProfile // - workbench.profiles.actions.createProfile +// - workbench.profiles.actions.deleteProfile // - workbench.profiles.actions.exportProfile // - workbench.profiles.actions.importProfile -// - workbench.profiles.actions.removeProfile +// - workbench.profiles.actions.profileEntry.-533fcc40 +// - workbench.profiles.actions.renameProfile // - workbench.profiles.actions.switchProfile // - workbench.scm.action.collapseAllRepositories // - workbench.scm.action.expandAllRepositories @@ -2501,7 +2574,6 @@ // - workbench.scm.repositories.resetViewLocation // - workbench.scm.resetViewLocation // - workbench.scm.toggleVisibility -// - workbench.sessionSync.actions.resetAuth // - workbench.trust.configure // - workbench.trust.manage // - workbench.userData.actions.askToTunrOnAfterInit @@ -2523,6 +2595,8 @@ // - workbench.userDataSync.actions.turnOff // - workbench.userDataSync.actions.turnOn // - workbench.view.debug.resetViewContainerLocation +// - workbench.view.editSessions +// - workbench.view.editSessions.resetViewContainerLocation // - workbench.view.explorer.resetViewContainerLocation // - workbench.view.extension.references-view // - workbench.view.extension.references-view.resetViewContainerLocation @@ -2541,6 +2615,8 @@ // - workbench.view.sync.resetViewContainerLocation // - workbench.view.testing.focus // - workbench.view.testing.resetViewLocation +// - workbench.views.editSessions.data.focus +// - workbench.views.editSessions.data.resetViewLocation // - workbench.views.extensions.builtinFeatureExtensions.focus // - workbench.views.extensions.builtinFeatureExtensions.resetViewLocation // - workbench.views.extensions.builtinProgrammingLanguageExtensions.focus diff --git a/generator/default-keybindings-mac.json b/generator/default-keybindings-mac.json index 17f8ff37..edc99168 100644 --- a/generator/default-keybindings-mac.json +++ b/generator/default-keybindings-mac.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.69.2 for macOS +// Default Keybindings of Visual Studio Code 1.70.0 for macOS // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -382,6 +382,8 @@ "when": "editorTextFocus && hasWordHighlights" }, { "key": "escape", "command": "editor.cancelOperation", "when": "cancellableOperation" }, +{ "key": "cmd+k cmd+,", "command": "editor.createFoldingRangeFromSelection", + "when": "editorTextFocus && foldingEnabled" }, { "key": "escape", "command": "editor.debug.action.closeExceptionWidget", "when": "exceptionWidgetVisible" }, { "key": "cmd+k cmd+i", "command": "editor.debug.action.showDebugHover", @@ -420,6 +422,8 @@ "when": "hasSymbols" }, { "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel", "when": "hasSymbols" }, +{ "key": "cmd+k cmd+.", "command": "editor.removeManualFoldingRanges", + "when": "editorTextFocus && foldingEnabled" }, { "key": "cmd+k cmd+l", "command": "editor.toggleFold", "when": "editorTextFocus && foldingEnabled" }, { "key": "alt+cmd+]", "command": "editor.unfold", @@ -559,13 +563,17 @@ { "key": "up", "command": "showPrevParameterHint", "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "tab", "command": "acceptSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "enter", "command": "acceptSelectedSuggestion", - "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, + "when": "acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, +{ "key": "shift+escape", "command": "hideCodeActionMenuWidget", + "when": "CodeActionMenuVisible" }, +{ "key": "escape", "command": "hideCodeActionMenuWidget", + "when": "CodeActionMenuVisible" }, { "key": "shift+escape", "command": "hideSuggestWidget", "when": "suggestWidgetVisible && textInputFocus" }, { "key": "escape", "command": "hideSuggestWidget", @@ -728,6 +736,8 @@ "when": "inKeybindings" }, { "key": "escape", "command": "list.clear", "when": "listFocus && listHasSelectionOrFocus && !inputFocus" }, +{ "key": "escape", "command": "list.closeFind", + "when": "listFocus && treeFindOpen" }, { "key": "cmd+up", "command": "list.collapse", "when": "listFocus && treeElementCanCollapse && !inputFocus || listFocus && treeElementHasParent && !inputFocus" }, { "key": "left", "command": "list.collapse", @@ -742,6 +752,10 @@ "when": "listFocus && listSupportsMultiselect && !inputFocus" }, { "key": "shift+up", "command": "list.expandSelectionUp", "when": "listFocus && listSupportsMultiselect && !inputFocus" }, +{ "key": "f3", "command": "list.find", + "when": "listFocus && listSupportsFind" }, +{ "key": "cmd+f", "command": "list.find", + "when": "listFocus && listSupportsFind" }, { "key": "ctrl+n", "command": "list.focusDown", "when": "listFocus && !inputFocus" }, { "key": "down", "command": "list.focusDown", @@ -1141,7 +1155,8 @@ "when": "activeEditorCanSplitInGroup" }, { "key": "cmd+k cmd+\\", "command": "workbench.action.splitEditorOrthogonal" }, { "key": "ctrl+w", "command": "workbench.action.switchWindow" }, -{ "key": "shift+cmd+b", "command": "workbench.action.tasks.build" }, +{ "key": "shift+cmd+b", "command": "workbench.action.tasks.build", + "when": "taskCommandsRegistered" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocus && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocus && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, { "key": "cmd+c", "command": "workbench.action.terminal.copySelection", @@ -1236,6 +1251,21 @@ "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, { "key": "shift+cmd+up", "command": "workbench.action.terminal.selectToPreviousCommand", "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, +{ "key": "ctrl+space", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~a"} }, +{ "key": "alt+space", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~b"} }, +{ "key": "shift+enter", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~c"} }, +{ "key": "shift+cmd+right", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~d"} }, +{ "key": "shift+cmd+left", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[1;2H"} }, { "key": "alt+backspace", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u0017"} }, @@ -1469,7 +1499,21 @@ { "key": "shift+f4", "command": "references-view.prev", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", - "when": "editorHasCallHierarchyProvider" } + "when": "editorHasCallHierarchyProvider" }, +{ "key": "cmd+down", "command": "focusNextCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "down", "command": "focusNextCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "cmd+up", "command": "focusPreviousCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "up", "command": "focusPreviousCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "shift+tab", "command": "onEnterSelectCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "enter", "command": "onEnterSelectCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "cmd+enter", "command": "onEnterSelectCodeActionWithPreview", + "when": "CodeActionMenuVisible" } ] @@ -1486,6 +1530,7 @@ // - closeReferenceSearchEditor // - codelens.showLensesInCurrentLine // - columnSelect +// - commandCenter.help // - comments.collapse // - compareFiles // - compareSelected @@ -1820,6 +1865,7 @@ // - git.unstageAll // - github.copyVscodeDevLink // - github.copyVscodeDevLinkFile +// - github.openOnVscodeDev // - github.publish // - goToNextReferenceFromEmbeddedEditor // - goToPreviousReferenceFromEmbeddedEditor @@ -1856,13 +1902,16 @@ // - list.scrollRight // - list.selectAndPreserveFocus // - list.toggleFilterOnType +// - list.toggleFindMode // - list.toggleKeyboardNavigation +// - list.triggerTypeNavigation // - markdown.findAllFileReferences // - markdown.preview.refresh // - markdown.preview.toggleLock // - markdown.showLockedPreviewToSide // - markdown.showPreviewSecuritySelector // - markdown.showSource +// - menu.resetHiddenStates // - merge-conflict.accept.all-both // - merge-conflict.accept.all-current // - merge-conflict.accept.all-incoming @@ -1873,12 +1922,16 @@ // - merge-conflict.compare // - merge-conflict.next // - merge-conflict.previous +// - merge.acceptAllInput1 +// - merge.acceptAllInput2 // - merge.columnLayout // - merge.dev.copyContents // - merge.dev.openContents // - merge.goToNextConflict // - merge.goToPreviousConflict // - merge.mixedLayout +// - merge.openBaseEditor +// - merge.openResult // - merge.toggleActiveConflictInput1 // - merge.toggleActiveConflictInput2 // - mergeEditor.compareInput1WithBase @@ -1917,6 +1970,7 @@ // - notebook.execute // - notebook.inspectLayout // - notebook.renderAllMarkdownCells +// - notebook.revealLastFailedCell // - notebook.revealRunningCell // - notebook.saveMimeTypeOrder // - notebook.setProfile @@ -2004,11 +2058,15 @@ // - resetGettingStartedProgress // - revealInExplorer // - scm.openInTerminal +// - scrollEditorBottom +// - scrollEditorTop // - search.action.clearHistory // - search.action.clearSearchResults // - search.action.collapseSearchResults // - search.action.copyAll // - search.action.expandSearchResults +// - search.action.focusFilesToExclude +// - search.action.focusFilesToInclude // - search.action.focusSearchList // - search.action.openEditor // - search.action.openNewEditor @@ -2059,6 +2117,8 @@ // - timeline.toggleVisibility // - toggle.diff.ignoreTrimWhitespace // - toggle.diff.renderSideBySide +// - toggle.window.commandCenter +// - toggle.workbench.layoutControl.enabled // - toggleEscapeSequenceLogging // - typescript.findAllFileReferences // - typescript.goToProjectConfig @@ -2116,12 +2176,17 @@ // - workbench.action.createTerminalEditor // - workbench.action.createTerminalEditorSide // - workbench.action.customizeLayout +// - workbench.action.debug.callStackBottom +// - workbench.action.debug.callStackDown +// - workbench.action.debug.callStackTop +// - workbench.action.debug.callStackUp // - workbench.action.debug.configure // - workbench.action.debug.disconnectAndSuspend // - workbench.action.debug.focusProcess // - workbench.action.debug.restartFrame // - workbench.action.debug.reverseContinue // - workbench.action.debug.selectDebugConsole +// - workbench.action.debug.selectDebugSession // - workbench.action.debug.selectRepl // - workbench.action.debug.selectandstart // - workbench.action.debug.showLoadedScripts @@ -2146,6 +2211,8 @@ // - workbench.action.editorLayoutTwoRows // - workbench.action.editorLayoutTwoRowsRight // - workbench.action.evenEditorWidths +// - workbench.action.extensionHostProfiler.stop +// - workbench.action.files.newFile // - workbench.action.files.openFileFolderInNewWindow // - workbench.action.files.openFileInNewWindow // - workbench.action.files.openFolder @@ -2172,6 +2239,7 @@ // - workbench.action.focusRightGroupWithoutWrap // - workbench.action.focusSecondSideEditor // - workbench.action.focusStatusBar +// - workbench.action.focusTitleBar // - workbench.action.generateColorTheme // - workbench.action.increaseViewHeight // - workbench.action.increaseViewSize @@ -2236,6 +2304,7 @@ // - workbench.action.nextPanelView // - workbench.action.nextSideBarView // - workbench.action.openActiveLogOutputFile +// - workbench.action.openApplicationSettingsJson // - workbench.action.openDefaultKeybindingsFile // - workbench.action.openDocumentationUrl // - workbench.action.openEditorAtIndex @@ -2274,6 +2343,7 @@ // - workbench.action.openWorkspaceSettings // - workbench.action.openWorkspaceSettingsFile // - workbench.action.pauseSocketWriting +// - workbench.action.populateFileFromSnippet // - workbench.action.positionPanelBottom // - workbench.action.positionPanelLeft // - workbench.action.positionPanelRight @@ -2355,6 +2425,7 @@ // - workbench.action.terminal.changeIconInstance // - workbench.action.terminal.changeIconPanel // - workbench.action.terminal.clearCommandHistory +// - workbench.action.terminal.copyLastCommand // - workbench.action.terminal.copySelectionAsHtml // - workbench.action.terminal.createProfileButton // - workbench.action.terminal.detachSession @@ -2451,6 +2522,8 @@ // - workbench.actions.treeView.testExplorer.filter // - workbench.actions.treeView.workbench.panel.markers.view.collapseAll // - workbench.actions.treeView.workbench.panel.markers.view.filter +// - workbench.actions.treeView.workbench.views.editSessions.data.collapseAll +// - workbench.actions.treeView.workbench.views.editSessions.data.refresh // - workbench.actions.treeView.workbench.views.sync.localActivity.collapseAll // - workbench.actions.treeView.workbench.views.sync.localActivity.refresh // - workbench.actions.treeView.workbench.views.sync.machines.collapseAll @@ -2490,6 +2563,9 @@ // - workbench.debug.welcome.removeView // - workbench.debug.welcome.resetViewLocation // - workbench.debug.welcome.toggleVisibility +// - workbench.editSessions.actions.delete +// - workbench.editSessions.actions.resetAuth +// - workbench.editSessions.actions.resume // - workbench.explorer.emptyView.removeView // - workbench.explorer.emptyView.resetViewLocation // - workbench.explorer.emptyView.toggleVisibility @@ -2504,6 +2580,7 @@ // - workbench.extensions.action.addToWorkspaceRecommendations // - workbench.extensions.action.checkForUpdates // - workbench.extensions.action.clearExtensionsSearchResults +// - workbench.extensions.action.clearLanguage // - workbench.extensions.action.configure // - workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions // - workbench.extensions.action.configureWorkspaceRecommendedExtensions @@ -2554,6 +2631,7 @@ // - workbench.extensions.action.undoIgnoredRecommendation // - workbench.extensions.action.updateAllExtensions // - workbench.extensions.command.installFromVSIX +// - workbench.extensions.installMissingDependencies // - workbench.files.action.acceptLocalChanges // - workbench.files.action.collapseExplorerFolders // - workbench.files.action.compareFileWith @@ -2588,11 +2666,14 @@ // - workbench.panel.repl.view.resetViewLocation // - workbench.panel.repl.view.toggleVisibility // - workbench.profiles.actions.cleanupProfiles +// - workbench.profiles.actions.createEmptyProfile // - workbench.profiles.actions.createFromCurrentProfile // - workbench.profiles.actions.createProfile +// - workbench.profiles.actions.deleteProfile // - workbench.profiles.actions.exportProfile // - workbench.profiles.actions.importProfile -// - workbench.profiles.actions.removeProfile +// - workbench.profiles.actions.profileEntry.-72063ec3 +// - workbench.profiles.actions.renameProfile // - workbench.profiles.actions.switchProfile // - workbench.scm.action.collapseAllRepositories // - workbench.scm.action.expandAllRepositories @@ -2610,7 +2691,6 @@ // - workbench.scm.repositories.resetViewLocation // - workbench.scm.resetViewLocation // - workbench.scm.toggleVisibility -// - workbench.sessionSync.actions.resetAuth // - workbench.trust.configure // - workbench.trust.manage // - workbench.userData.actions.askToTunrOnAfterInit @@ -2632,6 +2712,8 @@ // - workbench.userDataSync.actions.turnOff // - workbench.userDataSync.actions.turnOn // - workbench.view.debug.resetViewContainerLocation +// - workbench.view.editSessions +// - workbench.view.editSessions.resetViewContainerLocation // - workbench.view.explorer.resetViewContainerLocation // - workbench.view.extension.references-view // - workbench.view.extension.references-view.resetViewContainerLocation @@ -2650,6 +2732,8 @@ // - workbench.view.sync.resetViewContainerLocation // - workbench.view.testing.focus // - workbench.view.testing.resetViewLocation +// - workbench.views.editSessions.data.focus +// - workbench.views.editSessions.data.resetViewLocation // - workbench.views.extensions.builtinFeatureExtensions.focus // - workbench.views.extensions.builtinFeatureExtensions.resetViewLocation // - workbench.views.extensions.builtinProgrammingLanguageExtensions.focus diff --git a/generator/default-keybindings-win.json b/generator/default-keybindings-win.json index 3e43a10c..d240c727 100644 --- a/generator/default-keybindings-win.json +++ b/generator/default-keybindings-win.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.69.2 for Windows +// Default Keybindings of Visual Studio Code 1.70.0 for Windows // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -318,6 +318,8 @@ "when": "editorTextFocus && hasWordHighlights" }, { "key": "escape", "command": "editor.cancelOperation", "when": "cancellableOperation" }, +{ "key": "ctrl+k ctrl+,", "command": "editor.createFoldingRangeFromSelection", + "when": "editorTextFocus && foldingEnabled" }, { "key": "escape", "command": "editor.debug.action.closeExceptionWidget", "when": "exceptionWidgetVisible" }, { "key": "ctrl+k ctrl+i", "command": "editor.debug.action.showDebugHover", @@ -356,6 +358,8 @@ "when": "hasSymbols" }, { "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel", "when": "hasSymbols" }, +{ "key": "ctrl+k ctrl+.", "command": "editor.removeManualFoldingRanges", + "when": "editorTextFocus && foldingEnabled" }, { "key": "ctrl+k ctrl+l", "command": "editor.toggleFold", "when": "editorTextFocus && foldingEnabled" }, { "key": "ctrl+shift+]", "command": "editor.unfold", @@ -489,13 +493,17 @@ { "key": "up", "command": "showPrevParameterHint", "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" }, { "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "tab", "command": "acceptSelectedSuggestion", - "when": "suggestWidgetVisible && textInputFocus" }, + "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "enter", "command": "acceptSelectedSuggestion", - "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, + "when": "acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, +{ "key": "shift+escape", "command": "hideCodeActionMenuWidget", + "when": "CodeActionMenuVisible" }, +{ "key": "escape", "command": "hideCodeActionMenuWidget", + "when": "CodeActionMenuVisible" }, { "key": "shift+escape", "command": "hideSuggestWidget", "when": "suggestWidgetVisible && textInputFocus" }, { "key": "escape", "command": "hideSuggestWidget", @@ -654,6 +662,8 @@ "when": "inKeybindings" }, { "key": "escape", "command": "list.clear", "when": "listFocus && listHasSelectionOrFocus && !inputFocus" }, +{ "key": "escape", "command": "list.closeFind", + "when": "listFocus && treeFindOpen" }, { "key": "left", "command": "list.collapse", "when": "listFocus && treeElementCanCollapse && !inputFocus || listFocus && treeElementHasParent && !inputFocus" }, { "key": "ctrl+left", "command": "list.collapseAll", @@ -664,6 +674,10 @@ "when": "listFocus && listSupportsMultiselect && !inputFocus" }, { "key": "shift+up", "command": "list.expandSelectionUp", "when": "listFocus && listSupportsMultiselect && !inputFocus" }, +{ "key": "f3", "command": "list.find", + "when": "listFocus && listSupportsFind" }, +{ "key": "ctrl+f", "command": "list.find", + "when": "listFocus && listSupportsFind" }, { "key": "down", "command": "list.focusDown", "when": "listFocus && !inputFocus" }, { "key": "home", "command": "list.focusFirst", @@ -1053,7 +1067,8 @@ { "key": "ctrl+k ctrl+shift+\\", "command": "workbench.action.splitEditorInGroup", "when": "activeEditorCanSplitInGroup" }, { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorOrthogonal" }, -{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build" }, +{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build", + "when": "taskCommandsRegistered" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocus && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocus && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, { "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection", @@ -1141,6 +1156,15 @@ { "key": "ctrl+v", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus && !accessibilityModeEnabled && terminalShellType == 'pwsh'", "args": {"text":"\u0016"} }, +{ "key": "ctrl+space", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~a"} }, +{ "key": "alt+space", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~b"} }, +{ "key": "shift+enter", "command": "workbench.action.terminal.sendSequence", + "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", + "args": {"text":"\u001b[24~c"} }, { "key": "ctrl+backspace", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u0017"} }, @@ -1355,7 +1379,21 @@ { "key": "shift+f4", "command": "references-view.prev", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", - "when": "editorHasCallHierarchyProvider" } + "when": "editorHasCallHierarchyProvider" }, +{ "key": "ctrl+down", "command": "focusNextCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "down", "command": "focusNextCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "ctrl+up", "command": "focusPreviousCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "up", "command": "focusPreviousCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "shift+tab", "command": "onEnterSelectCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "enter", "command": "onEnterSelectCodeAction", + "when": "CodeActionMenuVisible" }, +{ "key": "ctrl+enter", "command": "onEnterSelectCodeActionWithPreview", + "when": "CodeActionMenuVisible" } ] @@ -1373,6 +1411,7 @@ // - closeReferenceSearchEditor // - codelens.showLensesInCurrentLine // - columnSelect +// - commandCenter.help // - comments.collapse // - compareFiles // - compareSelected @@ -1721,6 +1760,7 @@ // - git.unstageAll // - github.copyVscodeDevLink // - github.copyVscodeDevLinkFile +// - github.openOnVscodeDev // - github.publish // - goToNextReferenceFromEmbeddedEditor // - goToPreviousReferenceFromEmbeddedEditor @@ -1758,13 +1798,16 @@ // - list.scrollRight // - list.selectAndPreserveFocus // - list.toggleFilterOnType +// - list.toggleFindMode // - list.toggleKeyboardNavigation +// - list.triggerTypeNavigation // - markdown.findAllFileReferences // - markdown.preview.refresh // - markdown.preview.toggleLock // - markdown.showLockedPreviewToSide // - markdown.showPreviewSecuritySelector // - markdown.showSource +// - menu.resetHiddenStates // - merge-conflict.accept.all-both // - merge-conflict.accept.all-current // - merge-conflict.accept.all-incoming @@ -1775,12 +1818,16 @@ // - merge-conflict.compare // - merge-conflict.next // - merge-conflict.previous +// - merge.acceptAllInput1 +// - merge.acceptAllInput2 // - merge.columnLayout // - merge.dev.copyContents // - merge.dev.openContents // - merge.goToNextConflict // - merge.goToPreviousConflict // - merge.mixedLayout +// - merge.openBaseEditor +// - merge.openResult // - merge.toggleActiveConflictInput1 // - merge.toggleActiveConflictInput2 // - mergeEditor.compareInput1WithBase @@ -1819,6 +1866,7 @@ // - notebook.execute // - notebook.inspectLayout // - notebook.renderAllMarkdownCells +// - notebook.revealLastFailedCell // - notebook.revealRunningCell // - notebook.saveMimeTypeOrder // - notebook.setProfile @@ -1908,11 +1956,15 @@ // - resetGettingStartedProgress // - revealInExplorer // - scm.openInTerminal +// - scrollEditorBottom +// - scrollEditorTop // - search.action.clearHistory // - search.action.clearSearchResults // - search.action.collapseSearchResults // - search.action.copyAll // - search.action.expandSearchResults +// - search.action.focusFilesToExclude +// - search.action.focusFilesToInclude // - search.action.focusSearchList // - search.action.openEditor // - search.action.openNewEditor @@ -1963,6 +2015,8 @@ // - timeline.toggleVisibility // - toggle.diff.ignoreTrimWhitespace // - toggle.diff.renderSideBySide +// - toggle.window.commandCenter +// - toggle.workbench.layoutControl.enabled // - toggleEscapeSequenceLogging // - typescript.findAllFileReferences // - typescript.goToProjectConfig @@ -2021,12 +2075,17 @@ // - workbench.action.createTerminalEditor // - workbench.action.createTerminalEditorSide // - workbench.action.customizeLayout +// - workbench.action.debug.callStackBottom +// - workbench.action.debug.callStackDown +// - workbench.action.debug.callStackTop +// - workbench.action.debug.callStackUp // - workbench.action.debug.configure // - workbench.action.debug.disconnectAndSuspend // - workbench.action.debug.focusProcess // - workbench.action.debug.restartFrame // - workbench.action.debug.reverseContinue // - workbench.action.debug.selectDebugConsole +// - workbench.action.debug.selectDebugSession // - workbench.action.debug.selectRepl // - workbench.action.debug.selectandstart // - workbench.action.debug.showLoadedScripts @@ -2052,6 +2111,7 @@ // - workbench.action.editorLayoutTwoRowsRight // - workbench.action.evenEditorWidths // - workbench.action.extensionHostProfiler.stop +// - workbench.action.files.newFile // - workbench.action.files.openFileFolderInNewWindow // - workbench.action.files.openFileInNewWindow // - workbench.action.files.openFolderInNewWindow @@ -2077,6 +2137,7 @@ // - workbench.action.focusRightGroupWithoutWrap // - workbench.action.focusSecondSideEditor // - workbench.action.focusStatusBar +// - workbench.action.focusTitleBar // - workbench.action.generateColorTheme // - workbench.action.increaseViewHeight // - workbench.action.increaseViewSize @@ -2137,6 +2198,7 @@ // - workbench.action.nextPanelView // - workbench.action.nextSideBarView // - workbench.action.openActiveLogOutputFile +// - workbench.action.openApplicationSettingsJson // - workbench.action.openDefaultKeybindingsFile // - workbench.action.openDocumentationUrl // - workbench.action.openEditorAtIndex @@ -2175,6 +2237,7 @@ // - workbench.action.openWorkspaceSettings // - workbench.action.openWorkspaceSettingsFile // - workbench.action.pauseSocketWriting +// - workbench.action.populateFileFromSnippet // - workbench.action.positionPanelBottom // - workbench.action.positionPanelLeft // - workbench.action.positionPanelRight @@ -2259,6 +2322,7 @@ // - workbench.action.terminal.changeIconPanel // - workbench.action.terminal.clear // - workbench.action.terminal.clearCommandHistory +// - workbench.action.terminal.copyLastCommand // - workbench.action.terminal.copySelectionAsHtml // - workbench.action.terminal.createProfileButton // - workbench.action.terminal.detachSession @@ -2359,6 +2423,8 @@ // - workbench.actions.treeView.testExplorer.filter // - workbench.actions.treeView.workbench.panel.markers.view.collapseAll // - workbench.actions.treeView.workbench.panel.markers.view.filter +// - workbench.actions.treeView.workbench.views.editSessions.data.collapseAll +// - workbench.actions.treeView.workbench.views.editSessions.data.refresh // - workbench.actions.treeView.workbench.views.sync.localActivity.collapseAll // - workbench.actions.treeView.workbench.views.sync.localActivity.refresh // - workbench.actions.treeView.workbench.views.sync.machines.collapseAll @@ -2398,6 +2464,9 @@ // - workbench.debug.welcome.removeView // - workbench.debug.welcome.resetViewLocation // - workbench.debug.welcome.toggleVisibility +// - workbench.editSessions.actions.delete +// - workbench.editSessions.actions.resetAuth +// - workbench.editSessions.actions.resume // - workbench.explorer.emptyView.removeView // - workbench.explorer.emptyView.resetViewLocation // - workbench.explorer.emptyView.toggleVisibility @@ -2412,6 +2481,7 @@ // - workbench.extensions.action.addToWorkspaceRecommendations // - workbench.extensions.action.checkForUpdates // - workbench.extensions.action.clearExtensionsSearchResults +// - workbench.extensions.action.clearLanguage // - workbench.extensions.action.configure // - workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions // - workbench.extensions.action.configureWorkspaceRecommendedExtensions @@ -2497,11 +2567,14 @@ // - workbench.panel.repl.view.resetViewLocation // - workbench.panel.repl.view.toggleVisibility // - workbench.profiles.actions.cleanupProfiles +// - workbench.profiles.actions.createEmptyProfile // - workbench.profiles.actions.createFromCurrentProfile // - workbench.profiles.actions.createProfile +// - workbench.profiles.actions.deleteProfile // - workbench.profiles.actions.exportProfile // - workbench.profiles.actions.importProfile -// - workbench.profiles.actions.removeProfile +// - workbench.profiles.actions.profileEntry.22483868 +// - workbench.profiles.actions.renameProfile // - workbench.profiles.actions.switchProfile // - workbench.scm.action.collapseAllRepositories // - workbench.scm.action.expandAllRepositories @@ -2519,7 +2592,6 @@ // - workbench.scm.repositories.resetViewLocation // - workbench.scm.resetViewLocation // - workbench.scm.toggleVisibility -// - workbench.sessionSync.actions.resetAuth // - workbench.trust.configure // - workbench.trust.manage // - workbench.userData.actions.askToTunrOnAfterInit @@ -2541,6 +2613,8 @@ // - workbench.userDataSync.actions.turnOff // - workbench.userDataSync.actions.turnOn // - workbench.view.debug.resetViewContainerLocation +// - workbench.view.editSessions +// - workbench.view.editSessions.resetViewContainerLocation // - workbench.view.explorer.resetViewContainerLocation // - workbench.view.extension.references-view // - workbench.view.extension.references-view.resetViewContainerLocation @@ -2559,6 +2633,8 @@ // - workbench.view.sync.resetViewContainerLocation // - workbench.view.testing.focus // - workbench.view.testing.resetViewLocation +// - workbench.views.editSessions.data.focus +// - workbench.views.editSessions.data.resetViewLocation // - workbench.views.extensions.builtinFeatureExtensions.focus // - workbench.views.extensions.builtinFeatureExtensions.resetViewLocation // - workbench.views.extensions.builtinProgrammingLanguageExtensions.focus diff --git a/package.json b/package.json index 94613875..0d9b90b8 100644 --- a/package.json +++ b/package.json @@ -222,6 +222,14 @@ }, "when": "kb-macro.recording && editorFocus && parameterHintsVisible" }, + { + "key": "shift+escape", + "command": "kb-macro.wrap", + "args": { + "command": "hideCodeActionMenuWidget" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "shift+escape", "command": "kb-macro.wrap", @@ -473,6 +481,14 @@ }, "when": "kb-macro.recording && editorFocus && parameterHintsVisible" }, + { + "key": "escape", + "command": "kb-macro.wrap", + "args": { + "command": "hideCodeActionMenuWidget" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "escape", "command": "kb-macro.wrap", @@ -530,6 +546,14 @@ }, "when": "kb-macro.recording && listFocus && listHasSelectionOrFocus && !inputFocus" }, + { + "key": "escape", + "command": "kb-macro.wrap", + "args": { + "command": "list.closeFind" + }, + "when": "kb-macro.recording && listFocus && treeFindOpen" + }, { "key": "escape", "command": "kb-macro.wrap", @@ -877,6 +901,14 @@ }, "when": "kb-macro.recording && statusBarFocused" }, + { + "key": "down", + "command": "kb-macro.wrap", + "args": { + "command": "focusNextCodeAction" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "ctrl+shift+down", "command": "kb-macro.wrap", @@ -1555,6 +1587,14 @@ }, "when": "kb-macro.recording && statusBarFocused" }, + { + "key": "up", + "command": "kb-macro.wrap", + "args": { + "command": "focusPreviousCodeAction" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "ctrl+shift+up", "command": "kb-macro.wrap", @@ -1817,7 +1857,7 @@ "command": "acceptAlternativeSelectedSuggestion", "record": "side-effect" }, - "when": "kb-macro.recording && suggestWidgetVisible && textInputFocus" + "when": "kb-macro.recording && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "shift+tab", @@ -1828,6 +1868,14 @@ }, "when": "kb-macro.recording && hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" }, + { + "key": "shift+tab", + "command": "kb-macro.wrap", + "args": { + "command": "onEnterSelectCodeAction" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "ctrl+shift+z", "mac": "shift+cmd+z", @@ -1956,6 +2004,23 @@ }, "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.recording && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, + { + "key": "cmd+down", + "command": "kb-macro.wrap", + "args": { + "command": "explorer.openAndPassFocus" + }, + "when": "kb-macro.recording && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus" + }, + { + "key": "ctrl+down", + "mac": "cmd+down", + "command": "kb-macro.wrap", + "args": { + "command": "focusNextCodeAction" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "ctrl+up", "command": "kb-macro.wrap", @@ -2026,6 +2091,15 @@ }, "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.recording && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, + { + "key": "ctrl+up", + "mac": "cmd+up", + "command": "kb-macro.wrap", + "args": { + "command": "focusPreviousCodeAction" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "alt+pagedown", "mac": "cmd+pagedown", @@ -2085,7 +2159,7 @@ "command": "acceptSelectedSuggestion", "record": "side-effect" }, - "when": "kb-macro.recording && suggestWidgetVisible && textInputFocus" + "when": "kb-macro.recording && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "tab", @@ -2257,7 +2331,7 @@ "command": "acceptAlternativeSelectedSuggestion", "record": "side-effect" }, - "when": "kb-macro.recording && suggestWidgetVisible && textInputFocus" + "when": "kb-macro.recording && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "shift+enter", @@ -2291,6 +2365,17 @@ }, "when": "kb-macro.recording && terminalFindInputFocused && terminalHasBeenCreated || kb-macro.recording && terminalFindInputFocused && terminalProcessSupported" }, + { + "key": "shift+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u001b[24~c" + } + }, + "when": "kb-macro.recording && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" + }, { "key": "alt+enter", "command": "kb-macro.wrap", @@ -2484,6 +2569,15 @@ }, "when": "kb-macro.recording && inKeybindings" }, + { + "key": "ctrl+f", + "mac": "cmd+f", + "command": "kb-macro.wrap", + "args": { + "command": "list.find" + }, + "when": "kb-macro.recording && listFocus && listSupportsFind" + }, { "key": "ctrl+f", "mac": "cmd+f", @@ -2566,7 +2660,7 @@ "command": "acceptSelectedSuggestion", "record": "side-effect" }, - "when": "kb-macro.recording && acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" + "when": "kb-macro.recording && acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, { "key": "enter", @@ -2666,12 +2760,59 @@ }, { "key": "enter", - "mac": "cmd+down", "command": "kb-macro.wrap", "args": { "command": "explorer.openAndPassFocus" }, - "when": "kb-macro.recording && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus" + "when": "kb-macro.recording && !isMac && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.renameInstance" + }, + "when": "kb-macro.recording && isMac && terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || kb-macro.recording && isMac && terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "debug.renameWatchExpression" + }, + "when": "kb-macro.recording && isMac && watchExpressionsFocused" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "debug.setVariable" + }, + "when": "kb-macro.recording && isMac && variablesFocused" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "remote.tunnel.label" + }, + "when": "kb-macro.recording && isMac && tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "renameFile" + }, + "when": "kb-macro.recording && isMac && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "onEnterSelectCodeAction" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" }, { "key": "ctrl+u", @@ -3456,6 +3597,15 @@ }, "when": "kb-macro.recording && fileMatchOrMatchFocus && searchViewletVisible" }, + { + "key": "ctrl+enter", + "mac": "cmd+enter", + "command": "kb-macro.wrap", + "args": { + "command": "onEnterSelectCodeActionWithPreview" + }, + "when": "kb-macro.recording && CodeActionMenuVisible" + }, { "key": "ctrl+shift+enter", "mac": "shift+cmd+enter", @@ -3709,6 +3859,14 @@ }, "when": "kb-macro.recording && editorFocus" }, + { + "key": "f3", + "command": "kb-macro.wrap", + "args": { + "command": "list.find" + }, + "when": "kb-macro.recording && listFocus && listSupportsFind" + }, { "key": "f3", "command": "kb-macro.wrap", @@ -3855,48 +4013,43 @@ }, { "key": "f2", - "mac": "enter", "command": "kb-macro.wrap", "args": { "command": "workbench.action.terminal.renameInstance" }, - "when": "kb-macro.recording && terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || kb-macro.recording && terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection" + "when": "kb-macro.recording && !isMac && terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || kb-macro.recording && !isMac && terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection" }, { "key": "f2", - "mac": "enter", "command": "kb-macro.wrap", "args": { "command": "debug.renameWatchExpression" }, - "when": "kb-macro.recording && watchExpressionsFocused" + "when": "kb-macro.recording && !isMac && watchExpressionsFocused" }, { "key": "f2", - "mac": "enter", "command": "kb-macro.wrap", "args": { "command": "debug.setVariable" }, - "when": "kb-macro.recording && variablesFocused" + "when": "kb-macro.recording && !isMac && variablesFocused" }, { "key": "f2", - "mac": "enter", "command": "kb-macro.wrap", "args": { "command": "remote.tunnel.label" }, - "when": "kb-macro.recording && tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" + "when": "kb-macro.recording && !isMac && tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "f2", - "mac": "enter", "command": "kb-macro.wrap", "args": { "command": "renameFile" }, - "when": "kb-macro.recording && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" + "when": "kb-macro.recording && !isMac && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "ctrl+k f12", @@ -4084,6 +4237,17 @@ }, "when": "kb-macro.recording && suggestWidgetVisible && textInputFocus" }, + { + "key": "ctrl+space", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u001b[24~a" + } + }, + "when": "kb-macro.recording && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" + }, { "key": "ctrl+k ctrl+x", "mac": "cmd+k cmd+x", @@ -4093,6 +4257,15 @@ }, "when": "kb-macro.recording && editorTextFocus && !editorReadonly" }, + { + "key": "ctrl+k ctrl+,", + "mac": "cmd+k cmd+,", + "command": "kb-macro.wrap", + "args": { + "command": "editor.createFoldingRangeFromSelection" + }, + "when": "kb-macro.recording && editorTextFocus && foldingEnabled" + }, { "key": "f9", "command": "kb-macro.wrap", @@ -4227,6 +4400,15 @@ }, "when": "kb-macro.recording && editorTextFocus && foldingEnabled" }, + { + "key": "ctrl+k ctrl+.", + "mac": "cmd+k cmd+.", + "command": "kb-macro.wrap", + "args": { + "command": "editor.removeManualFoldingRanges" + }, + "when": "kb-macro.recording && editorTextFocus && foldingEnabled" + }, { "key": "ctrl+k ctrl+l", "mac": "cmd+k cmd+l", @@ -6148,7 +6330,7 @@ "args": { "command": "workbench.action.tasks.build" }, - "when": "kb-macro.recording" + "when": "kb-macro.recording && taskCommandsRegistered" }, { "key": "ctrl+shift+c", @@ -6175,6 +6357,17 @@ }, "when": "kb-macro.recording && terminalProcessSupported || kb-macro.recording && terminalWebExtensionContributedProfile" }, + { + "key": "alt+space", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u001b[24~b" + } + }, + "when": "kb-macro.recording && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" + }, { "key": "ctrl+shift+2", "command": "kb-macro.wrap", @@ -7440,6 +7633,17 @@ }, "when": "kb-macro.recording && textInputFocus" }, + { + "key": "shift+cmd+right", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u001b[24~d" + } + }, + "when": "kb-macro.recording && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" + }, { "key": "cmd+left", "command": "kb-macro.wrap", @@ -7475,6 +7679,17 @@ }, "when": "kb-macro.recording && textInputFocus" }, + { + "key": "shift+cmd+left", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u001b[1;2H" + } + }, + "when": "kb-macro.recording && terminalFocus && terminalShellType == 'pwsh'" + }, { "key": "cmd+a", "command": "kb-macro.wrap",