Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wrappers based on VS Code 1.70.0 #135

Merged
merged 2 commits into from
Aug 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
94 changes: 85 additions & 9 deletions generator/default-keybindings-linux.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"} },
Expand Down Expand Up @@ -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" }
]


Expand All @@ -1355,6 +1393,7 @@
// - closeReferenceSearchEditor
// - codelens.showLensesInCurrentLine
// - columnSelect
// - commandCenter.help
// - comments.collapse
// - compareFiles
// - compareSelected
Expand Down Expand Up @@ -1704,6 +1743,7 @@
// - git.unstageAll
// - github.copyVscodeDevLink
// - github.copyVscodeDevLinkFile
// - github.openOnVscodeDev
// - github.publish
// - goToNextReferenceFromEmbeddedEditor
// - goToPreviousReferenceFromEmbeddedEditor
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -1802,6 +1849,7 @@
// - notebook.execute
// - notebook.inspectLayout
// - notebook.renderAllMarkdownCells
// - notebook.revealLastFailedCell
// - notebook.revealRunningCell
// - notebook.saveMimeTypeOrder
// - notebook.setProfile
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1945,6 +1997,8 @@
// - timeline.toggleVisibility
// - toggle.diff.ignoreTrimWhitespace
// - toggle.diff.renderSideBySide
// - toggle.window.commandCenter
// - toggle.workbench.layoutControl.enabled
// - toggleEscapeSequenceLogging
// - typescript.findAllFileReferences
// - typescript.goToProjectConfig
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading