From 5a5f99d6a3817690148e4187b68d524f20a14b08 Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Fri, 6 May 2022 17:06:58 +0000 Subject: [PATCH 1/2] Update default keybindings and wrappers --- generator/default-keybindings-linux.json | 21 +++++++++++++--- generator/default-keybindings-mac.json | 21 +++++++++++++--- generator/default-keybindings-win.json | 19 ++++++++++++-- package.json | 32 ++++++++++++------------ 4 files changed, 69 insertions(+), 24 deletions(-) diff --git a/generator/default-keybindings-linux.json b/generator/default-keybindings-linux.json index 0e7df1a1..ce9a51ed 100644 --- a/generator/default-keybindings-linux.json +++ b/generator/default-keybindings-linux.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.66.2 for Linux +// Default Keybindings of Visual Studio Code 1.67.0 for Linux // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -591,6 +591,8 @@ "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, +{ "key": "shift+alt+d", "command": "editor.detectLanguage", + "when": "editorTextFocus && !notebookEditable" }, { "key": "shift+enter", "command": "editor.refocusCallHierarchy", "when": "callHierarchyVisible" }, { "key": "shift+enter", "command": "editor.refocusTypeHierarchy", @@ -699,6 +701,8 @@ "when": "notebookEditorFocused && !inputFocus" }, { "key": "delete", "command": "notebook.cell.delete", "when": "notebookEditable && notebookEditorFocused && !inputFocus" }, +{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", + "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", "when": "notebookCellListFocused && notebookEditable && !inputFocus" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput", @@ -1145,7 +1149,6 @@ "when": "!isIOS" }, { "key": "ctrl+j", "command": "workbench.action.togglePanel" }, { "key": "ctrl+b", "command": "workbench.action.toggleSidebarVisibility" }, -{ "key": "ctrl+meta+w", "command": "workbench.action.toggleTabsVisibility" }, { "key": "ctrl+k z", "command": "workbench.action.toggleZenMode" }, { "key": "ctrl+k shift+enter", "command": "workbench.action.unpinEditor", "when": "activeEditorIsPinned" }, @@ -1412,6 +1415,8 @@ // - editor.action.duplicateSelection // - editor.action.findReferences // - editor.action.fixAll +// - editor.action.focusNextCursor +// - editor.action.focusPreviousCursor // - editor.action.fontZoomIn // - editor.action.fontZoomOut // - editor.action.fontZoomReset @@ -1507,6 +1512,7 @@ // - editor.gotoNextFold // - editor.gotoParentFold // - editor.gotoPreviousFold +// - editor.inlayHints.Reset // - editor.showTypeHierarchy // - emmet.expandAbbreviation // - explorer.download @@ -1702,6 +1708,7 @@ // - list.selectAndPreserveFocus // - list.toggleFilterOnType // - list.toggleKeyboardNavigation +// - markdown.findAllFileReferences // - markdown.preview.refresh // - markdown.preview.toggleLock // - markdown.showLockedPreviewToSide @@ -1856,7 +1863,6 @@ // - setContext // - setRootFolder // - setSelection -// - settings.filterByModified // - settings.filterByOnline // - settings.filterByTelemetry // - settings.filterUntrusted @@ -1884,6 +1890,7 @@ // - testing.sortByDuration // - testing.sortByLocation // - testing.sortByStatus +// - testing.unhideAllTests // - testing.unhideTest // - testing.viewAsList // - testing.viewAsTree @@ -1896,6 +1903,7 @@ // - toggleEscapeSequenceLogging // - typescript.findAllFileReferences // - typescript.goToProjectConfig +// - typescript.goToSourceDefinition // - typescript.openTsServerLog // - typescript.reloadProjects // - typescript.restartTsServer @@ -1950,6 +1958,7 @@ // - workbench.action.createTerminalEditorSide // - workbench.action.customizeLayout // - workbench.action.debug.configure +// - workbench.action.debug.disconnectAndSuspend // - workbench.action.debug.focusProcess // - workbench.action.debug.restartFrame // - workbench.action.debug.reverseContinue @@ -2255,6 +2264,7 @@ // - workbench.action.toggleSplitEditorInGroup // - workbench.action.toggleSplitEditorInGroupLayout // - workbench.action.toggleStatusbarVisibility +// - workbench.action.toggleTabsVisibility // - workbench.action.triggerReconnect // - workbench.action.unlockEditorGroup // - workbench.action.url.openUrl @@ -2415,8 +2425,13 @@ // - workbench.panel.repl.view.removeView // - workbench.panel.repl.view.resetViewLocation // - workbench.panel.repl.view.toggleVisibility +// - workbench.profiles.actions.exportProfile +// - workbench.profiles.actions.importProfile // - workbench.scm.action.collapseAllRepositories // - workbench.scm.action.expandAllRepositories +// - workbench.scm.action.repositories.setSortKey.discoveryTime +// - workbench.scm.action.repositories.setSortKey.name +// - workbench.scm.action.repositories.setSortKey.path // - workbench.scm.action.setListViewMode // - workbench.scm.action.setSortKey.name // - workbench.scm.action.setSortKey.path diff --git a/generator/default-keybindings-mac.json b/generator/default-keybindings-mac.json index 6bb5f707..e673b804 100644 --- a/generator/default-keybindings-mac.json +++ b/generator/default-keybindings-mac.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.66.2 for macOS +// Default Keybindings of Visual Studio Code 1.67.0 for macOS // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -668,6 +668,8 @@ "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, +{ "key": "shift+alt+d", "command": "editor.detectLanguage", + "when": "editorTextFocus && !notebookEditable" }, { "key": "shift+enter", "command": "editor.refocusCallHierarchy", "when": "callHierarchyVisible" }, { "key": "shift+enter", "command": "editor.refocusTypeHierarchy", @@ -786,6 +788,8 @@ "when": "notebookEditorFocused && !inputFocus" }, { "key": "cmd+backspace", "command": "notebook.cell.delete", "when": "notebookEditable && notebookEditorFocused && !inputFocus" }, +{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", + "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", "when": "notebookCellListFocused && notebookEditable && !inputFocus" }, { "key": "cmd+k cmd+c", "command": "notebook.cell.expandCellInput", @@ -1266,7 +1270,6 @@ "when": "!isIOS" }, { "key": "cmd+j", "command": "workbench.action.togglePanel" }, { "key": "cmd+b", "command": "workbench.action.toggleSidebarVisibility" }, -{ "key": "ctrl+cmd+w", "command": "workbench.action.toggleTabsVisibility" }, { "key": "cmd+k z", "command": "workbench.action.toggleZenMode" }, { "key": "cmd+k shift+enter", "command": "workbench.action.unpinEditor", "when": "activeEditorIsPinned" }, @@ -1531,6 +1534,8 @@ // - editor.action.duplicateSelection // - editor.action.findReferences // - editor.action.fixAll +// - editor.action.focusNextCursor +// - editor.action.focusPreviousCursor // - editor.action.fontZoomIn // - editor.action.fontZoomOut // - editor.action.fontZoomReset @@ -1623,6 +1628,7 @@ // - editor.gotoNextFold // - editor.gotoParentFold // - editor.gotoPreviousFold +// - editor.inlayHints.Reset // - editor.showTypeHierarchy // - emmet.expandAbbreviation // - explorer.download @@ -1817,6 +1823,7 @@ // - list.selectAndPreserveFocus // - list.toggleFilterOnType // - list.toggleKeyboardNavigation +// - markdown.findAllFileReferences // - markdown.preview.refresh // - markdown.preview.toggleLock // - markdown.showLockedPreviewToSide @@ -1970,7 +1977,6 @@ // - setContext // - setRootFolder // - setSelection -// - settings.filterByModified // - settings.filterByOnline // - settings.filterByTelemetry // - settings.filterUntrusted @@ -1998,6 +2004,7 @@ // - testing.sortByDuration // - testing.sortByLocation // - testing.sortByStatus +// - testing.unhideAllTests // - testing.unhideTest // - testing.viewAsList // - testing.viewAsTree @@ -2010,6 +2017,7 @@ // - toggleEscapeSequenceLogging // - typescript.findAllFileReferences // - typescript.goToProjectConfig +// - typescript.goToSourceDefinition // - typescript.openTsServerLog // - typescript.reloadProjects // - typescript.restartTsServer @@ -2063,6 +2071,7 @@ // - workbench.action.createTerminalEditorSide // - workbench.action.customizeLayout // - workbench.action.debug.configure +// - workbench.action.debug.disconnectAndSuspend // - workbench.action.debug.focusProcess // - workbench.action.debug.restartFrame // - workbench.action.debug.reverseContinue @@ -2364,6 +2373,7 @@ // - workbench.action.toggleSplitEditorInGroup // - workbench.action.toggleSplitEditorInGroupLayout // - workbench.action.toggleStatusbarVisibility +// - workbench.action.toggleTabsVisibility // - workbench.action.toggleWindowTabsBar // - workbench.action.triggerReconnect // - workbench.action.uninstallCommandLine @@ -2526,8 +2536,13 @@ // - workbench.panel.repl.view.removeView // - workbench.panel.repl.view.resetViewLocation // - workbench.panel.repl.view.toggleVisibility +// - workbench.profiles.actions.exportProfile +// - workbench.profiles.actions.importProfile // - workbench.scm.action.collapseAllRepositories // - workbench.scm.action.expandAllRepositories +// - workbench.scm.action.repositories.setSortKey.discoveryTime +// - workbench.scm.action.repositories.setSortKey.name +// - workbench.scm.action.repositories.setSortKey.path // - workbench.scm.action.setListViewMode // - workbench.scm.action.setSortKey.name // - workbench.scm.action.setSortKey.path diff --git a/generator/default-keybindings-win.json b/generator/default-keybindings-win.json index c2a9b0eb..ad6a439d 100644 --- a/generator/default-keybindings-win.json +++ b/generator/default-keybindings-win.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.66.2 for Windows +// Default Keybindings of Visual Studio Code 1.67.0 for Windows // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -594,6 +594,8 @@ "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, +{ "key": "shift+alt+d", "command": "editor.detectLanguage", + "when": "editorTextFocus && !notebookEditable" }, { "key": "shift+enter", "command": "editor.refocusCallHierarchy", "when": "callHierarchyVisible" }, { "key": "shift+enter", "command": "editor.refocusTypeHierarchy", @@ -702,6 +704,8 @@ "when": "notebookEditorFocused && !inputFocus" }, { "key": "delete", "command": "notebook.cell.delete", "when": "notebookEditable && notebookEditorFocused && !inputFocus" }, +{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", + "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", "when": "notebookCellListFocused && notebookEditable && !inputFocus" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput", @@ -1429,6 +1433,8 @@ // - editor.action.duplicateSelection // - editor.action.findReferences // - editor.action.fixAll +// - editor.action.focusNextCursor +// - editor.action.focusPreviousCursor // - editor.action.fontZoomIn // - editor.action.fontZoomOut // - editor.action.fontZoomReset @@ -1523,6 +1529,7 @@ // - editor.gotoNextFold // - editor.gotoParentFold // - editor.gotoPreviousFold +// - editor.inlayHints.Reset // - editor.showTypeHierarchy // - emmet.expandAbbreviation // - explorer.download @@ -1718,6 +1725,7 @@ // - list.selectAndPreserveFocus // - list.toggleFilterOnType // - list.toggleKeyboardNavigation +// - markdown.findAllFileReferences // - markdown.preview.refresh // - markdown.preview.toggleLock // - markdown.showLockedPreviewToSide @@ -1873,7 +1881,6 @@ // - setContext // - setRootFolder // - setSelection -// - settings.filterByModified // - settings.filterByOnline // - settings.filterByTelemetry // - settings.filterUntrusted @@ -1901,6 +1908,7 @@ // - testing.sortByDuration // - testing.sortByLocation // - testing.sortByStatus +// - testing.unhideAllTests // - testing.unhideTest // - testing.viewAsList // - testing.viewAsTree @@ -1913,6 +1921,7 @@ // - toggleEscapeSequenceLogging // - typescript.findAllFileReferences // - typescript.goToProjectConfig +// - typescript.goToSourceDefinition // - typescript.openTsServerLog // - typescript.reloadProjects // - typescript.restartTsServer @@ -1967,6 +1976,7 @@ // - workbench.action.createTerminalEditorSide // - workbench.action.customizeLayout // - workbench.action.debug.configure +// - workbench.action.debug.disconnectAndSuspend // - workbench.action.debug.focusProcess // - workbench.action.debug.restartFrame // - workbench.action.debug.reverseContinue @@ -2433,8 +2443,13 @@ // - workbench.panel.repl.view.removeView // - workbench.panel.repl.view.resetViewLocation // - workbench.panel.repl.view.toggleVisibility +// - workbench.profiles.actions.exportProfile +// - workbench.profiles.actions.importProfile // - workbench.scm.action.collapseAllRepositories // - workbench.scm.action.expandAllRepositories +// - workbench.scm.action.repositories.setSortKey.discoveryTime +// - workbench.scm.action.repositories.setSortKey.name +// - workbench.scm.action.repositories.setSortKey.path // - workbench.scm.action.setListViewMode // - workbench.scm.action.setSortKey.name // - workbench.scm.action.setSortKey.path diff --git a/package.json b/package.json index 86dd26f7..c735aab5 100644 --- a/package.json +++ b/package.json @@ -4725,6 +4725,22 @@ }, "when": "kb-macro.recording && inSettingsEditor" }, + { + "key": "shift+alt+d", + "command": "kb-macro.wrap", + "args": { + "command": "editor.detectLanguage" + }, + "when": "kb-macro.recording && editorTextFocus && !notebookEditable" + }, + { + "key": "shift+alt+d", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.detectLanguage" + }, + "when": "kb-macro.recording && notebookCellEditable && notebookEditable" + }, { "key": "shift+alt+h", "command": "kb-macro.wrap", @@ -7280,14 +7296,6 @@ }, "when": "kb-macro.recording && isLinux && workbench.panel.output.active" }, - { - "key": "ctrl+meta+w", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.toggleTabsVisibility" - }, - "when": "kb-macro.recording" - }, { "key": "shift+alt+cmd+down", "command": "kb-macro.wrap", @@ -7696,14 +7704,6 @@ }, "when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && terminalFocus && terminalProcessSupported && !terminalAltBufferActive" }, - { - "key": "ctrl+cmd+w", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.toggleTabsVisibility" - }, - "when": "kb-macro.recording" - }, { "key": "cmd+-", "command": "kb-macro.wrap", From 61e9dca2294b8451a6682a5f980a6e87049ed8df Mon Sep 17 00:00:00 2001 From: tshino Date: Sat, 7 May 2022 03:16:31 +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 ab541a7b..eea23c7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t - Update - Update default keybindings wrappers based on vscode 1.66.1. [#93](https://github.com/tshino/vscode-kb-macro/pull/93) - Update default keybindings wrappers based on vscode 1.66.2. [#95](https://github.com/tshino/vscode-kb-macro/pull/95) + - Update default keybindings wrappers based on vscode 1.67.0. [#101](https://github.com/tshino/vscode-kb-macro/pull/101) - Updated keymap wrapper for Vz Keymap (v0.19.0). [#96](https://github.com/tshino/vscode-kb-macro/pull/96) - Updated keymap wrapper for Vz Keymap (v0.19.1). [#100](https://github.com/tshino/vscode-kb-macro/pull/100) - Updated Keymap wrapper for Awesome Emacs Keymap (v0.43.1). [#97](https://github.com/tshino/vscode-kb-macro/pull/97)