diff --git a/CHANGELOG.md b/CHANGELOG.md index bb8ea933..4fffdfde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t ### [Unreleased] - Update + - Updated default keybindings wrappers based on vscode 1.88.0. [#350](https://github.com/tshino/vscode-kb-macro/pull/350) - Updated keymap wrapper for Vz Keymap (v0.19.12). [#345](https://github.com/tshino/vscode-kb-macro/pull/345) - Updated keymap wrapper for Vz Keymap (v0.19.13). [#348](https://github.com/tshino/vscode-kb-macro/pull/348) diff --git a/generator/default-keybindings-linux.json b/generator/default-keybindings-linux.json index ccb81fc4..b24c3333 100644 --- a/generator/default-keybindings-linux.json +++ b/generator/default-keybindings-linux.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.87.2 for Linux +// Default Keybindings of Visual Studio Code 1.88.0 for Linux // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -99,14 +99,10 @@ "when": "editorHasMultipleSelections && textInputFocus" }, { "key": "escape", "command": "removeSecondaryCursors", "when": "editorHasMultipleSelections && textInputFocus" }, -{ "key": "enter", "command": "inlineChat.accept", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" }, -{ "key": "enter", "command": "notebook.cell.chat.accept", - "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "ctrl+down", "command": "notebook.cell.chat.arrowOutDown", - "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled" }, + "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "ctrl+up", "command": "notebook.cell.chat.arrowOutUp", - "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled" }, + "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "ctrl+up", "command": "notebook.cell.focusChatWidget", "when": "editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" }, { "key": "ctrl+down", "command": "notebook.cell.focusNextChatWidget", @@ -115,12 +111,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "ctrl+up", "command": "inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, -{ "key": "down", "command": "inlineChat.nextFromHistory", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorEnd" }, -{ "key": "up", "command": "inlineChat.previousFromHistory", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorStart" }, { "key": "escape", "command": "notebook.cell.chat.acceptChanges", - "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit" }, + "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" }, +{ "key": "down", "command": "notebook.cell.chat.nextFromHistory", + "when": "inlineChatFocused && notebookCellChatFocused" }, +{ "key": "up", "command": "notebook.cell.chat.previousFromHistory", + "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "f12", "command": "goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "goToNextReference", @@ -129,7 +125,7 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, -{ "key": "shift+enter", "command": "refactorPreview.apply", +{ "key": "ctrl+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", "when": "focusedView == 'workbench.view.testing'" }, @@ -138,9 +134,11 @@ { "key": "meta+enter", "command": "notebook.cell.quitEdit", "when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" }, { "key": "escape", "command": "inlineChat.cancel", - "when": "inlineChatHasProvider && inlineChatVisible" }, + "when": "inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode == 'preview'" }, { "key": "escape", "command": "inlineChat.close", - "when": "inlineChatHasProvider && inlineChatVisible" }, + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, +{ "key": "escape", "command": "inlineChat.discard", + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, { "key": "ctrl+f", "command": "actions.find", "when": "editorFocus || editorIsOpen" }, { "key": "enter", "command": "breakpointWidget.action.acceptInput", @@ -433,6 +431,10 @@ "when": "hasSymbols" }, { "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel", "when": "hasSymbols" }, +{ "key": "escape", "command": "editor.hideDropWidget", + "when": "dropWidgetVisible" }, +{ "key": "escape", "command": "editor.hidePasteWidget", + "when": "pasteWidgetVisible" }, { "key": "ctrl+k ctrl+.", "command": "editor.removeManualFoldingRanges", "when": "editorTextFocus && foldingEnabled" }, { "key": "ctrl+k ctrl+l", "command": "editor.toggleFold", @@ -449,28 +451,22 @@ "when": "editorTextFocus && foldingEnabled" }, { "key": "escape", "command": "inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, -{ "key": "escape", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && config.inlineChat.mode != 'preview'" }, -{ "key": "escape", "command": "inlineChat.discard", - "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, -{ "key": "escape", "command": "inlineChat.stop", - "when": "inlineChatHasActiveRequest && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" }, { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "meta+enter", "command": "interactive.execute", "when": "activeEditor == 'workbench.editor.interactive'" }, { "key": "escape", "command": "notebook.cell.chat.discard", - "when": "inlineChatFocused && notebookCellChatFocused && !notebookChatUserDidEdit" }, + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "pagedown", "command": "notebook.cell.cursorPageDown", "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, { "key": "shift+pagedown", "command": "notebook.cell.cursorPageDownSelect", - "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, + "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "pageup", "command": "notebook.cell.cursorPageUp", "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, { "key": "shift+pageup", "command": "notebook.cell.cursorPageUpSelect", - "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, + "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "meta+enter", "command": "notebook.cell.execute", - "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, { "key": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", @@ -509,11 +505,11 @@ "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" }, { "key": "enter", "command": "workbench.action.chat.acceptInput", - "when": "inChatInput && textInputFocus" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", - "when": "hasChatProvider && inChat" }, + "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent", - "when": "inChatInput && textInputFocus" }, + "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", @@ -558,10 +554,8 @@ "when": "editorFocus" }, { "key": "ctrl+alt+=", "command": "editor.action.inlineEdit.jumpBack", "when": "cursorAtInlineEdit && !editorReadonly" }, -{ "key": "ctrl+enter", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges", - "when": "inlineChatFocused && notebookCellChatFocused" }, + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "tab", "command": "jumpToNextSnippetPlaceholder", "when": "editorTextFocus && hasNextTabstop && inSnippetMode" }, { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder", @@ -640,7 +634,7 @@ "when": "suggestWidgetVisible && textInputFocus" }, { "key": "enter", "command": "acceptRenameInput", "when": "editorFocus && renameInputVisible && !isComposing" }, -{ "key": "shift+enter", "command": "acceptRenameInputWithPreview", +{ "key": "ctrl+enter", "command": "acceptRenameInputWithPreview", "when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible && !isComposing" }, { "key": "shift+escape", "command": "cancelLinkedEditingInput", "when": "LinkedEditingInputVisible && editorTextFocus" }, @@ -655,13 +649,9 @@ { "key": "tab", "command": "focusNextRenameSuggestion", "when": "renameInputVisible" }, { "key": "up", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible && !renameInputFocused" }, -{ "key": "alt", "command": "focusPreviousRenameSuggestion", - "when": "renameInputFocused && renameInputVisible" }, -{ "key": "alt", "command": "focusPreviousRenameSuggestion", - "when": "renameInputFocused && renameInputVisible" }, + "when": "renameInputVisible" }, { "key": "shift+tab", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible && !renameInputFocused" }, + "when": "renameInputVisible" }, { "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults", "when": "fileMatchOrMatchFocus && searchViewletVisible" }, { "key": "ctrl+shift+;", "command": "breadcrumbs.focus", @@ -882,8 +872,10 @@ "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'" }, { "key": "m", "command": "notebook.cell.changeToMarkdown", "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'" }, +{ "key": "enter", "command": "notebook.cell.chat.accept", + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges", - "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" }, + "when": "notebookEditorFocused && !inputFocus && !notebookCellEditorFocused && notebookChatOuterFocusPosition == 'below'" }, { "key": "ctrl+down", "command": "notebook.cell.chat.focus", "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'above'" }, { "key": "ctrl+up", "command": "notebook.cell.chat.focus", @@ -892,6 +884,10 @@ "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "ctrl+up", "command": "notebook.cell.chat.focusPreviousCell", "when": "inlineChatFocused && notebookCellChatFocused" }, +{ "key": "ctrl+k i", "command": "notebook.cell.chat.start", + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, +{ "key": "ctrl+i", "command": "notebook.cell.chat.start", + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "alt+delete", "command": "notebook.cell.clearOutputs", "when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.collapseCellInput", @@ -928,6 +924,8 @@ "when": "notebookEditorFocused && !inputFocus" }, { "key": "alt+up", "command": "notebook.cell.moveUp", "when": "notebookEditorFocused && !inputFocus" }, +{ "key": "ctrl+.", "command": "notebook.cell.openFailureActions", + "when": "notebookCellFocused && notebookCellHasErrorDiagnostics && !notebookCellEditorFocused" }, { "key": "ctrl+k ctrl+shift+\\", "command": "notebook.cell.split", "when": "editorTextFocus && notebookCellEditable && notebookEditable && notebookEditorFocused" }, { "key": "ctrl+k y", "command": "notebook.cell.toggleOutputScrolling", @@ -1128,9 +1126,7 @@ { "key": "ctrl+down", "command": "workbench.action.chat.focusInput", "when": "inChat && !inChatInput" }, { "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView", - "when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused" }, -{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", - "when": "hasChatProvider && inChat && !inChatInput" }, + "when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "hasChatProvider && inChat" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", @@ -1145,8 +1141,10 @@ "when": "hasChatProvider && inChat" }, { "key": "delete", "command": "workbench.action.chat.remove", "when": "inChat && !inChatInput" }, +{ "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", - "when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, + "when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", "when": "hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, @@ -1312,6 +1310,22 @@ { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorUp" }, { "key": "ctrl+shift+b", "command": "workbench.action.tasks.build", "when": "taskCommandsRegistered" }, +{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, +{ "key": "escape", "command": "workbench.action.terminal.chat.close", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, +{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.focusInput", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, +{ "key": "ctrl+up", "command": "workbench.action.terminal.chat.focusInput", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, +{ "key": "ctrl+down", "command": "workbench.action.terminal.chat.focusResponse", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" }, +{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, +{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest", + "when": "config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" }, +{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runCommand", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, { "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection", @@ -1515,6 +1529,8 @@ "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, +{ "key": "ctrl+a", "command": "notebook.cell.output.selectAll", + "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "ctrl+k down", "command": "views.moveViewDown", "when": "focusedView != ''" }, { "key": "ctrl+k left", "command": "views.moveViewLeft", @@ -1590,6 +1606,8 @@ "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "home", "command": "firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, +{ "key": "ctrl+enter", "command": "inlineChat.acceptChanges", + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "delete", "command": "moveFileToTrash", @@ -1658,10 +1676,10 @@ "when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatView", "when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" }, -{ "key": "escape", "command": "workbench.action.chat.stopListeningInInlineChat", - "when": "hasChatProvider && hasSpeechProvider && inlineVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat", "when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, +{ "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat", + "when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", "when": "editorDictation.inProgress" }, { "key": "f10", "command": "extension.node-debug.startWithStopOnEntry", @@ -1686,6 +1704,10 @@ "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", "when": "editorHasCallHierarchyProvider" }, +{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", + "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" }, +{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.start", + "when": "config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1725,6 +1747,7 @@ // - columnSelect // - comments.collapse // - comments.expand +// - comments.reply // - compareFiles // - compareSelected // - compositionEnd @@ -1801,6 +1824,7 @@ // - deleteWordStartRight // - developer.showCurrentFileAsReleaseNotes // - diffEditor.collapseAllUnchangedRegions +// - diffEditor.revert // - diffEditor.showAllUnchangedRegions // - diffEditor.switchSide // - diffEditor.toggleCollapseUnchangedRegions @@ -1879,6 +1903,7 @@ // - editor.action.transformToCamelcase // - editor.action.transformToKebabcase // - editor.action.transformToLowercase +// - editor.action.transformToPascalcase // - editor.action.transformToSnakecase // - editor.action.transformToTitlecase // - editor.action.transformToUppercase @@ -1962,7 +1987,9 @@ // - extension.node-debug.toggleAutoAttach // - extension.open // - extension.pwa-node-debug.attachNodeProcess +// - extensions.actions.searchByCategory.AI // - extensions.actions.searchByCategory.Azure +// - extensions.actions.searchByCategory.Chat // - extensions.actions.searchByCategory.Data Science // - extensions.actions.searchByCategory.Debuggers // - extensions.actions.searchByCategory.Education @@ -2042,6 +2069,8 @@ // - git.deleteBranch // - git.deleteRemoteTag // - git.deleteTag +// - git.diff.stageHunk +// - git.diff.stageSelection // - git.fetch // - git.fetchAll // - git.fetchPrune @@ -2137,16 +2166,13 @@ // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint // - inlineChat.configure -// - inlineChat.contractMessageAction // - inlineChat.copyRecordings // - inlineChat.discardHunkChange // - inlineChat.discardToClipboard // - inlineChat.discardToFile -// - inlineChat.expandMessageAction -// - inlineChat.feedbackHelpful -// - inlineChat.feedbackunhelpful // - inlineChat.regenerate // - inlineChat.reportIssueForBug +// - inlineChat.rerunWithIntentDetection // - inlineChat.toggleDiff // - inlineChat.viewInChat // - interactive.acceptChanges @@ -2250,6 +2276,8 @@ // - notebook.cell.cancelExecution // - notebook.cell.changeLanguage // - notebook.cell.chat.close +// - notebook.cell.chat.restore +// - notebook.cell.chat.startAtTop // - notebook.cell.chat.stop // - notebook.cell.collapseAllCellInputs // - notebook.cell.collapseAllCellOutputs @@ -2265,7 +2293,6 @@ // - notebook.cell.insertCodeCellAboveAndFocusContainer // - notebook.cell.insertCodeCellAtTop // - notebook.cell.insertCodeCellBelowAndFocusContainer -// - notebook.cell.insertCodeCellWithChatAtTop // - notebook.cell.insertMarkdownCellAbove // - notebook.cell.insertMarkdownCellAtTop // - notebook.cell.insertMarkdownCellBelow @@ -2288,10 +2315,17 @@ // - notebook.execute // - notebook.inspectLayout // - notebook.interruptExecution +// - notebook.outline.toggleCodeCellSymbols +// - notebook.outline.toggleCodeCells +// - notebook.outline.toggleShowMarkdownHeadersOnly // - notebook.renderAllMarkdownCells // - notebook.revealLastFailedCell // - notebook.revealRunningCell // - notebook.saveMimeTypeOrder +// - notebook.section.expandSection +// - notebook.section.foldSection +// - notebook.section.runCells +// - notebook.section.runSingleCell // - notebook.selectIndentation // - notebook.setProfile // - notebook.toggleCellToolbarPosition @@ -2502,8 +2536,9 @@ // - welcome.markStepIncomplete // - welcome.showAllWalkthroughs // - workbench.action.acceptSelectedQuickOpenItem +// - workbench.action.activityBarLocation.bottom +// - workbench.action.activityBarLocation.default // - workbench.action.activityBarLocation.hide -// - workbench.action.activityBarLocation.side // - workbench.action.activityBarLocation.top // - workbench.action.addRootFolder // - workbench.action.alignPanelCenter @@ -2514,6 +2549,7 @@ // - workbench.action.blur // - workbench.action.browseColorThemesInMarketplace // - workbench.action.chat.addDynamicVariable +// - workbench.action.chat.assignSelectedAgent // - workbench.action.chat.cancel // - workbench.action.chat.clearHistory // - workbench.action.chat.clearInputHistory @@ -2641,6 +2677,7 @@ // - workbench.action.generateColorTheme // - workbench.action.hideEditorActions // - workbench.action.hideEditorTabs +// - workbench.action.holdLockedScrolling // - workbench.action.increaseViewHeight // - workbench.action.increaseViewSize // - workbench.action.increaseViewWidth @@ -2746,6 +2783,13 @@ // - workbench.action.openWorkspaceSettings // - workbench.action.openWorkspaceSettingsFile // - workbench.action.openYouTubeUrl +// - workbench.action.output.activeOutputLogLevel.0 +// - workbench.action.output.activeOutputLogLevel.1 +// - workbench.action.output.activeOutputLogLevel.2 +// - workbench.action.output.activeOutputLogLevel.3 +// - workbench.action.output.activeOutputLogLevel.4 +// - workbench.action.output.activeOutputLogLevel.5 +// - workbench.action.output.activeOutputLogLevelDefault // - workbench.action.output.show.editSessions // - workbench.action.output.show.exthost // - workbench.action.output.show.main @@ -2848,6 +2892,10 @@ // - workbench.action.terminal.changeColorActiveTab // - workbench.action.terminal.changeIcon // - workbench.action.terminal.changeIconActiveTab +// - workbench.action.terminal.chat.cancel +// - workbench.action.terminal.chat.discard +// - workbench.action.terminal.chat.feedbackReportIssue +// - workbench.action.terminal.chat.viewInChat // - workbench.action.terminal.clear // - workbench.action.terminal.clearPreviousSessionHistory // - workbench.action.terminal.copyAndClearSelection @@ -2916,6 +2964,7 @@ // - workbench.action.toggleKeepEditors // - workbench.action.toggleKeybindingsLog // - workbench.action.toggleLightDarkThemes +// - workbench.action.toggleLockedScrolling // - workbench.action.toggleMaximizedPanel // - workbench.action.toggleMenuBar // - workbench.action.toggleMultiCursorModifier @@ -2970,11 +3019,13 @@ // - workbench.debug.loadedScriptsView.resetViewLocation // - workbench.debug.panel.action.clearReplAction // - workbench.debug.variablesView.resetViewLocation +// - workbench.debug.viewlet.action.addDataBreakpointOnAddress // - workbench.debug.viewlet.action.addFunctionBreakpointAction // - workbench.debug.viewlet.action.addWatchExpression // - workbench.debug.viewlet.action.copyValue // - workbench.debug.viewlet.action.copyWorkspaceVariableValue // - workbench.debug.viewlet.action.disableAllBreakpoints +// - workbench.debug.viewlet.action.editDataBreakpointOnAddress // - workbench.debug.viewlet.action.enableAllBreakpoints // - workbench.debug.viewlet.action.reapplyBreakpointsAction // - workbench.debug.viewlet.action.removeAllBreakpoints diff --git a/generator/default-keybindings-mac.json b/generator/default-keybindings-mac.json index a981bdcf..60e5756f 100644 --- a/generator/default-keybindings-mac.json +++ b/generator/default-keybindings-mac.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.87.2 for macOS +// Default Keybindings of Visual Studio Code 1.88.0 for macOS // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -149,14 +149,10 @@ "when": "editorHasMultipleSelections && textInputFocus" }, { "key": "escape", "command": "removeSecondaryCursors", "when": "editorHasMultipleSelections && textInputFocus" }, -{ "key": "enter", "command": "inlineChat.accept", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" }, -{ "key": "enter", "command": "notebook.cell.chat.accept", - "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "cmd+down", "command": "notebook.cell.chat.arrowOutDown", - "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled" }, + "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "cmd+up", "command": "notebook.cell.chat.arrowOutUp", - "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled" }, + "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "cmd+up", "command": "notebook.cell.focusChatWidget", "when": "editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" }, { "key": "cmd+down", "command": "notebook.cell.focusNextChatWidget", @@ -165,12 +161,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "cmd+up", "command": "inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, -{ "key": "down", "command": "inlineChat.nextFromHistory", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorEnd" }, -{ "key": "up", "command": "inlineChat.previousFromHistory", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorStart" }, { "key": "escape", "command": "notebook.cell.chat.acceptChanges", - "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit" }, + "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" }, +{ "key": "down", "command": "notebook.cell.chat.nextFromHistory", + "when": "inlineChatFocused && notebookCellChatFocused" }, +{ "key": "up", "command": "notebook.cell.chat.previousFromHistory", + "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "f12", "command": "goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "goToNextReference", @@ -179,7 +175,7 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, -{ "key": "shift+enter", "command": "refactorPreview.apply", +{ "key": "cmd+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", "when": "focusedView == 'workbench.view.testing'" }, @@ -188,9 +184,11 @@ { "key": "ctrl+enter", "command": "notebook.cell.quitEdit", "when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" }, { "key": "escape", "command": "inlineChat.cancel", - "when": "inlineChatHasProvider && inlineChatVisible" }, + "when": "inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode == 'preview'" }, { "key": "escape", "command": "inlineChat.close", - "when": "inlineChatHasProvider && inlineChatVisible" }, + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, +{ "key": "escape", "command": "inlineChat.discard", + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, { "key": "cmd+f", "command": "actions.find", "when": "editorFocus || editorIsOpen" }, { "key": "cmd+e", "command": "actions.findWithSelection" }, @@ -505,6 +503,10 @@ "when": "hasSymbols" }, { "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel", "when": "hasSymbols" }, +{ "key": "escape", "command": "editor.hideDropWidget", + "when": "dropWidgetVisible" }, +{ "key": "escape", "command": "editor.hidePasteWidget", + "when": "pasteWidgetVisible" }, { "key": "cmd+k cmd+.", "command": "editor.removeManualFoldingRanges", "when": "editorTextFocus && foldingEnabled" }, { "key": "cmd+k cmd+l", "command": "editor.toggleFold", @@ -521,28 +523,22 @@ "when": "editorTextFocus && foldingEnabled" }, { "key": "escape", "command": "inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, -{ "key": "escape", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && config.inlineChat.mode != 'preview'" }, -{ "key": "escape", "command": "inlineChat.discard", - "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, -{ "key": "escape", "command": "inlineChat.stop", - "when": "inlineChatHasActiveRequest && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" }, { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "interactive.execute", "when": "activeEditor == 'workbench.editor.interactive'" }, { "key": "escape", "command": "notebook.cell.chat.discard", - "when": "inlineChatFocused && notebookCellChatFocused && !notebookChatUserDidEdit" }, + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "pagedown", "command": "notebook.cell.cursorPageDown", "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, { "key": "shift+pagedown", "command": "notebook.cell.cursorPageDownSelect", - "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, + "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "pageup", "command": "notebook.cell.cursorPageUp", "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, { "key": "shift+pageup", "command": "notebook.cell.cursorPageUpSelect", - "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, + "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "ctrl+enter", "command": "notebook.cell.execute", - "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, { "key": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", @@ -581,11 +577,11 @@ "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "cmd+k alt+cmd+c", "command": "workbench.action.addComment" }, { "key": "enter", "command": "workbench.action.chat.acceptInput", - "when": "inChatInput && textInputFocus" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", - "when": "hasChatProvider && inChat" }, + "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitSecondaryAgent", - "when": "inChatInput && textInputFocus" }, + "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", @@ -632,10 +628,8 @@ "when": "editorFocus" }, { "key": "alt+cmd+=", "command": "editor.action.inlineEdit.jumpBack", "when": "cursorAtInlineEdit && !editorReadonly" }, -{ "key": "cmd+enter", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { "key": "cmd+enter", "command": "notebook.cell.chat.acceptChanges", - "when": "inlineChatFocused && notebookCellChatFocused" }, + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "tab", "command": "jumpToNextSnippetPlaceholder", "when": "editorTextFocus && hasNextTabstop && inSnippetMode" }, { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder", @@ -722,7 +716,7 @@ "when": "suggestWidgetVisible && textInputFocus" }, { "key": "enter", "command": "acceptRenameInput", "when": "editorFocus && renameInputVisible && !isComposing" }, -{ "key": "shift+enter", "command": "acceptRenameInputWithPreview", +{ "key": "cmd+enter", "command": "acceptRenameInputWithPreview", "when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible && !isComposing" }, { "key": "shift+escape", "command": "cancelLinkedEditingInput", "when": "LinkedEditingInputVisible && editorTextFocus" }, @@ -737,13 +731,9 @@ { "key": "tab", "command": "focusNextRenameSuggestion", "when": "renameInputVisible" }, { "key": "up", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible && !renameInputFocused" }, -{ "key": "alt", "command": "focusPreviousRenameSuggestion", - "when": "renameInputFocused && renameInputVisible" }, -{ "key": "alt", "command": "focusPreviousRenameSuggestion", - "when": "renameInputFocused && renameInputVisible" }, + "when": "renameInputVisible" }, { "key": "shift+tab", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible && !renameInputFocused" }, + "when": "renameInputVisible" }, { "key": "shift+cmd+l", "command": "addCursorsAtSearchResults", "when": "fileMatchOrMatchFocus && searchViewletVisible" }, { "key": "shift+cmd+;", "command": "breadcrumbs.focus", @@ -971,8 +961,10 @@ "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'" }, { "key": "m", "command": "notebook.cell.changeToMarkdown", "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'" }, +{ "key": "enter", "command": "notebook.cell.chat.accept", + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "cmd+enter", "command": "notebook.cell.chat.acceptChanges", - "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" }, + "when": "notebookEditorFocused && !inputFocus && !notebookCellEditorFocused && notebookChatOuterFocusPosition == 'below'" }, { "key": "cmd+down", "command": "notebook.cell.chat.focus", "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'above'" }, { "key": "cmd+up", "command": "notebook.cell.chat.focus", @@ -981,6 +973,10 @@ "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "cmd+up", "command": "notebook.cell.chat.focusPreviousCell", "when": "inlineChatFocused && notebookCellChatFocused" }, +{ "key": "cmd+k i", "command": "notebook.cell.chat.start", + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, +{ "key": "cmd+i", "command": "notebook.cell.chat.start", + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "alt+delete", "command": "notebook.cell.clearOutputs", "when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "cmd+k cmd+c", "command": "notebook.cell.collapseCellInput", @@ -1017,6 +1013,8 @@ "when": "notebookEditorFocused && !inputFocus" }, { "key": "alt+up", "command": "notebook.cell.moveUp", "when": "notebookEditorFocused && !inputFocus" }, +{ "key": "cmd+.", "command": "notebook.cell.openFailureActions", + "when": "notebookCellFocused && notebookCellHasErrorDiagnostics && !notebookCellEditorFocused" }, { "key": "cmd+k shift+cmd+\\", "command": "notebook.cell.split", "when": "editorTextFocus && notebookCellEditable && notebookEditable && notebookEditorFocused" }, { "key": "cmd+k y", "command": "notebook.cell.toggleOutputScrolling", @@ -1228,9 +1226,7 @@ { "key": "cmd+down", "command": "workbench.action.chat.focusInput", "when": "inChat && !inChatInput" }, { "key": "cmd+i", "command": "workbench.action.chat.holdToVoiceChatInChatView", - "when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused" }, -{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", - "when": "hasChatProvider && inChat && !inChatInput" }, + "when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "hasChatProvider && inChat" }, { "key": "alt+cmd+pagedown", "command": "workbench.action.chat.nextCodeBlock", @@ -1245,8 +1241,10 @@ "when": "hasChatProvider && inChat" }, { "key": "cmd+backspace", "command": "workbench.action.chat.remove", "when": "inChat && !inChatInput" }, +{ "key": "shift+cmd+enter", "command": "workbench.action.chat.sendToNewChat", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "cmd+i", "command": "workbench.action.chat.startVoiceChat", - "when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, + "when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, { "key": "cmd+i", "command": "workbench.action.chat.stopListeningAndSubmit", "when": "hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "cmd+w", "command": "workbench.action.closeActiveEditor" }, @@ -1413,6 +1411,22 @@ { "key": "ctrl+w", "command": "workbench.action.switchWindow" }, { "key": "shift+cmd+b", "command": "workbench.action.tasks.build", "when": "taskCommandsRegistered" }, +{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, +{ "key": "escape", "command": "workbench.action.terminal.chat.close", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, +{ "key": "cmd+i", "command": "workbench.action.terminal.chat.focusInput", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, +{ "key": "cmd+up", "command": "workbench.action.terminal.chat.focusInput", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, +{ "key": "cmd+down", "command": "workbench.action.terminal.chat.focusResponse", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" }, +{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, +{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest", + "when": "config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" }, +{ "key": "cmd+enter", "command": "workbench.action.terminal.chat.runCommand", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, { "key": "cmd+c", "command": "workbench.action.terminal.copySelection", @@ -1646,6 +1660,8 @@ "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, +{ "key": "cmd+a", "command": "notebook.cell.output.selectAll", + "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "cmd+k down", "command": "views.moveViewDown", "when": "focusedView != ''" }, { "key": "cmd+k left", "command": "views.moveViewLeft", @@ -1721,6 +1737,8 @@ "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "home", "command": "firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, +{ "key": "cmd+enter", "command": "inlineChat.acceptChanges", + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "delete", "command": "moveFileToTrash", @@ -1801,10 +1819,10 @@ "when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatView", "when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" }, -{ "key": "escape", "command": "workbench.action.chat.stopListeningInInlineChat", - "when": "hasChatProvider && hasSpeechProvider && inlineVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat", "when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, +{ "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat", + "when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", "when": "editorDictation.inProgress" }, { "key": "f10", "command": "extension.node-debug.startWithStopOnEntry", @@ -1829,6 +1847,10 @@ "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", "when": "editorHasCallHierarchyProvider" }, +{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", + "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" }, +{ "key": "cmd+i", "command": "workbench.action.terminal.chat.start", + "when": "config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "cmd+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1871,6 +1893,7 @@ // - columnSelect // - comments.collapse // - comments.expand +// - comments.reply // - compareFiles // - compareSelected // - compositionEnd @@ -1935,6 +1958,7 @@ // - deleteWordStartRight // - developer.showCurrentFileAsReleaseNotes // - diffEditor.collapseAllUnchangedRegions +// - diffEditor.revert // - diffEditor.showAllUnchangedRegions // - diffEditor.switchSide // - diffEditor.toggleCollapseUnchangedRegions @@ -2011,6 +2035,7 @@ // - editor.action.transformToCamelcase // - editor.action.transformToKebabcase // - editor.action.transformToLowercase +// - editor.action.transformToPascalcase // - editor.action.transformToSnakecase // - editor.action.transformToTitlecase // - editor.action.transformToUppercase @@ -2093,7 +2118,9 @@ // - extension.node-debug.toggleAutoAttach // - extension.open // - extension.pwa-node-debug.attachNodeProcess +// - extensions.actions.searchByCategory.AI // - extensions.actions.searchByCategory.Azure +// - extensions.actions.searchByCategory.Chat // - extensions.actions.searchByCategory.Data Science // - extensions.actions.searchByCategory.Debuggers // - extensions.actions.searchByCategory.Education @@ -2173,6 +2200,8 @@ // - git.deleteBranch // - git.deleteRemoteTag // - git.deleteTag +// - git.diff.stageHunk +// - git.diff.stageSelection // - git.fetch // - git.fetchAll // - git.fetchPrune @@ -2268,16 +2297,13 @@ // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint // - inlineChat.configure -// - inlineChat.contractMessageAction // - inlineChat.copyRecordings // - inlineChat.discardHunkChange // - inlineChat.discardToClipboard // - inlineChat.discardToFile -// - inlineChat.expandMessageAction -// - inlineChat.feedbackHelpful -// - inlineChat.feedbackunhelpful // - inlineChat.regenerate // - inlineChat.reportIssueForBug +// - inlineChat.rerunWithIntentDetection // - inlineChat.toggleDiff // - inlineChat.viewInChat // - interactive.acceptChanges @@ -2380,6 +2406,8 @@ // - notebook.cell.cancelExecution // - notebook.cell.changeLanguage // - notebook.cell.chat.close +// - notebook.cell.chat.restore +// - notebook.cell.chat.startAtTop // - notebook.cell.chat.stop // - notebook.cell.collapseAllCellInputs // - notebook.cell.collapseAllCellOutputs @@ -2395,7 +2423,6 @@ // - notebook.cell.insertCodeCellAboveAndFocusContainer // - notebook.cell.insertCodeCellAtTop // - notebook.cell.insertCodeCellBelowAndFocusContainer -// - notebook.cell.insertCodeCellWithChatAtTop // - notebook.cell.insertMarkdownCellAbove // - notebook.cell.insertMarkdownCellAtTop // - notebook.cell.insertMarkdownCellBelow @@ -2418,10 +2445,17 @@ // - notebook.execute // - notebook.inspectLayout // - notebook.interruptExecution +// - notebook.outline.toggleCodeCellSymbols +// - notebook.outline.toggleCodeCells +// - notebook.outline.toggleShowMarkdownHeadersOnly // - notebook.renderAllMarkdownCells // - notebook.revealLastFailedCell // - notebook.revealRunningCell // - notebook.saveMimeTypeOrder +// - notebook.section.expandSection +// - notebook.section.foldSection +// - notebook.section.runCells +// - notebook.section.runSingleCell // - notebook.selectIndentation // - notebook.setProfile // - notebook.toggleCellToolbarPosition @@ -2631,8 +2665,9 @@ // - welcome.markStepIncomplete // - welcome.showAllWalkthroughs // - workbench.action.acceptSelectedQuickOpenItem +// - workbench.action.activityBarLocation.bottom +// - workbench.action.activityBarLocation.default // - workbench.action.activityBarLocation.hide -// - workbench.action.activityBarLocation.side // - workbench.action.activityBarLocation.top // - workbench.action.addRootFolder // - workbench.action.alignPanelCenter @@ -2643,6 +2678,7 @@ // - workbench.action.blur // - workbench.action.browseColorThemesInMarketplace // - workbench.action.chat.addDynamicVariable +// - workbench.action.chat.assignSelectedAgent // - workbench.action.chat.cancel // - workbench.action.chat.clearHistory // - workbench.action.chat.clearInputHistory @@ -2770,6 +2806,7 @@ // - workbench.action.generateColorTheme // - workbench.action.hideEditorActions // - workbench.action.hideEditorTabs +// - workbench.action.holdLockedScrolling // - workbench.action.increaseViewHeight // - workbench.action.increaseViewSize // - workbench.action.increaseViewWidth @@ -2879,6 +2916,13 @@ // - workbench.action.openWorkspaceSettings // - workbench.action.openWorkspaceSettingsFile // - workbench.action.openYouTubeUrl +// - workbench.action.output.activeOutputLogLevel.0 +// - workbench.action.output.activeOutputLogLevel.1 +// - workbench.action.output.activeOutputLogLevel.2 +// - workbench.action.output.activeOutputLogLevel.3 +// - workbench.action.output.activeOutputLogLevel.4 +// - workbench.action.output.activeOutputLogLevel.5 +// - workbench.action.output.activeOutputLogLevelDefault // - workbench.action.output.show.editSessions // - workbench.action.output.show.exthost // - workbench.action.output.show.main @@ -2977,6 +3021,10 @@ // - workbench.action.terminal.changeColorActiveTab // - workbench.action.terminal.changeIcon // - workbench.action.terminal.changeIconActiveTab +// - workbench.action.terminal.chat.cancel +// - workbench.action.terminal.chat.discard +// - workbench.action.terminal.chat.feedbackReportIssue +// - workbench.action.terminal.chat.viewInChat // - workbench.action.terminal.clearPreviousSessionHistory // - workbench.action.terminal.copyAndClearSelection // - workbench.action.terminal.copyLastCommand @@ -3041,6 +3089,7 @@ // - workbench.action.toggleKeepEditors // - workbench.action.toggleKeybindingsLog // - workbench.action.toggleLightDarkThemes +// - workbench.action.toggleLockedScrolling // - workbench.action.toggleMaximizedPanel // - workbench.action.toggleMultiCursorModifier // - workbench.action.toggleNotebookClipboardLog @@ -3096,11 +3145,13 @@ // - workbench.debug.loadedScriptsView.resetViewLocation // - workbench.debug.panel.action.clearReplAction // - workbench.debug.variablesView.resetViewLocation +// - workbench.debug.viewlet.action.addDataBreakpointOnAddress // - workbench.debug.viewlet.action.addFunctionBreakpointAction // - workbench.debug.viewlet.action.addWatchExpression // - workbench.debug.viewlet.action.copyValue // - workbench.debug.viewlet.action.copyWorkspaceVariableValue // - workbench.debug.viewlet.action.disableAllBreakpoints +// - workbench.debug.viewlet.action.editDataBreakpointOnAddress // - workbench.debug.viewlet.action.enableAllBreakpoints // - workbench.debug.viewlet.action.reapplyBreakpointsAction // - workbench.debug.viewlet.action.removeAllBreakpoints diff --git a/generator/default-keybindings-win.json b/generator/default-keybindings-win.json index 26cc7b6f..e0dc203f 100644 --- a/generator/default-keybindings-win.json +++ b/generator/default-keybindings-win.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.87.2 for Windows +// Default Keybindings of Visual Studio Code 1.88.0 for Windows // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -115,14 +115,10 @@ "when": "editorHasMultipleSelections && textInputFocus" }, { "key": "escape", "command": "removeSecondaryCursors", "when": "editorHasMultipleSelections && textInputFocus" }, -{ "key": "enter", "command": "inlineChat.accept", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" }, -{ "key": "enter", "command": "notebook.cell.chat.accept", - "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "ctrl+down", "command": "notebook.cell.chat.arrowOutDown", - "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled" }, + "when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "ctrl+up", "command": "notebook.cell.chat.arrowOutUp", - "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled" }, + "when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "ctrl+up", "command": "notebook.cell.focusChatWidget", "when": "editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" }, { "key": "ctrl+down", "command": "notebook.cell.focusNextChatWidget", @@ -131,12 +127,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "ctrl+up", "command": "inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, -{ "key": "down", "command": "inlineChat.nextFromHistory", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorEnd" }, -{ "key": "up", "command": "inlineChat.previousFromHistory", - "when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorStart" }, { "key": "escape", "command": "notebook.cell.chat.acceptChanges", - "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit" }, + "when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" }, +{ "key": "down", "command": "notebook.cell.chat.nextFromHistory", + "when": "inlineChatFocused && notebookCellChatFocused" }, +{ "key": "up", "command": "notebook.cell.chat.previousFromHistory", + "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "f12", "command": "goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "goToNextReference", @@ -145,7 +141,7 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, -{ "key": "shift+enter", "command": "refactorPreview.apply", +{ "key": "ctrl+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", "when": "focusedView == 'workbench.view.testing'" }, @@ -154,9 +150,11 @@ { "key": "ctrl+alt+enter", "command": "notebook.cell.quitEdit", "when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" }, { "key": "escape", "command": "inlineChat.cancel", - "when": "inlineChatHasProvider && inlineChatVisible" }, + "when": "inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode == 'preview'" }, { "key": "escape", "command": "inlineChat.close", - "when": "inlineChatHasProvider && inlineChatVisible" }, + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, +{ "key": "escape", "command": "inlineChat.discard", + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, { "key": "ctrl+f", "command": "actions.find", "when": "editorFocus || editorIsOpen" }, { "key": "enter", "command": "breakpointWidget.action.acceptInput", @@ -441,6 +439,10 @@ "when": "hasSymbols" }, { "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel", "when": "hasSymbols" }, +{ "key": "escape", "command": "editor.hideDropWidget", + "when": "dropWidgetVisible" }, +{ "key": "escape", "command": "editor.hidePasteWidget", + "when": "pasteWidgetVisible" }, { "key": "ctrl+k ctrl+.", "command": "editor.removeManualFoldingRanges", "when": "editorTextFocus && foldingEnabled" }, { "key": "ctrl+k ctrl+l", "command": "editor.toggleFold", @@ -457,28 +459,22 @@ "when": "editorTextFocus && foldingEnabled" }, { "key": "escape", "command": "inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, -{ "key": "escape", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && config.inlineChat.mode != 'preview'" }, -{ "key": "escape", "command": "inlineChat.discard", - "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, -{ "key": "escape", "command": "inlineChat.stop", - "when": "inlineChatHasActiveRequest && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" }, { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "interactive.execute", "when": "activeEditor == 'workbench.editor.interactive'" }, { "key": "escape", "command": "notebook.cell.chat.discard", - "when": "inlineChatFocused && notebookCellChatFocused && !notebookChatUserDidEdit" }, + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "pagedown", "command": "notebook.cell.cursorPageDown", "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, { "key": "shift+pagedown", "command": "notebook.cell.cursorPageDownSelect", - "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, + "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "pageup", "command": "notebook.cell.cursorPageUp", "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, { "key": "shift+pageup", "command": "notebook.cell.cursorPageUpSelect", - "when": "editorTextFocus && inputFocus && notebookEditorFocused" }, + "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "ctrl+alt+enter", "command": "notebook.cell.execute", - "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, { "key": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", @@ -517,11 +513,11 @@ "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" }, { "key": "enter", "command": "workbench.action.chat.acceptInput", - "when": "inChatInput && textInputFocus" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", - "when": "hasChatProvider && inChat" }, + "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent", - "when": "inChatInput && textInputFocus" }, + "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", @@ -566,10 +562,8 @@ "when": "editorFocus" }, { "key": "ctrl+alt+=", "command": "editor.action.inlineEdit.jumpBack", "when": "cursorAtInlineEdit && !editorReadonly" }, -{ "key": "ctrl+enter", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges", - "when": "inlineChatFocused && notebookCellChatFocused" }, + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "tab", "command": "jumpToNextSnippetPlaceholder", "when": "editorTextFocus && hasNextTabstop && inSnippetMode" }, { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder", @@ -648,7 +642,7 @@ "when": "suggestWidgetVisible && textInputFocus" }, { "key": "enter", "command": "acceptRenameInput", "when": "editorFocus && renameInputVisible && !isComposing" }, -{ "key": "shift+enter", "command": "acceptRenameInputWithPreview", +{ "key": "ctrl+enter", "command": "acceptRenameInputWithPreview", "when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible && !isComposing" }, { "key": "shift+escape", "command": "cancelLinkedEditingInput", "when": "LinkedEditingInputVisible && editorTextFocus" }, @@ -663,11 +657,9 @@ { "key": "tab", "command": "focusNextRenameSuggestion", "when": "renameInputVisible" }, { "key": "up", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible && !renameInputFocused" }, -{ "key": "alt", "command": "focusPreviousRenameSuggestion", - "when": "renameInputFocused && renameInputVisible" }, + "when": "renameInputVisible" }, { "key": "shift+tab", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible && !renameInputFocused" }, + "when": "renameInputVisible" }, { "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults", "when": "fileMatchOrMatchFocus && searchViewletVisible" }, { "key": "ctrl+shift+;", "command": "breadcrumbs.focus", @@ -881,8 +873,10 @@ "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'" }, { "key": "m", "command": "notebook.cell.changeToMarkdown", "when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'" }, +{ "key": "enter", "command": "notebook.cell.chat.accept", + "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges", - "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" }, + "when": "notebookEditorFocused && !inputFocus && !notebookCellEditorFocused && notebookChatOuterFocusPosition == 'below'" }, { "key": "ctrl+down", "command": "notebook.cell.chat.focus", "when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'above'" }, { "key": "ctrl+up", "command": "notebook.cell.chat.focus", @@ -891,6 +885,10 @@ "when": "inlineChatFocused && notebookCellChatFocused" }, { "key": "ctrl+up", "command": "notebook.cell.chat.focusPreviousCell", "when": "inlineChatFocused && notebookCellChatFocused" }, +{ "key": "ctrl+k i", "command": "notebook.cell.chat.start", + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, +{ "key": "ctrl+i", "command": "notebook.cell.chat.start", + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "alt+delete", "command": "notebook.cell.clearOutputs", "when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.collapseCellInput", @@ -927,6 +925,8 @@ "when": "notebookEditorFocused && !inputFocus" }, { "key": "alt+up", "command": "notebook.cell.moveUp", "when": "notebookEditorFocused && !inputFocus" }, +{ "key": "ctrl+.", "command": "notebook.cell.openFailureActions", + "when": "notebookCellFocused && notebookCellHasErrorDiagnostics && !notebookCellEditorFocused" }, { "key": "ctrl+k ctrl+shift+\\", "command": "notebook.cell.split", "when": "editorTextFocus && notebookCellEditable && notebookEditable && notebookEditorFocused" }, { "key": "ctrl+k y", "command": "notebook.cell.toggleOutputScrolling", @@ -1128,9 +1128,7 @@ { "key": "ctrl+down", "command": "workbench.action.chat.focusInput", "when": "inChat && !inChatInput" }, { "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView", - "when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused" }, -{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", - "when": "hasChatProvider && inChat && !inChatInput" }, + "when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "hasChatProvider && inChat" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", @@ -1145,8 +1143,10 @@ "when": "hasChatProvider && inChat" }, { "key": "delete", "command": "workbench.action.chat.remove", "when": "inChat && !inChatInput" }, +{ "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", - "when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, + "when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", "when": "hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, @@ -1315,6 +1315,22 @@ { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorUp" }, { "key": "ctrl+shift+b", "command": "workbench.action.tasks.build", "when": "taskCommandsRegistered" }, +{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, +{ "key": "escape", "command": "workbench.action.terminal.chat.close", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, +{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.focusInput", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, +{ "key": "ctrl+up", "command": "workbench.action.terminal.chat.focusInput", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, +{ "key": "ctrl+down", "command": "workbench.action.terminal.chat.focusResponse", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" }, +{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, +{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest", + "when": "config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" }, +{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runCommand", + "when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, { "key": "ctrl+c", "command": "workbench.action.terminal.copyAndClearSelection", @@ -1525,6 +1541,8 @@ "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, +{ "key": "ctrl+a", "command": "notebook.cell.output.selectAll", + "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "ctrl+k down", "command": "views.moveViewDown", "when": "focusedView != ''" }, { "key": "ctrl+k left", "command": "views.moveViewLeft", @@ -1598,6 +1616,8 @@ "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "home", "command": "firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, +{ "key": "ctrl+enter", "command": "inlineChat.acceptChanges", + "when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "delete", "command": "moveFileToTrash", @@ -1670,10 +1690,10 @@ "when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatView", "when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" }, -{ "key": "escape", "command": "workbench.action.chat.stopListeningInInlineChat", - "when": "hasChatProvider && hasSpeechProvider && inlineVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat", "when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, +{ "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat", + "when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", "when": "editorDictation.inProgress" }, { "key": "f10", "command": "extension.node-debug.startWithStopOnEntry", @@ -1698,6 +1718,10 @@ "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", "when": "editorHasCallHierarchyProvider" }, +{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", + "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" }, +{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.start", + "when": "config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1737,6 +1761,7 @@ // - columnSelect // - comments.collapse // - comments.expand +// - comments.reply // - compareFiles // - compareSelected // - compositionEnd @@ -1813,6 +1838,7 @@ // - deleteWordStartRight // - developer.showCurrentFileAsReleaseNotes // - diffEditor.collapseAllUnchangedRegions +// - diffEditor.revert // - diffEditor.showAllUnchangedRegions // - diffEditor.switchSide // - diffEditor.toggleCollapseUnchangedRegions @@ -1890,6 +1916,7 @@ // - editor.action.transformToCamelcase // - editor.action.transformToKebabcase // - editor.action.transformToLowercase +// - editor.action.transformToPascalcase // - editor.action.transformToSnakecase // - editor.action.transformToTitlecase // - editor.action.transformToUppercase @@ -1973,7 +2000,9 @@ // - extension.node-debug.toggleAutoAttach // - extension.open // - extension.pwa-node-debug.attachNodeProcess +// - extensions.actions.searchByCategory.AI // - extensions.actions.searchByCategory.Azure +// - extensions.actions.searchByCategory.Chat // - extensions.actions.searchByCategory.Data Science // - extensions.actions.searchByCategory.Debuggers // - extensions.actions.searchByCategory.Education @@ -2053,6 +2082,8 @@ // - git.deleteBranch // - git.deleteRemoteTag // - git.deleteTag +// - git.diff.stageHunk +// - git.diff.stageSelection // - git.fetch // - git.fetchAll // - git.fetchPrune @@ -2148,16 +2179,13 @@ // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint // - inlineChat.configure -// - inlineChat.contractMessageAction // - inlineChat.copyRecordings // - inlineChat.discardHunkChange // - inlineChat.discardToClipboard // - inlineChat.discardToFile -// - inlineChat.expandMessageAction -// - inlineChat.feedbackHelpful -// - inlineChat.feedbackunhelpful // - inlineChat.regenerate // - inlineChat.reportIssueForBug +// - inlineChat.rerunWithIntentDetection // - inlineChat.toggleDiff // - inlineChat.viewInChat // - interactive.acceptChanges @@ -2261,6 +2289,8 @@ // - notebook.cell.cancelExecution // - notebook.cell.changeLanguage // - notebook.cell.chat.close +// - notebook.cell.chat.restore +// - notebook.cell.chat.startAtTop // - notebook.cell.chat.stop // - notebook.cell.collapseAllCellInputs // - notebook.cell.collapseAllCellOutputs @@ -2276,7 +2306,6 @@ // - notebook.cell.insertCodeCellAboveAndFocusContainer // - notebook.cell.insertCodeCellAtTop // - notebook.cell.insertCodeCellBelowAndFocusContainer -// - notebook.cell.insertCodeCellWithChatAtTop // - notebook.cell.insertMarkdownCellAbove // - notebook.cell.insertMarkdownCellAtTop // - notebook.cell.insertMarkdownCellBelow @@ -2299,10 +2328,17 @@ // - notebook.execute // - notebook.inspectLayout // - notebook.interruptExecution +// - notebook.outline.toggleCodeCellSymbols +// - notebook.outline.toggleCodeCells +// - notebook.outline.toggleShowMarkdownHeadersOnly // - notebook.renderAllMarkdownCells // - notebook.revealLastFailedCell // - notebook.revealRunningCell // - notebook.saveMimeTypeOrder +// - notebook.section.expandSection +// - notebook.section.foldSection +// - notebook.section.runCells +// - notebook.section.runSingleCell // - notebook.selectIndentation // - notebook.setProfile // - notebook.toggleCellToolbarPosition @@ -2512,8 +2548,9 @@ // - welcome.markStepIncomplete // - welcome.showAllWalkthroughs // - workbench.action.acceptSelectedQuickOpenItem +// - workbench.action.activityBarLocation.bottom +// - workbench.action.activityBarLocation.default // - workbench.action.activityBarLocation.hide -// - workbench.action.activityBarLocation.side // - workbench.action.activityBarLocation.top // - workbench.action.addRootFolder // - workbench.action.alignPanelCenter @@ -2524,6 +2561,7 @@ // - workbench.action.blur // - workbench.action.browseColorThemesInMarketplace // - workbench.action.chat.addDynamicVariable +// - workbench.action.chat.assignSelectedAgent // - workbench.action.chat.cancel // - workbench.action.chat.clearHistory // - workbench.action.chat.clearInputHistory @@ -2651,6 +2689,7 @@ // - workbench.action.generateColorTheme // - workbench.action.hideEditorActions // - workbench.action.hideEditorTabs +// - workbench.action.holdLockedScrolling // - workbench.action.increaseViewHeight // - workbench.action.increaseViewSize // - workbench.action.increaseViewWidth @@ -2756,6 +2795,13 @@ // - workbench.action.openWorkspaceSettings // - workbench.action.openWorkspaceSettingsFile // - workbench.action.openYouTubeUrl +// - workbench.action.output.activeOutputLogLevel.0 +// - workbench.action.output.activeOutputLogLevel.1 +// - workbench.action.output.activeOutputLogLevel.2 +// - workbench.action.output.activeOutputLogLevel.3 +// - workbench.action.output.activeOutputLogLevel.4 +// - workbench.action.output.activeOutputLogLevel.5 +// - workbench.action.output.activeOutputLogLevelDefault // - workbench.action.output.show.editSessions // - workbench.action.output.show.exthost // - workbench.action.output.show.main @@ -2856,6 +2902,10 @@ // - workbench.action.terminal.changeColorActiveTab // - workbench.action.terminal.changeIcon // - workbench.action.terminal.changeIconActiveTab +// - workbench.action.terminal.chat.cancel +// - workbench.action.terminal.chat.discard +// - workbench.action.terminal.chat.feedbackReportIssue +// - workbench.action.terminal.chat.viewInChat // - workbench.action.terminal.clear // - workbench.action.terminal.clearPreviousSessionHistory // - workbench.action.terminal.copyLastCommand @@ -2925,6 +2975,7 @@ // - workbench.action.toggleKeepEditors // - workbench.action.toggleKeybindingsLog // - workbench.action.toggleLightDarkThemes +// - workbench.action.toggleLockedScrolling // - workbench.action.toggleMaximizedPanel // - workbench.action.toggleMenuBar // - workbench.action.toggleMultiCursorModifier @@ -2979,11 +3030,13 @@ // - workbench.debug.loadedScriptsView.resetViewLocation // - workbench.debug.panel.action.clearReplAction // - workbench.debug.variablesView.resetViewLocation +// - workbench.debug.viewlet.action.addDataBreakpointOnAddress // - workbench.debug.viewlet.action.addFunctionBreakpointAction // - workbench.debug.viewlet.action.addWatchExpression // - workbench.debug.viewlet.action.copyValue // - workbench.debug.viewlet.action.copyWorkspaceVariableValue // - workbench.debug.viewlet.action.disableAllBreakpoints +// - workbench.debug.viewlet.action.editDataBreakpointOnAddress // - workbench.debug.viewlet.action.enableAllBreakpoints // - workbench.debug.viewlet.action.reapplyBreakpointsAction // - workbench.debug.viewlet.action.removeAllBreakpoints diff --git a/package.json b/package.json index 14758a79..421928a8 100644 --- a/package.json +++ b/package.json @@ -246,6 +246,14 @@ }, "when": "kb-macro.active && inQuickOpen" }, + { + "key": "shift+escape", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.close" + }, + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" + }, { "key": "shift+escape", "command": "kb-macro.wrap", @@ -305,7 +313,7 @@ "args": { "command": "notebook.cell.chat.acceptChanges" }, - "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit" + "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" }, { "key": "escape", @@ -321,7 +329,7 @@ "args": { "command": "inlineChat.cancel" }, - "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible" + "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode == 'preview'" }, { "key": "escape", @@ -329,7 +337,15 @@ "args": { "command": "inlineChat.close" }, - "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible" + "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" + }, + { + "key": "escape", + "command": "kb-macro.wrap", + "args": { + "command": "inlineChat.discard" + }, + "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" }, { "key": "escape", @@ -416,33 +432,25 @@ "key": "escape", "command": "kb-macro.wrap", "args": { - "command": "inlayHints.stopReadingLineWithHint" - }, - "when": "kb-macro.active && isReadingLineWithInlayHints" - }, - { - "key": "escape", - "command": "kb-macro.wrap", - "args": { - "command": "inlineChat.acceptChanges" + "command": "editor.hideDropWidget" }, - "when": "kb-macro.active && inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && !inlineChatDocumentChanged || kb-macro.active && inlineChatHasProvider && inlineChatUserDidEdit && inlineChatVisible && config.inlineChat.mode != 'preview'" + "when": "kb-macro.active && dropWidgetVisible" }, { "key": "escape", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.discard" + "command": "editor.hidePasteWidget" }, - "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" + "when": "kb-macro.active && pasteWidgetVisible" }, { "key": "escape", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.stop" + "command": "inlayHints.stopReadingLineWithHint" }, - "when": "kb-macro.active && inlineChatHasActiveRequest && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" + "when": "kb-macro.active && isReadingLineWithInlayHints" }, { "key": "escape", @@ -450,7 +458,7 @@ "args": { "command": "notebook.cell.chat.discard" }, - "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && !notebookChatUserDidEdit" + "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "escape", @@ -662,6 +670,14 @@ }, "when": "kb-macro.active && inQuickOpen" }, + { + "key": "escape", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.close" + }, + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" + }, { "key": "escape", "command": "kb-macro.wrap", @@ -794,17 +810,17 @@ "key": "escape", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.chat.stopListeningInInlineChat" + "command": "workbench.action.chat.stopListeningInQuickChat" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && inlineVoiceChatInProgress" + "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, { "key": "escape", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.chat.stopListeningInQuickChat" + "command": "workbench.action.chat.stopListeningInTerminalChat" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" + "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", @@ -850,7 +866,7 @@ "args": { "command": "notebook.cell.chat.arrowOutDown" }, - "when": "kb-macro.active && inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled" + "when": "kb-macro.active && inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "cmd+down", @@ -932,9 +948,9 @@ "key": "down", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.nextFromHistory" + "command": "notebook.cell.chat.nextFromHistory" }, - "when": "kb-macro.active && inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorEnd" + "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused" }, { "key": "down", @@ -1481,7 +1497,7 @@ "args": { "command": "notebook.cell.cursorPageDownSelect" }, - "when": "kb-macro.active && editorTextFocus && inputFocus && notebookEditorFocused" + "when": "kb-macro.active && editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "shift+pagedown", @@ -1586,7 +1602,7 @@ "args": { "command": "notebook.cell.cursorPageUpSelect" }, - "when": "kb-macro.active && editorTextFocus && inputFocus && notebookEditorFocused" + "when": "kb-macro.active && editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "shift+pageup", @@ -1715,7 +1731,7 @@ "args": { "command": "notebook.cell.chat.arrowOutUp" }, - "when": "kb-macro.active && inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled" + "when": "kb-macro.active && inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "cmd+up", @@ -1805,9 +1821,9 @@ "key": "up", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.previousFromHistory" + "command": "notebook.cell.chat.previousFromHistory" }, - "when": "kb-macro.active && inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorStart" + "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused" }, { "key": "up", @@ -1853,7 +1869,7 @@ "args": { "command": "focusPreviousRenameSuggestion" }, - "when": "kb-macro.active && renameInputVisible && !renameInputFocused" + "when": "kb-macro.active && renameInputVisible" }, { "key": "up", @@ -2178,6 +2194,23 @@ }, "when": "kb-macro.active && listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" }, + { + "key": "cmd+a", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.selectAll" + }, + "when": "kb-macro.active && terminalFocusInAny && terminalHasBeenCreated || kb-macro.active && terminalFocusInAny && terminalProcessSupported" + }, + { + "key": "ctrl+a", + "mac": "cmd+a", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.output.selectAll" + }, + "when": "kb-macro.active && notebookEditorFocused && notebookOutputFocused" + }, { "key": "ctrl+l", "mac": "cmd+l", @@ -2225,7 +2258,7 @@ "args": { "command": "notebook.cell.chat.arrowOutDown" }, - "when": "kb-macro.active && !isMac && inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled" + "when": "kb-macro.active && !isMac && inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "ctrl+down", @@ -2398,6 +2431,15 @@ }, "when": "kb-macro.active && inChat && !inChatInput" }, + { + "key": "ctrl+down", + "mac": "cmd+down", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.focusResponse" + }, + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus" + }, { "key": "ctrl+down", "mac": "cmd+down", @@ -2460,7 +2502,7 @@ "args": { "command": "notebook.cell.chat.arrowOutUp" }, - "when": "kb-macro.active && !isMac && inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled" + "when": "kb-macro.active && !isMac && inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" }, { "key": "ctrl+up", @@ -2590,6 +2632,98 @@ }, "when": "kb-macro.active && inputFocus && navigableContainerFocused || kb-macro.active && navigableContainerFocused && treestickyScrollFocused || kb-macro.active && navigableContainerFocused && !listFocus || kb-macro.active && navigableContainerFocused && listScrollAtBoundary == 'both' || kb-macro.active && navigableContainerFocused && listScrollAtBoundary == 'top'" }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.triggerSuggest", + "record": "side-effect" + }, + "when": "kb-macro.active && editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "focusSuggestion", + "record": "side-effect" + }, + "when": "kb-macro.active && suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "toggleSuggestionDetails", + "record": "side-effect" + }, + "when": "kb-macro.active && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "inlineChat.holdForSpeech" + }, + "when": "kb-macro.active && hasSpeechProvider && inlineChatHasProvider && inlineChatVisible && textInputFocus" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "inlineChat.start" + }, + "when": "kb-macro.active && editorFocus && inlineChatHasProvider && !editorReadonly" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.chat.start" + }, + "when": "kb-macro.active && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.holdToVoiceChatInChatView" + }, + "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.startVoiceChat" + }, + "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || kb-macro.active && hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" + }, + { + "key": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.stopListeningAndSubmit" + }, + "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || kb-macro.active && hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" + }, + { + "key": "ctrl+up", + "mac": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.focusInput" + }, + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" + }, + { + "key": "cmd+up", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.focusInput" + }, + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" + }, { "key": "ctrl+up", "mac": "cmd+up", @@ -2663,7 +2797,7 @@ "args": { "command": "focusPreviousRenameSuggestion" }, - "when": "kb-macro.active && renameInputVisible && !renameInputFocused" + "when": "kb-macro.active && renameInputVisible" }, { "key": "ctrl+shift+z", @@ -2812,740 +2946,771 @@ "when": "kb-macro.active && inlineChatHasStashedSession && !editorReadonly" }, { - "key": "enter", + "key": "f12", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.accept" + "command": "goToNextReference" }, - "when": "kb-macro.active && inlineChatFocused && inlineChatHasProvider && inlineChatVisible && !inlineChatEmpty" + "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" }, { - "key": "enter", + "key": "f12", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.chat.accept" + "command": "editor.action.revealDefinition" }, - "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused" + "when": "kb-macro.active && editorHasDefinitionProvider && editorTextFocus" }, { - "key": "enter", + "key": "f12", "command": "kb-macro.wrap", "args": { - "command": "breakpointWidget.action.acceptInput" + "command": "editor.gotoNextSymbolFromResult" }, - "when": "kb-macro.active && breakpointWidgetVisible && inBreakpointWidget" + "when": "kb-macro.active && hasSymbols" }, { - "key": "enter", + "key": "f4", "command": "kb-macro.wrap", "args": { - "command": "editor.action.extensioneditor.findNext" + "command": "goToNextReference" }, - "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" + "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" }, { - "key": "enter", + "key": "f4", "command": "kb-macro.wrap", "args": { - "command": "editor.action.goToFocusedStickyScrollLine" + "command": "search.action.focusNextSearchResult" }, - "when": "kb-macro.active && stickyScrollFocused" + "when": "kb-macro.active && hasSearchResult || kb-macro.active && inSearchEditor" }, { - "key": "enter", + "key": "f4", "command": "kb-macro.wrap", "args": { - "command": "editor.action.insertColorWithStandaloneColorPicker" + "command": "references-view.next" }, - "when": "kb-macro.active && standaloneColorPickerFocused" + "when": "kb-macro.active && reference-list.hasResult && references-view.canNavigate" }, { - "key": "enter", + "key": "shift+f12", "command": "kb-macro.wrap", "args": { - "command": "editor.action.nextMatchFindAction" + "command": "goToPreviousReference" }, - "when": "kb-macro.active && editorFocus && findInputFocussed" + "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" }, { - "key": "enter", + "key": "shift+f12", "command": "kb-macro.wrap", "args": { - "command": "editor.action.webvieweditor.findNext" + "command": "editor.action.goToReferences" }, - "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" + "when": "kb-macro.active && editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, { - "key": "enter", + "key": "shift+f4", "command": "kb-macro.wrap", "args": { - "command": "repl.action.acceptInput" + "command": "goToPreviousReference" }, - "when": "kb-macro.active && inDebugRepl && textInputFocus" + "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" }, { - "key": "enter", + "key": "shift+f4", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.chat.acceptInput" + "command": "search.action.focusPreviousSearchResult" }, - "when": "kb-macro.active && inChatInput && textInputFocus" + "when": "kb-macro.active && hasSearchResult || kb-macro.active && inSearchEditor" }, { - "key": "enter", + "key": "shift+f4", "command": "kb-macro.wrap", "args": { - "command": "editor.action.replaceOne" + "command": "references-view.prev" }, - "when": "kb-macro.active && editorFocus && findWidgetVisible && replaceInputFocussed" + "when": "kb-macro.active && reference-list.hasResult && references-view.canNavigate" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "acceptSelectedSuggestion", - "record": "side-effect" + "command": "refactorPreview.apply" }, - "when": "kb-macro.active && acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" + "when": "kb-macro.active && refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "acceptRenameInput" + "command": "editor.action.insertLineAfter" }, - "when": "kb-macro.active && editorFocus && renameInputVisible && !isComposing" + "when": "kb-macro.active && editorTextFocus && !editorReadonly" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "breadcrumbs.selectFocused" + "command": "editor.action.submitComment" }, - "when": "kb-macro.active && breadcrumbsActive && breadcrumbsVisible" + "when": "kb-macro.active && commentEditorFocused" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "iconSelectBox.selectFocused" + "command": "notebook.cell.quitEdit" }, - "when": "kb-macro.active && iconSelectBoxFocus" + "when": "kb-macro.active && isMac && inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "keybindings.editor.acceptWhenExpression" + "command": "interactive.execute" }, - "when": "kb-macro.active && inKeybindings && whenFocus && !suggestWidgetVisible" + "when": "kb-macro.active && !isLinux && activeEditor == 'workbench.editor.interactive'" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "keybindings.editor.defineKeybinding" + "command": "notebook.cell.execute" }, - "when": "kb-macro.active && inKeybindings && keybindingFocus && !whenFocus" + "when": "kb-macro.active && isMac && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isMac && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isMac && inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || kb-macro.active && isMac && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isMac && inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || kb-macro.active && isMac && inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "list.select" + "command": "openReferenceToSide" }, - "when": "kb-macro.active && listFocus && !inputFocus && !treestickyScrollFocused" + "when": "kb-macro.active && listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.edit" + "command": "workbench.action.chat.submitSecondaryAgent" }, - "when": "kb-macro.active && notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" + "when": "kb-macro.active && chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { - "key": "enter", + "key": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "notification.toggle" + "command": "editor.action.replaceAll" }, - "when": "kb-macro.active && notificationFocus" + "when": "kb-macro.active && editorFocus && findWidgetVisible && replaceInputFocussed" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "problems.action.open" + "command": "notebook.cell.chat.acceptChanges" }, - "when": "kb-macro.active && problemFocus" + "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "revealReference" + "command": "acceptRenameInputWithPreview" }, - "when": "kb-macro.active && listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused" + "when": "kb-macro.active && config.editor.rename.enablePreview && editorFocus && renameInputVisible && !isComposing" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "search.action.openResult" + "command": "breadcrumbs.revealFocused" }, - "when": "kb-macro.active && fileMatchOrMatchFocus && searchViewletVisible" + "when": "kb-macro.active && breadcrumbsActive && breadcrumbsVisible" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "settings.action.focusSettingControl" + "command": "breadcrumbs.revealFocusedFromTreeAside" }, - "when": "kb-macro.active && inSettingsEditor && settingRowFocus" + "when": "kb-macro.active && breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "settings.action.focusSettingsList" + "command": "debug.openBreakpointToSide" }, - "when": "kb-macro.active && inSettingsEditor && settingsTocRowFocus" + "when": "kb-macro.active && breakpointsFocused" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.findPrevious" + "command": "explorer.openToSide" }, - "when": "kb-macro.active && terminalFindInputFocused && terminalHasBeenCreated || kb-macro.active && terminalFindInputFocused && terminalProcessSupported" + "when": "kb-macro.active && explorerViewletFocus && foldersViewVisible && !inputFocus" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.renameActiveTab" + "command": "notebook.cell.chat.acceptChanges" }, - "when": "kb-macro.active && isMac && terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || kb-macro.active && isMac && terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection" + "when": "kb-macro.active && notebookEditorFocused && !inputFocus && !notebookCellEditorFocused && notebookChatOuterFocusPosition == 'below'" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.acceptSelectedSuggestion" + "command": "notebook.cell.insertCodeCellBelow" }, - "when": "kb-macro.active && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || kb-macro.active && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" + "when": "kb-macro.active && notebookCellListFocused && !inputFocus && notebookChatOuterFocusPosition == ''" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "explorer.openAndPassFocus" + "command": "problems.action.openToSide" }, - "when": "kb-macro.active && !isMac && filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" + "when": "kb-macro.active && problemFocus" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "debug.renameWatchExpression" + "command": "scm.acceptInput" }, - "when": "kb-macro.active && isMac && watchExpressionsFocused" + "when": "kb-macro.active && scmRepository" }, { - "key": "enter", + "key": "ctrl+enter", "command": "kb-macro.wrap", "args": { - "command": "debug.setVariable" + "command": "search.action.openResultToSide" }, - "when": "kb-macro.active && isMac && variablesFocused" + "when": "kb-macro.active && fileMatchOrMatchFocus && searchViewletVisible" }, { - "key": "enter", + "key": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "remote.tunnel.label" + "command": "search.action.openInEditor" }, - "when": "kb-macro.active && isMac && tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" + "when": "kb-macro.active && hasSearchResult && searchViewletFocus" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "renameFile" + "command": "workbench.action.terminal.chat.runCommand" }, - "when": "kb-macro.active && isMac && filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, { - "key": "enter", + "key": "ctrl+enter", + "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "list.stickyScrollselect" + "command": "inlineChat.acceptChanges" }, - "when": "kb-macro.active && treestickyScrollFocused" + "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || kb-macro.active && inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" }, { - "key": "enter", - "command": "acceptSelectedCodeAction", - "when": "kb-macro.active && codeActionMenuVisible" + "key": "ctrl+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.insertCodeBlock" + }, + "when": "kb-macro.active && accessibleViewInCodeBlock && hasChatProvider || kb-macro.active && hasChatProvider && inChat && !inChatInput" }, { - "key": "f12", + "key": "ctrl+enter", + "command": "previewSelectedCodeAction", + "when": "kb-macro.active && codeActionMenuVisible", + "mac": "cmd+enter" + }, + { + "key": "alt+enter", "command": "kb-macro.wrap", "args": { - "command": "goToNextReference" + "command": "testing.editFocusedTest" }, - "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" + "when": "kb-macro.active && focusedView == 'workbench.view.testing'" }, { - "key": "f12", + "key": "alt+enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.revealDefinition" + "command": "notebook.cell.executeAndInsertBelow" }, - "when": "kb-macro.active && editorHasDefinitionProvider && editorTextFocus" + "when": "kb-macro.active && notebookCellListFocused && notebookCellType == 'markup' || kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { - "key": "f12", + "key": "alt+enter", "command": "kb-macro.wrap", "args": { - "command": "editor.gotoNextSymbolFromResult" + "command": "editor.action.selectAllMatches" }, - "when": "kb-macro.active && hasSymbols" + "when": "kb-macro.active && editorFocus && findWidgetVisible" }, { - "key": "f4", + "key": "alt+enter", "command": "kb-macro.wrap", "args": { - "command": "goToNextReference" + "command": "debug.openBreakpointToSide" }, - "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" + "when": "kb-macro.active && breakpointsFocused" }, { - "key": "f4", + "key": "alt+enter", "command": "kb-macro.wrap", "args": { - "command": "search.action.focusNextSearchResult" + "command": "search.action.openInEditor" }, - "when": "kb-macro.active && hasSearchResult || kb-macro.active && inSearchEditor" + "when": "kb-macro.active && !isMac && hasSearchResult && searchViewletFocus" }, { - "key": "f4", + "key": "alt+enter", "command": "kb-macro.wrap", "args": { - "command": "references-view.next" + "command": "workbench.action.terminal.chat.insertCommand" }, - "when": "kb-macro.active && reference-list.hasResult && references-view.canNavigate" + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" }, { - "key": "shift+f12", + "key": "ctrl+alt+enter", "command": "kb-macro.wrap", "args": { - "command": "goToPreviousReference" + "command": "notebook.cell.quitEdit" }, - "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" + "when": "kb-macro.active && isWindows && inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" }, { - "key": "shift+f12", + "key": "ctrl+alt+enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.goToReferences" + "command": "notebook.cell.execute" }, - "when": "kb-macro.active && editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" + "when": "kb-macro.active && isWindows && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isWindows && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isWindows && inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || kb-macro.active && isWindows && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isWindows && inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || kb-macro.active && isWindows && inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, { - "key": "shift+f4", + "key": "ctrl+alt+enter", "command": "kb-macro.wrap", "args": { - "command": "goToPreviousReference" + "command": "workbench.action.chat.runInTerminal" }, - "when": "kb-macro.active && inReferenceSearchEditor || kb-macro.active && referenceSearchVisible" + "when": "kb-macro.active && accessibleViewInCodeBlock && hasChatProvider || kb-macro.active && hasChatProvider && inChat" }, { - "key": "shift+f4", + "key": "ctrl+alt+enter", + "mac": "alt+cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "search.action.focusPreviousSearchResult" + "command": "editor.action.replaceAll" }, - "when": "kb-macro.active && hasSearchResult || kb-macro.active && inSearchEditor" + "when": "kb-macro.active && editorFocus && findWidgetVisible" }, { - "key": "shift+f4", + "key": "ctrl+alt+enter", + "mac": "alt+cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "references-view.prev" + "command": "search.action.replaceAll" }, - "when": "kb-macro.active && reference-list.hasResult && references-view.canNavigate" + "when": "kb-macro.active && replaceActive && searchViewletVisible && !findWidgetVisible" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "refactorPreview.apply" + "command": "actions.find" }, - "when": "kb-macro.active && refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" + "when": "kb-macro.active && editorFocus || kb-macro.active && editorIsOpen" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "editor.action.extensioneditor.findPrevious" + "command": "editor.action.extensioneditor.showfind" }, - "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" + "when": "kb-macro.active && !editorFocus && activeEditor == 'workbench.editor.extension'" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "editor.action.previousMatchFindAction" + "command": "editor.action.webvieweditor.showFind" }, - "when": "kb-macro.active && editorFocus && findInputFocussed" + "when": "kb-macro.active && webviewFindWidgetEnabled && !editorFocus && activeEditor == 'WebviewEditor'" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "editor.action.webvieweditor.findPrevious" + "command": "repl.action.filter" }, - "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" + "when": "kb-macro.active && inDebugRepl && textInputFocus" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.executeAndSelectBelow" + "command": "settings.action.search" }, - "when": "kb-macro.active && notebookCellListFocused && !inlineChatFocused && notebookCellType == 'markup' || kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + "when": "kb-macro.active && inSettingsEditor" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "acceptAlternativeSelectedSuggestion", - "record": "side-effect" + "command": "commentsFocusFilter" }, - "when": "kb-macro.active && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" + "when": "kb-macro.active && focusedView == 'workbench.panel.comments'" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "acceptRenameInputWithPreview" + "command": "keybindings.editor.searchKeybindings" }, - "when": "kb-macro.active && config.editor.rename.enablePreview && editorFocus && renameInputVisible && !isComposing" + "when": "kb-macro.active && inKeybindings" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "editor.refocusCallHierarchy" + "command": "list.find" }, - "when": "kb-macro.active && callHierarchyVisible" + "when": "kb-macro.active && listFocus && listSupportsFind" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "editor.refocusTypeHierarchy" + "command": "notebook.find" }, - "when": "kb-macro.active && typeHierarchyVisible" + "when": "kb-macro.active && notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.interactive' || kb-macro.active && notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.notebook'" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.findNext" + "command": "problems.action.focusFilter" }, - "when": "kb-macro.active && terminalFindInputFocused && terminalHasBeenCreated || kb-macro.active && terminalFindInputFocused && terminalProcessSupported" + "when": "kb-macro.active && focusedView == 'workbench.panel.markers.view'" }, { - "key": "shift+enter", + "key": "ctrl+f", + "mac": "cmd+f", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.sendSequence", - "args": { - "text": "\u001b[24~c" - } + "command": "workbench.action.terminal.focusFind" }, - "when": "kb-macro.active && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" + "when": "kb-macro.active && terminalFindFocused && terminalHasBeenCreated || kb-macro.active && terminalFindFocused && terminalProcessSupported || kb-macro.active && terminalFocusInAny && terminalHasBeenCreated || kb-macro.active && terminalFocusInAny && terminalProcessSupported" }, { - "key": "alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "testing.editFocusedTest" + "command": "breakpointWidget.action.acceptInput" }, - "when": "kb-macro.active && focusedView == 'workbench.view.testing'" + "when": "kb-macro.active && breakpointWidgetVisible && inBreakpointWidget" }, { - "key": "alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.executeAndInsertBelow" + "command": "editor.action.extensioneditor.findNext" }, - "when": "kb-macro.active && notebookCellListFocused && notebookCellType == 'markup' || kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" }, { - "key": "alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.selectAllMatches" + "command": "editor.action.goToFocusedStickyScrollLine" }, - "when": "kb-macro.active && editorFocus && findWidgetVisible" + "when": "kb-macro.active && stickyScrollFocused" }, { - "key": "alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "debug.openBreakpointToSide" + "command": "editor.action.insertColorWithStandaloneColorPicker" }, - "when": "kb-macro.active && breakpointsFocused" + "when": "kb-macro.active && standaloneColorPickerFocused" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.nextMatchFindAction" + }, + "when": "kb-macro.active && editorFocus && findInputFocussed" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.insertLineAfter" + "command": "editor.action.webvieweditor.findNext" }, - "when": "kb-macro.active && editorTextFocus && !editorReadonly" + "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.submitComment" + "command": "repl.action.acceptInput" }, - "when": "kb-macro.active && commentEditorFocused" + "when": "kb-macro.active && inDebugRepl && textInputFocus" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.chat.submitSecondaryAgent" + "command": "workbench.action.chat.acceptInput" }, - "when": "kb-macro.active && inChatInput && textInputFocus" + "when": "kb-macro.active && chatInputHasText && inChatInput" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.replaceAll" + "command": "editor.action.replaceOne" }, "when": "kb-macro.active && editorFocus && findWidgetVisible && replaceInputFocussed" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.acceptChanges" + "command": "acceptSelectedSuggestion", + "record": "side-effect" }, - "when": "kb-macro.active && inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || kb-macro.active && inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" + "when": "kb-macro.active && acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.chat.acceptChanges" + "command": "acceptRenameInput" }, - "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused" + "when": "kb-macro.active && editorFocus && renameInputVisible && !isComposing" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "breadcrumbs.revealFocused" + "command": "breadcrumbs.selectFocused" }, "when": "kb-macro.active && breadcrumbsActive && breadcrumbsVisible" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "breadcrumbs.revealFocusedFromTreeAside" + "command": "iconSelectBox.selectFocused" }, - "when": "kb-macro.active && breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" + "when": "kb-macro.active && iconSelectBoxFocus" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "debug.openBreakpointToSide" + "command": "keybindings.editor.acceptWhenExpression" }, - "when": "kb-macro.active && breakpointsFocused" + "when": "kb-macro.active && inKeybindings && whenFocus && !suggestWidgetVisible" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.chat.acceptChanges" + "command": "keybindings.editor.defineKeybinding" }, - "when": "kb-macro.active && notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" + "when": "kb-macro.active && inKeybindings && keybindingFocus && !whenFocus" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.insertCodeCellBelow" + "command": "list.select" }, - "when": "kb-macro.active && notebookCellListFocused && !inputFocus && notebookChatOuterFocusPosition == ''" + "when": "kb-macro.active && listFocus && !inputFocus && !treestickyScrollFocused" }, { - "key": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "scm.acceptInput" + "command": "notebook.cell.chat.accept" }, - "when": "kb-macro.active && scmRepository" + "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { - "key": "alt+enter", - "mac": "cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "search.action.openInEditor" + "command": "notebook.cell.edit" }, - "when": "kb-macro.active && hasSearchResult && searchViewletFocus" + "when": "kb-macro.active && notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" }, { - "key": "ctrl+alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.quitEdit" + "command": "notification.toggle" }, - "when": "kb-macro.active && isWindows && inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" + "when": "kb-macro.active && notificationFocus" }, { - "key": "ctrl+alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.execute" + "command": "problems.action.open" }, - "when": "kb-macro.active && isWindows && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isWindows && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && isWindows && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + "when": "kb-macro.active && problemFocus" }, { - "key": "ctrl+alt+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.chat.runInTerminal" + "command": "revealReference" }, - "when": "kb-macro.active && hasChatProvider && inChat" + "when": "kb-macro.active && listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused" }, { - "key": "ctrl+alt+enter", - "mac": "alt+cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.replaceAll" + "command": "search.action.openResult" }, - "when": "kb-macro.active && editorFocus && findWidgetVisible" + "when": "kb-macro.active && fileMatchOrMatchFocus && searchViewletVisible" }, { - "key": "ctrl+alt+enter", - "mac": "alt+cmd+enter", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "search.action.replaceAll" + "command": "settings.action.focusSettingControl" }, - "when": "kb-macro.active && replaceActive && searchViewletVisible && !findWidgetVisible" + "when": "kb-macro.active && inSettingsEditor && settingRowFocus" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "actions.find" + "command": "settings.action.focusSettingsList" }, - "when": "kb-macro.active && editorFocus || kb-macro.active && editorIsOpen" + "when": "kb-macro.active && inSettingsEditor && settingsTocRowFocus" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.extensioneditor.showfind" + "command": "workbench.action.terminal.chat.makeRequest" }, - "when": "kb-macro.active && !editorFocus && activeEditor == 'workbench.editor.extension'" + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || kb-macro.active && config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.webvieweditor.showFind" + "command": "workbench.action.terminal.findPrevious" }, - "when": "kb-macro.active && webviewFindWidgetEnabled && !editorFocus && activeEditor == 'WebviewEditor'" + "when": "kb-macro.active && terminalFindInputFocused && terminalHasBeenCreated || kb-macro.active && terminalFindInputFocused && terminalProcessSupported" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "repl.action.filter" + "command": "workbench.action.terminal.renameActiveTab" }, - "when": "kb-macro.active && inDebugRepl && textInputFocus" + "when": "kb-macro.active && isMac && terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || kb-macro.active && isMac && terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "settings.action.search" + "command": "workbench.action.terminal.acceptSelectedSuggestion" }, - "when": "kb-macro.active && inSettingsEditor" + "when": "kb-macro.active && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || kb-macro.active && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "commentsFocusFilter" + "command": "explorer.openAndPassFocus" }, - "when": "kb-macro.active && focusedView == 'workbench.panel.comments'" + "when": "kb-macro.active && !isMac && filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "keybindings.editor.searchKeybindings" + "command": "debug.renameWatchExpression" }, - "when": "kb-macro.active && inKeybindings" + "when": "kb-macro.active && isMac && watchExpressionsFocused" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "list.find" + "command": "debug.setVariable" }, - "when": "kb-macro.active && listFocus && listSupportsFind" + "when": "kb-macro.active && isMac && variablesFocused" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.find" + "command": "remote.tunnel.label" }, - "when": "kb-macro.active && notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.interactive' || kb-macro.active && notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.notebook'" + "when": "kb-macro.active && isMac && tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "problems.action.focusFilter" + "command": "renameFile" }, - "when": "kb-macro.active && focusedView == 'workbench.panel.markers.view'" + "when": "kb-macro.active && isMac && filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { - "key": "ctrl+f", - "mac": "cmd+f", + "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.focusFind" + "command": "list.stickyScrollselect" }, - "when": "kb-macro.active && terminalFindFocused && terminalHasBeenCreated || kb-macro.active && terminalFindFocused && terminalProcessSupported || kb-macro.active && terminalFocusInAny && terminalHasBeenCreated || kb-macro.active && terminalFocusInAny && terminalProcessSupported" + "when": "kb-macro.active && treestickyScrollFocused" + }, + { + "key": "enter", + "command": "acceptSelectedCodeAction", + "when": "kb-macro.active && codeActionMenuVisible" }, { "key": "ctrl+u", @@ -4104,41 +4269,117 @@ "mac": "shift+cmd+k", "command": "kb-macro.wrap", "args": { - "command": "editor.action.deleteLines" + "command": "editor.action.deleteLines" + }, + "when": "kb-macro.active && textInputFocus && !editorReadonly" + }, + { + "key": "alt+f3", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.dirtydiff.next" + }, + "when": "kb-macro.active && editorTextFocus && !textCompareEditorActive" + }, + { + "key": "alt+f3", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.diff.action.next" + }, + "when": "kb-macro.active && activeEditor == 'workbench.editor.notebookTextDiffEditor'" + }, + { + "key": "shift+alt+f3", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.dirtydiff.previous" + }, + "when": "kb-macro.active && editorTextFocus && !textCompareEditorActive" + }, + { + "key": "shift+alt+f3", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.diff.action.previous" + }, + "when": "kb-macro.active && activeEditor == 'workbench.editor.notebookTextDiffEditor'" + }, + { + "key": "shift+enter", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.extensioneditor.findPrevious" + }, + "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" + }, + { + "key": "shift+enter", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.previousMatchFindAction" + }, + "when": "kb-macro.active && editorFocus && findInputFocussed" + }, + { + "key": "shift+enter", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.webvieweditor.findPrevious" + }, + "when": "kb-macro.active && webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" + }, + { + "key": "shift+enter", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.executeAndSelectBelow" + }, + "when": "kb-macro.active && notebookCellListFocused && !inlineChatFocused && notebookCellType == 'markup' || kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + }, + { + "key": "shift+enter", + "command": "kb-macro.wrap", + "args": { + "command": "acceptAlternativeSelectedSuggestion", + "record": "side-effect" }, - "when": "kb-macro.active && textInputFocus && !editorReadonly" + "when": "kb-macro.active && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { - "key": "alt+f3", + "key": "shift+enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.dirtydiff.next" + "command": "editor.refocusCallHierarchy" }, - "when": "kb-macro.active && editorTextFocus && !textCompareEditorActive" + "when": "kb-macro.active && callHierarchyVisible" }, { - "key": "alt+f3", + "key": "shift+enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.diff.action.next" + "command": "editor.refocusTypeHierarchy" }, - "when": "kb-macro.active && activeEditor == 'workbench.editor.notebookTextDiffEditor'" + "when": "kb-macro.active && typeHierarchyVisible" }, { - "key": "shift+alt+f3", + "key": "shift+enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.dirtydiff.previous" + "command": "workbench.action.terminal.findNext" }, - "when": "kb-macro.active && editorTextFocus && !textCompareEditorActive" + "when": "kb-macro.active && terminalFindInputFocused && terminalHasBeenCreated || kb-macro.active && terminalFindInputFocused && terminalProcessSupported" }, { - "key": "shift+alt+f3", + "key": "shift+enter", "command": "kb-macro.wrap", "args": { - "command": "notebook.diff.action.previous" + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u001b[24~c" + } }, - "when": "kb-macro.active && activeEditor == 'workbench.editor.notebookTextDiffEditor'" + "when": "kb-macro.active && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" }, { "key": "shift+alt+f", @@ -4311,164 +4552,6 @@ }, "when": "kb-macro.active && editorTextFocus" }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "editor.action.insertLineAfter" - }, - "when": "kb-macro.active && !isMac && editorTextFocus && !editorReadonly" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "editor.action.submitComment" - }, - "when": "kb-macro.active && !isMac && commentEditorFocused" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.cell.quitEdit" - }, - "when": "kb-macro.active && isMac && inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "interactive.execute" - }, - "when": "kb-macro.active && !isLinux && activeEditor == 'workbench.editor.interactive'" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.cell.execute" - }, - "when": "kb-macro.active && isMac && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isMac && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && isMac && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "openReferenceToSide" - }, - "when": "kb-macro.active && listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.chat.submitSecondaryAgent" - }, - "when": "kb-macro.active && !isMac && inChatInput && textInputFocus" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "inlineChat.acceptChanges" - }, - "when": "kb-macro.active && !isMac && inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || kb-macro.active && !isMac && inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode != 'preview'" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.cell.chat.acceptChanges" - }, - "when": "kb-macro.active && !isMac && inlineChatFocused && notebookCellChatFocused" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "breadcrumbs.revealFocused" - }, - "when": "kb-macro.active && !isMac && breadcrumbsActive && breadcrumbsVisible" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "breadcrumbs.revealFocusedFromTreeAside" - }, - "when": "kb-macro.active && !isMac && breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "debug.openBreakpointToSide" - }, - "when": "kb-macro.active && !isMac && breakpointsFocused" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "explorer.openToSide" - }, - "when": "kb-macro.active && explorerViewletFocus && foldersViewVisible && !inputFocus" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.cell.chat.acceptChanges" - }, - "when": "kb-macro.active && !isMac && notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.cell.insertCodeCellBelow" - }, - "when": "kb-macro.active && !isMac && notebookCellListFocused && !inputFocus && notebookChatOuterFocusPosition == ''" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "problems.action.openToSide" - }, - "when": "kb-macro.active && problemFocus" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "scm.acceptInput" - }, - "when": "kb-macro.active && !isMac && scmRepository" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "search.action.openResultToSide" - }, - "when": "kb-macro.active && fileMatchOrMatchFocus && searchViewletVisible" - }, - { - "key": "ctrl+enter", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.chat.insertCodeBlock" - }, - "when": "kb-macro.active && hasChatProvider && inChat && !inChatInput" - }, - { - "key": "ctrl+enter", - "command": "previewSelectedCodeAction", - "when": "kb-macro.active && codeActionMenuVisible", - "mac": "cmd+enter" - }, { "key": "ctrl+shift+enter", "mac": "shift+cmd+enter", @@ -4514,6 +4597,15 @@ }, "when": "kb-macro.active && folderMatchFocus && isEditableItem && replaceActive && searchViewletVisible" }, + { + "key": "ctrl+shift+enter", + "mac": "shift+cmd+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.sendToNewChat" + }, + "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress" + }, { "key": "ctrl+shift+\\", "mac": "shift+cmd+\\", @@ -4904,6 +4996,15 @@ }, "when": "kb-macro.active && pasteWidgetVisible" }, + { + "key": "ctrl+.", + "mac": "cmd+.", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.openFailureActions" + }, + "when": "kb-macro.active && notebookCellFocused && notebookCellHasErrorDiagnostics && !notebookCellEditorFocused" + }, { "key": "ctrl+.", "mac": "cmd+.", @@ -5187,42 +5288,38 @@ }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "editor.action.triggerSuggest", "record": "side-effect" }, - "when": "kb-macro.active && editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" + "when": "kb-macro.active && !isMac && editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "focusSuggestion", "record": "side-effect" }, - "when": "kb-macro.active && suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" + "when": "kb-macro.active && !isMac && suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "toggleSuggestionDetails", "record": "side-effect" }, - "when": "kb-macro.active && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" + "when": "kb-macro.active && !isMac && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "inlineChat.holdForSpeech" }, - "when": "kb-macro.active && hasSpeechProvider && inlineChatHasProvider && inlineChatVisible && textInputFocus" + "when": "kb-macro.active && !isMac && hasSpeechProvider && inlineChatHasProvider && inlineChatVisible && textInputFocus" }, { "key": "ctrl+i", @@ -5234,39 +5331,54 @@ "when": "kb-macro.active && editorFocus && inlineChatHasProvider && !editorReadonly" }, { - "key": "cmd+i", + "key": "ctrl+i", + "mac": "cmd+k i", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.start" + "command": "notebook.cell.chat.start" }, - "when": "kb-macro.active && editorFocus && inlineChatHasProvider && !editorReadonly" + "when": "kb-macro.active && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "workbench.action.chat.holdToVoiceChatInChatView" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused" + "when": "kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "workbench.action.chat.startVoiceChat" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || kb-macro.active && hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !quickVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" + "when": "kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, { "key": "ctrl+i", - "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "workbench.action.chat.stopListeningAndSubmit" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || kb-macro.active && hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" + "when": "kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" + }, + { + "key": "ctrl+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.focusInput" + }, + "when": "kb-macro.active && !isMac && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" + }, + { + "key": "ctrl+i", + "mac": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.start" + }, + "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || kb-macro.active && config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+space", @@ -5956,14 +6068,6 @@ }, "when": "kb-macro.active && suggestWidgetVisible && textInputFocus" }, - { - "key": "alt", - "command": "kb-macro.wrap", - "args": { - "command": "focusPreviousRenameSuggestion" - }, - "when": "kb-macro.active && renameInputFocused && renameInputVisible" - }, { "key": "ctrl+shift+;", "mac": "shift+cmd+;", @@ -6206,6 +6310,14 @@ }, "when": "kb-macro.active && !isMac && editorFocus && inlineChatHasProvider && !editorReadonly" }, + { + "key": "ctrl+k i", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.chat.start" + }, + "when": "kb-macro.active && !isMac && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" + }, { "key": "ctrl+k i", "mac": "cmd+k i", @@ -8624,22 +8736,6 @@ }, "when": "kb-macro.active && isMac && textInputFocus" }, - { - "key": "alt", - "command": "kb-macro.wrap", - "args": { - "command": "focusPreviousRenameSuggestion" - }, - "when": "kb-macro.active && isLinux && renameInputFocused && renameInputVisible" - }, - { - "key": "alt", - "command": "kb-macro.wrap", - "args": { - "command": "focusPreviousRenameSuggestion" - }, - "when": "kb-macro.active && isMac && renameInputFocused && renameInputVisible" - }, { "key": "shift+alt+c", "command": "kb-macro.wrap", @@ -9087,7 +9183,7 @@ "args": { "command": "notebook.cell.execute" }, - "when": "kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + "when": "kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || kb-macro.active && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, { "key": "shift+alt+[IntlBackslash]", @@ -9384,14 +9480,6 @@ }, "when": "kb-macro.active && terminalFocus && terminalShellType == 'pwsh'" }, - { - "key": "cmd+a", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.selectAll" - }, - "when": "kb-macro.active && terminalFocusInAny && terminalHasBeenCreated || kb-macro.active && terminalFocusInAny && terminalProcessSupported" - }, { "key": "cmd+backspace", "command": "kb-macro.wrap",