From 5437a53858a735ab678adcb2bb18538572e2e9eb Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Sat, 2 Apr 2022 16:58:34 +0000 Subject: [PATCH 1/2] Update default keybindings and wrappers --- generator/default-keybindings-linux.json | 48 ++++- generator/default-keybindings-mac.json | 37 +++- generator/default-keybindings-win.json | 49 +++-- package.json | 224 +++++++++++++---------- 4 files changed, 235 insertions(+), 123 deletions(-) diff --git a/generator/default-keybindings-linux.json b/generator/default-keybindings-linux.json index ef275faa..7e53c523 100644 --- a/generator/default-keybindings-linux.json +++ b/generator/default-keybindings-linux.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.65.2 for Linux +// Default Keybindings of Visual Studio Code 1.66.0 for Linux // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -233,6 +233,8 @@ "when": "editorTextFocus && !editorReadonly" }, { "key": "ctrl+k ctrl+d", "command": "editor.action.moveSelectionToNextFindMatch", "when": "editorFocus" }, +{ "key": "alt+f9", "command": "editor.action.nextCommentThreadAction", + "when": "editorFocus" }, { "key": "f3", "command": "editor.action.nextMatchFindAction", "when": "editorFocus" }, { "key": "enter", "command": "editor.action.nextMatchFindAction", @@ -247,6 +249,8 @@ "when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, { "key": "ctrl+shift+f12", "command": "editor.action.peekImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, +{ "key": "shift+alt+f9", "command": "editor.action.previousCommentThreadAction", + "when": "editorFocus" }, { "key": "shift+f3", "command": "editor.action.previousMatchFindAction", "when": "editorFocus" }, { "key": "shift+enter", "command": "editor.action.previousMatchFindAction", @@ -763,6 +767,8 @@ "when": "notificationFocus && notificationToastsVisible" }, { "key": "up", "command": "notifications.focusPreviousToast", "when": "notificationFocus && notificationToastsVisible" }, +{ "key": "escape", "command": "problems.action.clearFilterText", + "when": "problemsFilterFocus" }, { "key": "ctrl+c", "command": "problems.action.copy", "when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'" }, { "key": "ctrl+f", "command": "problems.action.focusFilter", @@ -849,10 +855,10 @@ "when": "editorTextFocus" }, { "key": "ctrl+; ctrl+e", "command": "testing.debugFailTests" }, { "key": "ctrl+; ctrl+l", "command": "testing.debugLastRun" }, -{ "key": "ctrl+; m", "command": "testing.openOutputPeek" }, +{ "key": "ctrl+; ctrl+m", "command": "testing.openOutputPeek" }, { "key": "ctrl+; e", "command": "testing.reRunFailTests" }, { "key": "ctrl+; l", "command": "testing.reRunLastRun" }, -{ "key": "ctrl+; r", "command": "testing.refreshTests", +{ "key": "ctrl+; ctrl+r", "command": "testing.refreshTests", "when": "testing.canRefresh" }, { "key": "ctrl+; a", "command": "testing.runAll" }, { "key": "ctrl+; c", "command": "testing.runAtCursor", @@ -862,7 +868,7 @@ { "key": "ctrl+; ctrl+o", "command": "testing.showMostRecentOutput", "when": "testing.hasAnyResults" }, { "key": "ctrl+; ctrl+i", "command": "testing.toggleInlineTestOutput" }, -{ "key": "ctrl+h", "command": "testing.toggleTestingPeekHistory", +{ "key": "alt+h", "command": "testing.toggleTestingPeekHistory", "when": "testing.isPeekVisible" }, { "key": "alt+c", "command": "toggleSearchCaseSensitive", "when": "searchViewletFocus" }, @@ -1091,12 +1097,20 @@ "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "shift+end", "command": "workbench.action.terminal.scrollToBottom", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, +{ "key": "ctrl+down", "command": "workbench.action.terminal.scrollToNextCommand", + "when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, +{ "key": "ctrl+up", "command": "workbench.action.terminal.scrollToPreviousCommand", + "when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, { "key": "shift+home", "command": "workbench.action.terminal.scrollToTop", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "ctrl+shift+up", "command": "workbench.action.terminal.scrollUp", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "shift+pageup", "command": "workbench.action.terminal.scrollUpPage", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, +{ "key": "ctrl+shift+down", "command": "workbench.action.terminal.selectToNextCommand", + "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, +{ "key": "ctrl+shift+up", "command": "workbench.action.terminal.selectToPreviousCommand", + "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, { "key": "ctrl+backspace", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u0017"} }, @@ -1421,7 +1435,6 @@ // - editor.action.moveCarretLeftAction // - editor.action.moveCarretRightAction // - editor.action.moveSelectionToPreviousFindMatch -// - editor.action.nextCommentThreadAction // - editor.action.openDeclarationToTheSide // - editor.action.openLink // - editor.action.peekDeclaration @@ -1659,7 +1672,9 @@ // - imagePreview.zoomIn // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint +// - interactive.history.focus // - interactive.input.clear +// - interactive.input.focus // - ipynb.newUntitledIpynb // - ipynb.openIpynbInNotebookEditor // - javascript.goToProjectConfig @@ -1774,7 +1789,6 @@ // - outline.toggleVisibility // - paste // - perfview.show -// - problems.action.clearFilterText // - problems.action.copyMessage // - problems.action.copyRelatedInformationMessage // - problems.action.showMultilineMessage @@ -1874,7 +1888,9 @@ // - testing.viewAsList // - testing.viewAsTree // - timeline.focus +// - timeline.removeView // - timeline.resetViewLocation +// - timeline.toggleVisibility // - toggle.diff.ignoreTrimWhitespace // - toggle.diff.renderSideBySide // - toggleEscapeSequenceLogging @@ -1995,6 +2011,19 @@ // - workbench.action.inspectKeyMappingsJSON // - workbench.action.joinAllGroups // - workbench.action.joinTwoGroups +// - workbench.action.localHistory.compareWithFile +// - workbench.action.localHistory.compareWithPrevious +// - workbench.action.localHistory.compareWithSelected +// - workbench.action.localHistory.create +// - workbench.action.localHistory.delete +// - workbench.action.localHistory.deleteAll +// - workbench.action.localHistory.open +// - workbench.action.localHistory.rename +// - workbench.action.localHistory.restore +// - workbench.action.localHistory.restoreViaEditor +// - workbench.action.localHistory.restoreViaPicker +// - workbench.action.localHistory.revealInOS +// - workbench.action.localHistory.selectForCompare // - workbench.action.lockEditorGroup // - workbench.action.logStorage // - workbench.action.logWorkingCopies @@ -2006,7 +2035,9 @@ // - workbench.action.moveEditorToLeftGroup // - workbench.action.moveEditorToRightGroup // - workbench.action.moveFocusedView +// - workbench.action.movePanelToSecondarySideBar // - workbench.action.movePanelToSidePanel +// - workbench.action.moveSecondarySideBarToPanel // - workbench.action.moveSideBarLeft // - workbench.action.moveSideBarRight // - workbench.action.moveSidePanelToPanel @@ -2155,6 +2186,7 @@ // - workbench.action.terminal.changeIconPanel // - workbench.action.terminal.clear // - workbench.action.terminal.clearCommandHistory +// - workbench.action.terminal.copySelectionAsHtml // - workbench.action.terminal.createProfileButton // - workbench.action.terminal.detachSession // - workbench.action.terminal.focus @@ -2189,13 +2221,9 @@ // - workbench.action.terminal.runActiveFile // - workbench.action.terminal.runRecentCommand // - workbench.action.terminal.runSelectedText -// - workbench.action.terminal.scrollToNextCommand -// - workbench.action.terminal.scrollToPreviousCommand // - workbench.action.terminal.selectAll // - workbench.action.terminal.selectDefaultShell -// - workbench.action.terminal.selectToNextCommand // - workbench.action.terminal.selectToNextLine -// - workbench.action.terminal.selectToPreviousCommand // - workbench.action.terminal.selectToPreviousLine // - workbench.action.terminal.setDimensions // - workbench.action.terminal.showEnvironmentInformation diff --git a/generator/default-keybindings-mac.json b/generator/default-keybindings-mac.json index 229e11ae..26b19dac 100644 --- a/generator/default-keybindings-mac.json +++ b/generator/default-keybindings-mac.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.65.2 for macOS +// Default Keybindings of Visual Studio Code 1.66.0 for macOS // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -293,6 +293,8 @@ "when": "editorTextFocus && !editorReadonly" }, { "key": "cmd+k cmd+d", "command": "editor.action.moveSelectionToNextFindMatch", "when": "editorFocus" }, +{ "key": "alt+f9", "command": "editor.action.nextCommentThreadAction", + "when": "editorFocus" }, { "key": "f3", "command": "editor.action.nextMatchFindAction", "when": "editorFocus" }, { "key": "cmd+g", "command": "editor.action.nextMatchFindAction", @@ -309,6 +311,8 @@ "when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, { "key": "shift+cmd+f12", "command": "editor.action.peekImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, +{ "key": "shift+alt+f9", "command": "editor.action.previousCommentThreadAction", + "when": "editorFocus" }, { "key": "shift+f3", "command": "editor.action.previousMatchFindAction", "when": "editorFocus" }, { "key": "shift+cmd+g", "command": "editor.action.previousMatchFindAction", @@ -850,6 +854,8 @@ "when": "notificationFocus && notificationToastsVisible" }, { "key": "up", "command": "notifications.focusPreviousToast", "when": "notificationFocus && notificationToastsVisible" }, +{ "key": "escape", "command": "problems.action.clearFilterText", + "when": "problemsFilterFocus" }, { "key": "cmd+c", "command": "problems.action.copy", "when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'" }, { "key": "cmd+f", "command": "problems.action.focusFilter", @@ -943,10 +949,10 @@ "when": "editorTextFocus" }, { "key": "cmd+; cmd+e", "command": "testing.debugFailTests" }, { "key": "cmd+; cmd+l", "command": "testing.debugLastRun" }, -{ "key": "cmd+; m", "command": "testing.openOutputPeek" }, +{ "key": "cmd+; cmd+m", "command": "testing.openOutputPeek" }, { "key": "cmd+; e", "command": "testing.reRunFailTests" }, { "key": "cmd+; l", "command": "testing.reRunLastRun" }, -{ "key": "cmd+; r", "command": "testing.refreshTests", +{ "key": "cmd+; cmd+r", "command": "testing.refreshTests", "when": "testing.canRefresh" }, { "key": "cmd+; a", "command": "testing.runAll" }, { "key": "cmd+; c", "command": "testing.runAtCursor", @@ -956,7 +962,7 @@ { "key": "cmd+; cmd+o", "command": "testing.showMostRecentOutput", "when": "testing.hasAnyResults" }, { "key": "cmd+; cmd+i", "command": "testing.toggleInlineTestOutput" }, -{ "key": "cmd+h", "command": "testing.toggleTestingPeekHistory", +{ "key": "alt+h", "command": "testing.toggleTestingPeekHistory", "when": "testing.isPeekVisible" }, { "key": "alt+cmd+c", "command": "toggleSearchCaseSensitive", "when": "searchViewletFocus && !fileMatchOrFolderMatchFocus" }, @@ -1547,7 +1553,6 @@ // - editor.action.moveCarretLeftAction // - editor.action.moveCarretRightAction // - editor.action.moveSelectionToPreviousFindMatch -// - editor.action.nextCommentThreadAction // - editor.action.openDeclarationToTheSide // - editor.action.openLink // - editor.action.peekDeclaration @@ -1776,7 +1781,6 @@ // - git.undoCommit // - git.unstage // - git.unstageAll -// - github.provide-manually // - github.publish // - goToNextReferenceFromEmbeddedEditor // - goToPreviousReferenceFromEmbeddedEditor @@ -1784,7 +1788,9 @@ // - imagePreview.zoomIn // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint +// - interactive.history.focus // - interactive.input.clear +// - interactive.input.focus // - ipynb.newUntitledIpynb // - ipynb.openIpynbInNotebookEditor // - javascript.goToProjectConfig @@ -1898,7 +1904,6 @@ // - outline.toggleVisibility // - paste // - perfview.show -// - problems.action.clearFilterText // - problems.action.copyMessage // - problems.action.copyRelatedInformationMessage // - problems.action.showMultilineMessage @@ -1997,7 +2002,9 @@ // - testing.viewAsList // - testing.viewAsTree // - timeline.focus +// - timeline.removeView // - timeline.resetViewLocation +// - timeline.toggleVisibility // - toggle.diff.ignoreTrimWhitespace // - toggle.diff.renderSideBySide // - toggleEscapeSequenceLogging @@ -2119,6 +2126,19 @@ // - workbench.action.installCommandLine // - workbench.action.joinAllGroups // - workbench.action.joinTwoGroups +// - workbench.action.localHistory.compareWithFile +// - workbench.action.localHistory.compareWithPrevious +// - workbench.action.localHistory.compareWithSelected +// - workbench.action.localHistory.create +// - workbench.action.localHistory.delete +// - workbench.action.localHistory.deleteAll +// - workbench.action.localHistory.open +// - workbench.action.localHistory.rename +// - workbench.action.localHistory.restore +// - workbench.action.localHistory.restoreViaEditor +// - workbench.action.localHistory.restoreViaPicker +// - workbench.action.localHistory.revealInOS +// - workbench.action.localHistory.selectForCompare // - workbench.action.lockEditorGroup // - workbench.action.logStorage // - workbench.action.logWorkingCopies @@ -2131,7 +2151,9 @@ // - workbench.action.moveEditorToLeftGroup // - workbench.action.moveEditorToRightGroup // - workbench.action.moveFocusedView +// - workbench.action.movePanelToSecondarySideBar // - workbench.action.movePanelToSidePanel +// - workbench.action.moveSecondarySideBarToPanel // - workbench.action.moveSideBarLeft // - workbench.action.moveSideBarRight // - workbench.action.moveSidePanelToPanel @@ -2277,6 +2299,7 @@ // - workbench.action.terminal.changeIconInstance // - workbench.action.terminal.changeIconPanel // - workbench.action.terminal.clearCommandHistory +// - workbench.action.terminal.copySelectionAsHtml // - workbench.action.terminal.createProfileButton // - workbench.action.terminal.detachSession // - workbench.action.terminal.focus diff --git a/generator/default-keybindings-win.json b/generator/default-keybindings-win.json index 3798f2dc..735d0822 100644 --- a/generator/default-keybindings-win.json +++ b/generator/default-keybindings-win.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.65.2 for Windows +// Default Keybindings of Visual Studio Code 1.66.0 for Windows // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -241,6 +241,8 @@ "when": "editorTextFocus && !editorReadonly" }, { "key": "ctrl+k ctrl+d", "command": "editor.action.moveSelectionToNextFindMatch", "when": "editorFocus" }, +{ "key": "alt+f9", "command": "editor.action.nextCommentThreadAction", + "when": "editorFocus" }, { "key": "f3", "command": "editor.action.nextMatchFindAction", "when": "editorFocus" }, { "key": "enter", "command": "editor.action.nextMatchFindAction", @@ -255,6 +257,8 @@ "when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, { "key": "ctrl+shift+f12", "command": "editor.action.peekImplementation", "when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, +{ "key": "shift+alt+f9", "command": "editor.action.previousCommentThreadAction", + "when": "editorFocus" }, { "key": "shift+f3", "command": "editor.action.previousMatchFindAction", "when": "editorFocus" }, { "key": "shift+enter", "command": "editor.action.previousMatchFindAction", @@ -766,6 +770,8 @@ "when": "notificationFocus && notificationToastsVisible" }, { "key": "up", "command": "notifications.focusPreviousToast", "when": "notificationFocus && notificationToastsVisible" }, +{ "key": "escape", "command": "problems.action.clearFilterText", + "when": "problemsFilterFocus" }, { "key": "ctrl+c", "command": "problems.action.copy", "when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'" }, { "key": "ctrl+f", "command": "problems.action.focusFilter", @@ -853,10 +859,10 @@ "when": "editorTextFocus" }, { "key": "ctrl+; ctrl+e", "command": "testing.debugFailTests" }, { "key": "ctrl+; ctrl+l", "command": "testing.debugLastRun" }, -{ "key": "ctrl+; m", "command": "testing.openOutputPeek" }, +{ "key": "ctrl+; ctrl+m", "command": "testing.openOutputPeek" }, { "key": "ctrl+; e", "command": "testing.reRunFailTests" }, { "key": "ctrl+; l", "command": "testing.reRunLastRun" }, -{ "key": "ctrl+; r", "command": "testing.refreshTests", +{ "key": "ctrl+; ctrl+r", "command": "testing.refreshTests", "when": "testing.canRefresh" }, { "key": "ctrl+; a", "command": "testing.runAll" }, { "key": "ctrl+; c", "command": "testing.runAtCursor", @@ -866,7 +872,7 @@ { "key": "ctrl+; ctrl+o", "command": "testing.showMostRecentOutput", "when": "testing.hasAnyResults" }, { "key": "ctrl+; ctrl+i", "command": "testing.toggleInlineTestOutput" }, -{ "key": "ctrl+h", "command": "testing.toggleTestingPeekHistory", +{ "key": "alt+h", "command": "testing.toggleTestingPeekHistory", "when": "testing.isPeekVisible" }, { "key": "alt+c", "command": "toggleSearchCaseSensitive", "when": "searchViewletFocus" }, @@ -1098,12 +1104,20 @@ "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "ctrl+end", "command": "workbench.action.terminal.scrollToBottom", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, +{ "key": "ctrl+down", "command": "workbench.action.terminal.scrollToNextCommand", + "when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, +{ "key": "ctrl+up", "command": "workbench.action.terminal.scrollToPreviousCommand", + "when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, { "key": "ctrl+home", "command": "workbench.action.terminal.scrollToTop", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "ctrl+alt+pageup", "command": "workbench.action.terminal.scrollUp", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, { "key": "shift+pageup", "command": "workbench.action.terminal.scrollUpPage", "when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, +{ "key": "ctrl+shift+down", "command": "workbench.action.terminal.selectToNextCommand", + "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, +{ "key": "ctrl+shift+up", "command": "workbench.action.terminal.selectToPreviousCommand", + "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, { "key": "ctrl+v", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus && !accessibilityModeEnabled && terminalShellType == 'pwsh'", "args": {"text":"\u0016"} }, @@ -1438,7 +1452,6 @@ // - editor.action.moveCarretLeftAction // - editor.action.moveCarretRightAction // - editor.action.moveSelectionToPreviousFindMatch -// - editor.action.nextCommentThreadAction // - editor.action.openDeclarationToTheSide // - editor.action.openLink // - editor.action.peekDeclaration @@ -1668,7 +1681,6 @@ // - git.undoCommit // - git.unstage // - git.unstageAll -// - github.provide-manually // - github.publish // - goToNextReferenceFromEmbeddedEditor // - goToPreviousReferenceFromEmbeddedEditor @@ -1676,7 +1688,9 @@ // - imagePreview.zoomIn // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint +// - interactive.history.focus // - interactive.input.clear +// - interactive.input.focus // - ipynb.newUntitledIpynb // - ipynb.openIpynbInNotebookEditor // - javascript.goToProjectConfig @@ -1791,7 +1805,6 @@ // - outline.toggleVisibility // - paste // - perfview.show -// - problems.action.clearFilterText // - problems.action.copyMessage // - problems.action.copyRelatedInformationMessage // - problems.action.showMultilineMessage @@ -1892,7 +1905,9 @@ // - testing.viewAsList // - testing.viewAsTree // - timeline.focus +// - timeline.removeView // - timeline.resetViewLocation +// - timeline.toggleVisibility // - toggle.diff.ignoreTrimWhitespace // - toggle.diff.renderSideBySide // - toggleEscapeSequenceLogging @@ -2013,6 +2028,19 @@ // - workbench.action.inspectKeyMappingsJSON // - workbench.action.joinAllGroups // - workbench.action.joinTwoGroups +// - workbench.action.localHistory.compareWithFile +// - workbench.action.localHistory.compareWithPrevious +// - workbench.action.localHistory.compareWithSelected +// - workbench.action.localHistory.create +// - workbench.action.localHistory.delete +// - workbench.action.localHistory.deleteAll +// - workbench.action.localHistory.open +// - workbench.action.localHistory.rename +// - workbench.action.localHistory.restore +// - workbench.action.localHistory.restoreViaEditor +// - workbench.action.localHistory.restoreViaPicker +// - workbench.action.localHistory.revealInOS +// - workbench.action.localHistory.selectForCompare // - workbench.action.lockEditorGroup // - workbench.action.logStorage // - workbench.action.logWorkingCopies @@ -2024,7 +2052,9 @@ // - workbench.action.moveEditorToLeftGroup // - workbench.action.moveEditorToRightGroup // - workbench.action.moveFocusedView +// - workbench.action.movePanelToSecondarySideBar // - workbench.action.movePanelToSidePanel +// - workbench.action.moveSecondarySideBarToPanel // - workbench.action.moveSideBarLeft // - workbench.action.moveSideBarRight // - workbench.action.moveSidePanelToPanel @@ -2171,6 +2201,7 @@ // - workbench.action.terminal.changeIconPanel // - workbench.action.terminal.clear // - workbench.action.terminal.clearCommandHistory +// - workbench.action.terminal.copySelectionAsHtml // - workbench.action.terminal.createProfileButton // - workbench.action.terminal.detachSession // - workbench.action.terminal.focus @@ -2207,13 +2238,9 @@ // - workbench.action.terminal.runActiveFile // - workbench.action.terminal.runRecentCommand // - workbench.action.terminal.runSelectedText -// - workbench.action.terminal.scrollToNextCommand -// - workbench.action.terminal.scrollToPreviousCommand // - workbench.action.terminal.selectAll // - workbench.action.terminal.selectDefaultShell -// - workbench.action.terminal.selectToNextCommand // - workbench.action.terminal.selectToNextLine -// - workbench.action.terminal.selectToPreviousCommand // - workbench.action.terminal.selectToPreviousLine // - workbench.action.terminal.setDimensions // - workbench.action.terminal.showEnvironmentInformation diff --git a/package.json b/package.json index 0c3306c5..496a5491 100644 --- a/package.json +++ b/package.json @@ -521,6 +521,14 @@ }, "when": "kb-macro.recording && notebookEditorFocused && notebookFindWidgetFocused" }, + { + "key": "escape", + "command": "kb-macro.wrap", + "args": { + "command": "problems.action.clearFilterText" + }, + "when": "kb-macro.recording && problemsFilterFocus" + }, { "key": "escape", "command": "kb-macro.wrap", @@ -828,6 +836,39 @@ }, "when": "kb-macro.recording && statusBarFocused" }, + { + "key": "ctrl+shift+down", + "command": "kb-macro.wrap", + "args": { + "command": "cursorDownSelect" + }, + "when": "kb-macro.recording && isWindows && textInputFocus" + }, + { + "key": "ctrl+shift+down", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.insertCursorBelow" + }, + "when": "kb-macro.recording && isLinux && editorTextFocus" + }, + { + "key": "ctrl+shift+down", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollDown" + }, + "when": "kb-macro.recording && isLinux && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && isLinux && terminalFocus && terminalProcessSupported && !terminalAltBufferActive" + }, + { + "key": "ctrl+shift+down", + "mac": "shift+cmd+down", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.selectToNextCommand" + }, + "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated || kb-macro.recording && terminalFocus && terminalProcessSupported" + }, { "key": "shift+down", "command": "kb-macro.wrap", @@ -1425,6 +1466,47 @@ }, "when": "kb-macro.recording && statusBarFocused" }, + { + "key": "ctrl+shift+up", + "command": "kb-macro.wrap", + "args": { + "command": "cursorUpSelect" + }, + "when": "kb-macro.recording && isWindows && textInputFocus" + }, + { + "key": "ctrl+shift+up", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.insertCursorAbove" + }, + "when": "kb-macro.recording && isLinux && editorTextFocus" + }, + { + "key": "ctrl+shift+up", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollUp" + }, + "when": "kb-macro.recording && isLinux && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && isLinux && terminalFocus && terminalProcessSupported && !terminalAltBufferActive" + }, + { + "key": "shift+cmd+up", + "command": "kb-macro.wrap", + "args": { + "command": "list.collapseAll" + }, + "when": "kb-macro.recording && listFocus && !inputFocus" + }, + { + "key": "ctrl+shift+up", + "mac": "shift+cmd+up", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.selectToPreviousCommand" + }, + "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated || kb-macro.recording && terminalFocus && terminalProcessSupported" + }, { "key": "shift+up", "command": "kb-macro.wrap", @@ -1763,6 +1845,15 @@ }, "when": "kb-macro.recording && accessibilityModeEnabled && terminalA11yTreeFocus && terminalProcessSupported || kb-macro.recording && accessibilityModeEnabled && terminalFocus && terminalProcessSupported" }, + { + "key": "ctrl+down", + "mac": "cmd+down", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollToNextCommand" + }, + "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.recording && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" + }, { "key": "ctrl+up", "command": "kb-macro.wrap", @@ -1820,6 +1911,15 @@ }, "when": "kb-macro.recording && accessibilityModeEnabled && terminalA11yTreeFocus && terminalProcessSupported || kb-macro.recording && accessibilityModeEnabled && terminalFocus && terminalProcessSupported" }, + { + "key": "ctrl+up", + "mac": "cmd+up", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollToPreviousCommand" + }, + "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.recording && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" + }, { "key": "alt+pagedown", "mac": "cmd+pagedown", @@ -2436,14 +2536,6 @@ }, "when": "kb-macro.recording && terminalFindInputFocused && terminalHasBeenCreated || kb-macro.recording && terminalFindInputFocused && terminalProcessSupported" }, - { - "key": "cmd+down", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollToNextCommand" - }, - "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.recording && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" - }, { "key": "enter", "mac": "cmd+down", @@ -2520,12 +2612,11 @@ }, { "key": "ctrl+left", - "mac": "shift+cmd+up", "command": "kb-macro.wrap", "args": { "command": "list.collapseAll" }, - "when": "kb-macro.recording && listFocus && !inputFocus" + "when": "kb-macro.recording && !isMac && listFocus && !inputFocus" }, { "key": "ctrl+left", @@ -3468,6 +3559,14 @@ }, "when": "kb-macro.recording && editorFocus" }, + { + "key": "alt+f9", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.nextCommentThreadAction" + }, + "when": "kb-macro.recording && editorFocus" + }, { "key": "f3", "command": "kb-macro.wrap", @@ -3527,6 +3626,14 @@ }, "when": "kb-macro.recording && editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, + { + "key": "shift+alt+f9", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.previousCommentThreadAction" + }, + "when": "kb-macro.recording && editorFocus" + }, { "key": "shift+f3", "command": "kb-macro.wrap", @@ -3772,15 +3879,6 @@ }, "when": "kb-macro.recording && editorFocus || kb-macro.recording && editorIsOpen" }, - { - "key": "ctrl+h", - "mac": "cmd+h", - "command": "kb-macro.wrap", - "args": { - "command": "testing.toggleTestingPeekHistory" - }, - "when": "kb-macro.recording && testing.isPeekVisible" - }, { "key": "ctrl+m", "command": "kb-macro.wrap", @@ -4728,8 +4826,8 @@ "when": "kb-macro.recording" }, { - "key": "ctrl+; m", - "mac": "cmd+; m", + "key": "ctrl+; ctrl+m", + "mac": "cmd+; cmd+m", "command": "kb-macro.wrap", "args": { "command": "testing.openOutputPeek" @@ -4755,8 +4853,8 @@ "when": "kb-macro.recording" }, { - "key": "ctrl+; r", - "mac": "cmd+; r", + "key": "ctrl+; ctrl+r", + "mac": "cmd+; cmd+r", "command": "kb-macro.wrap", "args": { "command": "testing.refreshTests" @@ -4808,6 +4906,14 @@ }, "when": "kb-macro.recording" }, + { + "key": "alt+h", + "command": "kb-macro.wrap", + "args": { + "command": "testing.toggleTestingPeekHistory" + }, + "when": "kb-macro.recording && testing.isPeekVisible" + }, { "key": "ctrl+w", "mac": "cmd+w", @@ -6305,30 +6411,6 @@ }, "when": "kb-macro.recording && isLinux && editorTextFocus && !editorReadonly" }, - { - "key": "ctrl+shift+down", - "command": "kb-macro.wrap", - "args": { - "command": "cursorDownSelect" - }, - "when": "kb-macro.recording && isWindows && textInputFocus" - }, - { - "key": "ctrl+shift+down", - "command": "kb-macro.wrap", - "args": { - "command": "editor.action.insertCursorBelow" - }, - "when": "kb-macro.recording && isLinux && editorTextFocus" - }, - { - "key": "ctrl+shift+down", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollDown" - }, - "when": "kb-macro.recording && isLinux && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && isLinux && terminalFocus && terminalProcessSupported && !terminalAltBufferActive" - }, { "key": "shift+end", "command": "kb-macro.wrap", @@ -6353,30 +6435,6 @@ }, "when": "kb-macro.recording && isWindows && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && isWindows && terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, - { - "key": "ctrl+shift+up", - "command": "kb-macro.wrap", - "args": { - "command": "cursorUpSelect" - }, - "when": "kb-macro.recording && isWindows && textInputFocus" - }, - { - "key": "ctrl+shift+up", - "command": "kb-macro.wrap", - "args": { - "command": "editor.action.insertCursorAbove" - }, - "when": "kb-macro.recording && isLinux && editorTextFocus" - }, - { - "key": "ctrl+shift+up", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollUp" - }, - "when": "kb-macro.recording && isLinux && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && isLinux && terminalFocus && terminalProcessSupported && !terminalAltBufferActive" - }, { "key": "ctrl+a", "command": "kb-macro.wrap", @@ -7108,14 +7166,6 @@ }, "when": "kb-macro.recording" }, - { - "key": "shift+cmd+down", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.selectToNextCommand" - }, - "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated || kb-macro.recording && terminalFocus && terminalProcessSupported" - }, { "key": "shift+alt+cmd+down", "command": "kb-macro.wrap", @@ -7232,22 +7282,6 @@ }, "when": "kb-macro.recording && textInputFocus" }, - { - "key": "cmd+up", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollToPreviousCommand" - }, - "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.recording && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" - }, - { - "key": "shift+cmd+up", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.selectToPreviousCommand" - }, - "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated || kb-macro.recording && terminalFocus && terminalProcessSupported" - }, { "key": "cmd+a", "command": "kb-macro.wrap", From a4854438cc4d8fd62da5fae55633ad981c55a8c0 Mon Sep 17 00:00:00 2001 From: tshino Date: Sun, 3 Apr 2022 13:12:48 +0900 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26a31ee1..42b25d56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t - Added 'When clause context' section to the README. - Added 'Keymap wrappers' section to [DESIGN.md](./DESIGN.md). - Update + - Updated default keybindings based on VS Code 1.66.0. [#87](https://github.com/tshino/vscode-kb-macro/pull/87) - Updated default keybindings based on VS Code 1.65.2. [#74](https://github.com/tshino/vscode-kb-macro/pull/74) - Updated keymap wrapper for Awesome Emacs Keymap (v0.41.1). [#81](https://github.com/tshino/vscode-kb-macro/pull/81) - Internal