From 00f9039f29713fbcb8d8c1098315413a6a5344f3 Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Fri, 3 May 2024 16:45:57 +0000 Subject: [PATCH 1/2] Update for VSCode 1.89.0 --- generator/default-keybindings-linux.json | 136 +++++---- generator/default-keybindings-mac.json | 136 +++++---- generator/default-keybindings-win.json | 136 +++++---- package.json | 370 +++++++++++++---------- 4 files changed, 422 insertions(+), 356 deletions(-) diff --git a/generator/default-keybindings-linux.json b/generator/default-keybindings-linux.json index be2a3e9a..75713cc8 100644 --- a/generator/default-keybindings-linux.json +++ b/generator/default-keybindings-linux.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.88.1 for Linux +// Default Keybindings of Visual Studio Code 1.89.0 for Linux // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -144,9 +144,9 @@ { "key": "enter", "command": "breakpointWidget.action.acceptInput", "when": "breakpointWidgetVisible && inBreakpointWidget" }, { "key": "ctrl+up", "command": "chat.action.focus", - "when": "chatCursorAtTop && inChatInput" }, + "when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+up", "command": "chat.action.focus", - "when": "inChatInput && isLinux || inChatInput && isWindows" }, + "when": "inChatInput && isLinux && chatLocation == 'panel' || inChatInput && isWindows && chatLocation == 'panel'" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -504,10 +504,10 @@ { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" }, -{ "key": "enter", "command": "workbench.action.chat.acceptInput", - "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", - "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" }, + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, +{ "key": "enter", "command": "workbench.action.chat.submit", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent", "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", @@ -557,15 +557,15 @@ { "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges", "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "tab", "command": "jumpToNextSnippetPlaceholder", - "when": "editorTextFocus && hasNextTabstop && inSnippetMode" }, + "when": "hasNextTabstop && inSnippetMode && textInputFocus" }, { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder", - "when": "editorTextFocus && hasPrevTabstop && inSnippetMode" }, + "when": "hasPrevTabstop && inSnippetMode && textInputFocus" }, { "key": "escape", "command": "leaveEditorMessage", "when": "messageVisible" }, { "key": "shift+escape", "command": "leaveSnippet", - "when": "editorTextFocus && inSnippetMode" }, + "when": "inSnippetMode && textInputFocus" }, { "key": "escape", "command": "leaveSnippet", - "when": "editorTextFocus && inSnippetMode" }, + "when": "inSnippetMode && textInputFocus" }, { "key": "shift+escape", "command": "closeDirtyDiff", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "closeDirtyDiff", @@ -646,12 +646,8 @@ "when": "editorFocus && renameInputVisible" }, { "key": "down", "command": "focusNextRenameSuggestion", "when": "renameInputVisible" }, -{ "key": "tab", "command": "focusNextRenameSuggestion", - "when": "renameInputVisible" }, { "key": "up", "command": "focusPreviousRenameSuggestion", "when": "renameInputVisible" }, -{ "key": "shift+tab", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible" }, { "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults", "when": "fileMatchOrMatchFocus && searchViewletVisible" }, { "key": "ctrl+shift+;", "command": "breadcrumbs.focus", @@ -724,8 +720,12 @@ "when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" }, { "key": "alt+]", "command": "editor.action.accessibleViewNext", "when": "accessibleViewIsShown && accessibleViewSupportsNavigation" }, +{ "key": "ctrl+alt+pagedown", "command": "editor.action.accessibleViewNextCodeBlock", + "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "alt+[", "command": "editor.action.accessibleViewPrevious", "when": "accessibleViewIsShown && accessibleViewSupportsNavigation" }, +{ "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock", + "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding", "when": "resource == 'vscode-userdata:/home/runner/work/vscode-kb-macro/vscode-kb-macro/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", @@ -778,8 +778,6 @@ "when": "inlineChatHasProvider && inlineChatVisible" }, { "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk", "when": "inlineChatHasProvider && inlineChatVisible" }, -{ "key": "escape", "command": "inlineChat.quickVoice.Cancel", - "when": "hasSpeechProvider && inlineChat.quickChatInProgress" }, { "key": "ctrl+k i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasProvider && !editorReadonly" }, { "key": "ctrl+i", "command": "inlineChat.start", @@ -834,7 +832,7 @@ "when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" }, { "key": "f3", "command": "list.find", "when": "listFocus && listSupportsFind" }, -{ "key": "ctrl+f", "command": "list.find", +{ "key": "ctrl+alt+f", "command": "list.find", "when": "listFocus && listSupportsFind" }, { "key": "alt+down", "command": "list.focusAnyDown", "when": "listFocus && !inputFocus && !treestickyScrollFocused" }, @@ -885,9 +883,9 @@ { "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" }, + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+i", "command": "notebook.cell.chat.start", - "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && 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", @@ -899,11 +897,11 @@ { "key": "shift+alt+up", "command": "notebook.cell.copyUp", "when": "notebookEditorFocused && !inputFocus" }, { "key": "delete", "command": "notebook.cell.delete", - "when": "notebookEditorFocused && !inputFocus" }, + "when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", - "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" }, + "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput", "when": "notebookCellInputIsCollapsed && notebookCellListFocused" }, { "key": "ctrl+k t", "command": "notebook.cell.expandCellOutput", @@ -1123,30 +1121,30 @@ "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" }, { "key": "ctrl+up", "command": "widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, +{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel" }, { "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 && !notebookEditorFocused" }, + "when": "chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", - "when": "hasChatProvider && inChat" }, -{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open", - "when": "hasChatProvider" }, + "when": "chatIsEnabled && inChat" }, +{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open" }, { "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && 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 && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || chatIsEnabled && 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" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, { "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" }, { "key": "ctrl+k ctrl+shift+w", "command": "workbench.action.closeAllGroups" }, @@ -1286,7 +1284,7 @@ { "key": "ctrl+tab", "command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup", "when": "!activeEditorGroupEmpty" }, { "key": "ctrl+shift+alt+i", "command": "workbench.action.quickchat.toggle", - "when": "hasChatProvider" }, + "when": "chatIsEnabled" }, { "key": "ctrl+q", "command": "workbench.action.quit" }, { "key": "ctrl+alt+o", "command": "workbench.action.remote.showMenu" }, { "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" }, @@ -1311,21 +1309,29 @@ { "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" }, + "when": "terminalChatFocus && terminalChatVisible" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, + "when": "terminalChatFocus && terminalChatVisible" }, { "key": "ctrl+i", "command": "workbench.action.terminal.chat.focusInput", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, + "when": "terminalChatFocus && !inlineChatFocused" }, { "key": "ctrl+up", "command": "workbench.action.terminal.chat.focusInput", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, + "when": "terminalChatFocus && !inlineChatFocused" }, { "key": "ctrl+down", "command": "workbench.action.terminal.chat.focusResponse", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" }, + "when": "terminalChatFocus" }, +{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "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" }, + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, +{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, +{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && 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" }, + "when": "inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || 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" }, + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, +{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && 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", @@ -1456,11 +1462,11 @@ { "key": "ctrl+shift+5", "command": "workbench.action.terminal.splitActiveTab", "when": "terminalProcessSupported && terminalTabsFocus" }, { "key": "alt+c", "command": "workbench.action.terminal.toggleFindCaseSensitive", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "alt+r", "command": "workbench.action.terminal.toggleFindRegex", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "alt+w", "command": "workbench.action.terminal.toggleFindWholeWord", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal", "when": "terminal.active" }, { "key": "ctrl+alt+b", "command": "workbench.action.toggleAuxiliaryBar" }, @@ -1529,6 +1535,10 @@ "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, +{ "key": "down", "command": "notebook.cell.nullAction", + "when": "notebookOutputInputFocused" }, +{ "key": "up", "command": "notebook.cell.nullAction", + "when": "notebookOutputInputFocused" }, { "key": "ctrl+a", "command": "notebook.cell.output.selectAll", "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "ctrl+k down", "command": "views.moveViewDown", @@ -1664,22 +1674,18 @@ "when": "terminalFocus && terminalProcessSupported && terminalTextSelected" }, { "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools", "when": "isDevelopment" }, -{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.start", - "when": "editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" }, -{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.stop", - "when": "hasSpeechProvider && inlineChat.quickChatInProgress" }, { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatEditor", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatView", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat", - "when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat", - "when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", "when": "editorDictation.inProgress" }, { "key": "f10", "command": "extension.node-debug.startWithStopOnEntry", @@ -1705,9 +1711,9 @@ { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", "when": "editorHasCallHierarchyProvider" }, { "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", - "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" }, + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && 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" }, + "when": "inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1835,6 +1841,7 @@ // - editor.action.addSelectionToPreviousFindMatch // - editor.action.changeTabDisplaySize // - editor.action.clipboardCopyWithSyntaxHighlightingAction +// - editor.action.decreaseHoverVerbosityLevel // - editor.action.detectIndentation // - editor.action.diffReview.next // - editor.action.diffReview.prev @@ -1856,6 +1863,7 @@ // - editor.action.goToMatchFindAction // - editor.action.goToSelectionAnchor // - editor.action.goToTypeDefinition +// - editor.action.increaseHoverVerbosityLevel // - editor.action.indentUsingSpaces // - editor.action.indentUsingTabs // - editor.action.indentationToSpaces @@ -2151,7 +2159,10 @@ // - git.unstageAll // - git.unstageFile // - git.viewAllChanges +// - git.viewChanges // - git.viewCommit +// - git.viewStagedChanges +// - git.viewUntrackedChanges // - github.copyVscodeDevLink // - github.copyVscodeDevLinkFile // - github.copyVscodeDevLinkWithoutRange @@ -2170,9 +2181,6 @@ // - inlineChat.discardHunkChange // - inlineChat.discardToClipboard // - inlineChat.discardToFile -// - inlineChat.regenerate -// - inlineChat.reportIssueForBug -// - inlineChat.rerunWithIntentDetection // - inlineChat.toggleDiff // - inlineChat.viewInChat // - interactive.acceptChanges @@ -2264,7 +2272,6 @@ // - multiDiffEditor.collapseAll // - multiDiffEditor.expandAll // - multiDiffEditor.goToFile -// - multiDiffEditor.openScmDiff // - noop // - notebook.action.changeTabDisplaySize // - notebook.action.convertIndentationToSpaces @@ -2427,6 +2434,7 @@ // - search.action.collapseSearchResults // - search.action.copyAll // - search.action.excludeFromSearch +// - search.action.expandRecursively // - search.action.expandSearchResults // - search.action.focusFilesToExclude // - search.action.focusFilesToInclude @@ -2549,14 +2557,15 @@ // - workbench.action.blur // - workbench.action.browseColorThemesInMarketplace // - workbench.action.chat.addDynamicVariable +// - workbench.action.chat.applyCompareEdits // - workbench.action.chat.assignSelectedAgent -// - workbench.action.chat.cancel // - workbench.action.chat.clearHistory // - workbench.action.chat.clearInputHistory // - workbench.action.chat.copyAll // - workbench.action.chat.copyCodeBlock // - workbench.action.chat.copyItem // - workbench.action.chat.export +// - workbench.action.chat.history // - workbench.action.chat.import // - workbench.action.chat.inlineVoiceChat // - workbench.action.chat.insertIntoNewFile @@ -2569,8 +2578,9 @@ // - workbench.action.chat.openInSidebar // - workbench.action.chat.quickVoiceChat // - workbench.action.chat.reportIssueForBug +// - workbench.action.chat.rerun +// - workbench.action.chat.rerunWithoutCommandDetection // - workbench.action.chat.selectAndInsertFile -// - workbench.action.chat.submit // - workbench.action.chat.voiceChatInChatView // - workbench.action.chatEditor.newChat // - workbench.action.clearCommandHistory @@ -2641,7 +2651,6 @@ // - workbench.action.evenEditorWidths // - workbench.action.expandAllComments // - workbench.action.expandUnresolvedComments -// - workbench.action.experimental.quickTextSearch // - workbench.action.extensionHostProfiler.stop // - workbench.action.files.newFile // - workbench.action.files.openFileFolderInNewWindow @@ -2744,6 +2753,7 @@ // - workbench.action.openActiveLogOutputFile // - workbench.action.openActiveLogOutputFileInNewWindow // - workbench.action.openApplicationSettingsJson +// - workbench.action.openChat // - workbench.action.openDefaultKeybindingsFile // - workbench.action.openDocumentationUrl // - workbench.action.openEditorAtIndex @@ -2764,6 +2774,7 @@ // - workbench.action.openPreviousRecentlyUsedEditorInGroup // - workbench.action.openPrivacyStatementUrl // - workbench.action.openProcessExplorer +// - workbench.action.openQuickChat // - workbench.action.openRawDefaultSettings // - workbench.action.openRemoteSettings // - workbench.action.openRemoteSettingsFile @@ -2828,6 +2839,7 @@ // - workbench.action.quickOpenWithModes // - workbench.action.quickPickManyToggle // - workbench.action.quickSwitchWindow +// - workbench.action.quickTextSearch // - workbench.action.quickchat.close // - workbench.action.quickchat.launchInlineChat // - workbench.action.quickchat.openInChatView @@ -2946,8 +2958,6 @@ // - workbench.action.terminal.showEnvironmentContributions // - workbench.action.terminal.showTextureAtlas // - workbench.action.terminal.splitInActiveWorkspace -// - workbench.action.terminal.startVoice -// - workbench.action.terminal.stopVoice // - workbench.action.terminal.switchTerminal // - workbench.action.terminal.toggleStickyScroll // - workbench.action.terminal.unsplit diff --git a/generator/default-keybindings-mac.json b/generator/default-keybindings-mac.json index 52159149..e2f98e60 100644 --- a/generator/default-keybindings-mac.json +++ b/generator/default-keybindings-mac.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.88.1 for macOS +// Default Keybindings of Visual Studio Code 1.89.0 for macOS // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -195,9 +195,9 @@ { "key": "enter", "command": "breakpointWidget.action.acceptInput", "when": "breakpointWidgetVisible && inBreakpointWidget" }, { "key": "cmd+up", "command": "chat.action.focus", - "when": "chatCursorAtTop && inChatInput" }, + "when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" }, { "key": "cmd+up", "command": "chat.action.focus", - "when": "inChatInput && isLinux || inChatInput && isWindows" }, + "when": "inChatInput && isLinux && chatLocation == 'panel' || inChatInput && isWindows && chatLocation == 'panel'" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -576,10 +576,10 @@ { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "cmd+k alt+cmd+c", "command": "workbench.action.addComment" }, -{ "key": "enter", "command": "workbench.action.chat.acceptInput", - "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", - "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" }, + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, +{ "key": "enter", "command": "workbench.action.chat.submit", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitSecondaryAgent", "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", @@ -631,15 +631,15 @@ { "key": "cmd+enter", "command": "notebook.cell.chat.acceptChanges", "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "tab", "command": "jumpToNextSnippetPlaceholder", - "when": "editorTextFocus && hasNextTabstop && inSnippetMode" }, + "when": "hasNextTabstop && inSnippetMode && textInputFocus" }, { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder", - "when": "editorTextFocus && hasPrevTabstop && inSnippetMode" }, + "when": "hasPrevTabstop && inSnippetMode && textInputFocus" }, { "key": "escape", "command": "leaveEditorMessage", "when": "messageVisible" }, { "key": "shift+escape", "command": "leaveSnippet", - "when": "editorTextFocus && inSnippetMode" }, + "when": "inSnippetMode && textInputFocus" }, { "key": "escape", "command": "leaveSnippet", - "when": "editorTextFocus && inSnippetMode" }, + "when": "inSnippetMode && textInputFocus" }, { "key": "shift+escape", "command": "closeDirtyDiff", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "closeDirtyDiff", @@ -728,12 +728,8 @@ "when": "editorFocus && renameInputVisible" }, { "key": "down", "command": "focusNextRenameSuggestion", "when": "renameInputVisible" }, -{ "key": "tab", "command": "focusNextRenameSuggestion", - "when": "renameInputVisible" }, { "key": "up", "command": "focusPreviousRenameSuggestion", "when": "renameInputVisible" }, -{ "key": "shift+tab", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible" }, { "key": "shift+cmd+l", "command": "addCursorsAtSearchResults", "when": "fileMatchOrMatchFocus && searchViewletVisible" }, { "key": "shift+cmd+;", "command": "breadcrumbs.focus", @@ -799,8 +795,12 @@ "when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" }, { "key": "alt+]", "command": "editor.action.accessibleViewNext", "when": "accessibleViewIsShown && accessibleViewSupportsNavigation" }, +{ "key": "alt+cmd+pagedown", "command": "editor.action.accessibleViewNextCodeBlock", + "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "alt+[", "command": "editor.action.accessibleViewPrevious", "when": "accessibleViewIsShown && accessibleViewSupportsNavigation" }, +{ "key": "alt+cmd+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock", + "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "cmd+k cmd+k", "command": "editor.action.defineKeybinding", "when": "resource == 'vscode-userdata:/Users/runner/work/vscode-kb-macro/vscode-kb-macro/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", @@ -853,8 +853,6 @@ "when": "inlineChatHasProvider && inlineChatVisible" }, { "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk", "when": "inlineChatHasProvider && inlineChatVisible" }, -{ "key": "escape", "command": "inlineChat.quickVoice.Cancel", - "when": "hasSpeechProvider && inlineChat.quickChatInProgress" }, { "key": "cmd+k i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasProvider && !editorReadonly" }, { "key": "cmd+i", "command": "inlineChat.start", @@ -913,7 +911,7 @@ "when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" }, { "key": "f3", "command": "list.find", "when": "listFocus && listSupportsFind" }, -{ "key": "cmd+f", "command": "list.find", +{ "key": "alt+cmd+f", "command": "list.find", "when": "listFocus && listSupportsFind" }, { "key": "ctrl+alt+n", "command": "list.focusAnyDown", "when": "listFocus && !inputFocus && !treestickyScrollFocused" }, @@ -974,9 +972,9 @@ { "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" }, + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "cmd+i", "command": "notebook.cell.chat.start", - "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && 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", @@ -988,11 +986,11 @@ { "key": "shift+alt+up", "command": "notebook.cell.copyUp", "when": "notebookEditorFocused && !inputFocus" }, { "key": "cmd+backspace", "command": "notebook.cell.delete", - "when": "notebookEditorFocused && !inputFocus" }, + "when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", - "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" }, + "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "cmd+k cmd+c", "command": "notebook.cell.expandCellInput", "when": "notebookCellInputIsCollapsed && notebookCellListFocused" }, { "key": "cmd+k t", "command": "notebook.cell.expandCellOutput", @@ -1223,30 +1221,30 @@ "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" }, { "key": "cmd+up", "command": "widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, +{ "key": "cmd+escape", "command": "workbench.action.chat.cancel" }, { "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 && !notebookEditorFocused" }, + "when": "chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "alt+cmd+pagedown", "command": "workbench.action.chat.nextCodeBlock", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "cmd+f9", "command": "workbench.action.chat.nextFileTree", - "when": "hasChatProvider && inChat" }, -{ "key": "ctrl+cmd+i", "command": "workbench.action.chat.open", - "when": "hasChatProvider" }, + "when": "chatIsEnabled && inChat" }, +{ "key": "ctrl+cmd+i", "command": "workbench.action.chat.open" }, { "key": "alt+cmd+pageup", "command": "workbench.action.chat.previousCodeBlock", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "shift+cmd+f9", "command": "workbench.action.chat.previousFileTree", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && 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 && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || chatIsEnabled && 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" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "cmd+w", "command": "workbench.action.closeActiveEditor" }, { "key": "cmd+k cmd+w", "command": "workbench.action.closeAllEditors" }, { "key": "cmd+k shift+cmd+w", "command": "workbench.action.closeAllGroups" }, @@ -1386,7 +1384,7 @@ "when": "!activeEditorGroupEmpty" }, { "key": "ctrl+q", "command": "workbench.action.quickOpenView" }, { "key": "shift+cmd+i", "command": "workbench.action.quickchat.toggle", - "when": "hasChatProvider" }, + "when": "chatIsEnabled" }, { "key": "cmd+q", "command": "workbench.action.quit" }, { "key": "alt+cmd+o", "command": "workbench.action.remote.showMenu" }, { "key": "shift+cmd+t", "command": "workbench.action.reopenClosedEditor" }, @@ -1412,21 +1410,29 @@ { "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" }, + "when": "terminalChatFocus && terminalChatVisible" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, + "when": "terminalChatFocus && terminalChatVisible" }, { "key": "cmd+i", "command": "workbench.action.terminal.chat.focusInput", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, + "when": "terminalChatFocus && !inlineChatFocused" }, { "key": "cmd+up", "command": "workbench.action.terminal.chat.focusInput", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, + "when": "terminalChatFocus && !inlineChatFocused" }, { "key": "cmd+down", "command": "workbench.action.terminal.chat.focusResponse", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" }, + "when": "terminalChatFocus" }, +{ "key": "alt+cmd+enter", "command": "workbench.action.terminal.chat.insertCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "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" }, + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, +{ "key": "alt+cmd+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, +{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && 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" }, + "when": "inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || 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" }, + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, +{ "key": "cmd+enter", "command": "workbench.action.terminal.chat.runFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && 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", @@ -1586,11 +1592,11 @@ { "key": "cmd+\\", "command": "workbench.action.terminal.splitActiveTab", "when": "terminalProcessSupported && terminalTabsFocus" }, { "key": "alt+cmd+c", "command": "workbench.action.terminal.toggleFindCaseSensitive", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "alt+cmd+r", "command": "workbench.action.terminal.toggleFindRegex", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "alt+cmd+w", "command": "workbench.action.terminal.toggleFindWholeWord", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal", "when": "terminal.active" }, { "key": "alt+cmd+b", "command": "workbench.action.toggleAuxiliaryBar" }, @@ -1660,6 +1666,10 @@ "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, +{ "key": "down", "command": "notebook.cell.nullAction", + "when": "notebookOutputInputFocused" }, +{ "key": "up", "command": "notebook.cell.nullAction", + "when": "notebookOutputInputFocused" }, { "key": "cmd+a", "command": "notebook.cell.output.selectAll", "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "cmd+k down", "command": "views.moveViewDown", @@ -1807,22 +1817,18 @@ "when": "terminalFocus && terminalProcessSupported && terminalTextSelected" }, { "key": "alt+cmd+i", "command": "workbench.action.toggleDevTools", "when": "isDevelopment" }, -{ "key": "cmd+k i", "command": "inlineChat.quickVoice.start", - "when": "editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" }, -{ "key": "cmd+k i", "command": "inlineChat.quickVoice.stop", - "when": "hasSpeechProvider && inlineChat.quickChatInProgress" }, { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatEditor", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatView", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat", - "when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat", - "when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", "when": "editorDictation.inProgress" }, { "key": "f10", "command": "extension.node-debug.startWithStopOnEntry", @@ -1848,9 +1854,9 @@ { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", "when": "editorHasCallHierarchyProvider" }, { "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", - "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" }, + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && 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" }, + "when": "inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "cmd+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1969,6 +1975,7 @@ // - editor.action.addSelectionToPreviousFindMatch // - editor.action.changeTabDisplaySize // - editor.action.clipboardCopyWithSyntaxHighlightingAction +// - editor.action.decreaseHoverVerbosityLevel // - editor.action.detectIndentation // - editor.action.diffReview.next // - editor.action.diffReview.prev @@ -1990,6 +1997,7 @@ // - editor.action.goToMatchFindAction // - editor.action.goToSelectionAnchor // - editor.action.goToTypeDefinition +// - editor.action.increaseHoverVerbosityLevel // - editor.action.indentUsingSpaces // - editor.action.indentUsingTabs // - editor.action.indentationToSpaces @@ -2282,7 +2290,10 @@ // - git.unstageAll // - git.unstageFile // - git.viewAllChanges +// - git.viewChanges // - git.viewCommit +// - git.viewStagedChanges +// - git.viewUntrackedChanges // - github.copyVscodeDevLink // - github.copyVscodeDevLinkFile // - github.copyVscodeDevLinkWithoutRange @@ -2301,9 +2312,6 @@ // - inlineChat.discardHunkChange // - inlineChat.discardToClipboard // - inlineChat.discardToFile -// - inlineChat.regenerate -// - inlineChat.reportIssueForBug -// - inlineChat.rerunWithIntentDetection // - inlineChat.toggleDiff // - inlineChat.viewInChat // - interactive.acceptChanges @@ -2394,7 +2402,6 @@ // - multiDiffEditor.collapseAll // - multiDiffEditor.expandAll // - multiDiffEditor.goToFile -// - multiDiffEditor.openScmDiff // - noop // - notebook.action.changeTabDisplaySize // - notebook.action.convertIndentationToSpaces @@ -2556,6 +2563,7 @@ // - search.action.collapseSearchResults // - search.action.copyAll // - search.action.excludeFromSearch +// - search.action.expandRecursively // - search.action.expandSearchResults // - search.action.focusFilesToExclude // - search.action.focusFilesToInclude @@ -2678,14 +2686,15 @@ // - workbench.action.blur // - workbench.action.browseColorThemesInMarketplace // - workbench.action.chat.addDynamicVariable +// - workbench.action.chat.applyCompareEdits // - workbench.action.chat.assignSelectedAgent -// - workbench.action.chat.cancel // - workbench.action.chat.clearHistory // - workbench.action.chat.clearInputHistory // - workbench.action.chat.copyAll // - workbench.action.chat.copyCodeBlock // - workbench.action.chat.copyItem // - workbench.action.chat.export +// - workbench.action.chat.history // - workbench.action.chat.import // - workbench.action.chat.inlineVoiceChat // - workbench.action.chat.insertIntoNewFile @@ -2698,8 +2707,9 @@ // - workbench.action.chat.openInSidebar // - workbench.action.chat.quickVoiceChat // - workbench.action.chat.reportIssueForBug +// - workbench.action.chat.rerun +// - workbench.action.chat.rerunWithoutCommandDetection // - workbench.action.chat.selectAndInsertFile -// - workbench.action.chat.submit // - workbench.action.chat.voiceChatInChatView // - workbench.action.chatEditor.newChat // - workbench.action.clearCommandHistory @@ -2769,7 +2779,6 @@ // - workbench.action.evenEditorWidths // - workbench.action.expandAllComments // - workbench.action.expandUnresolvedComments -// - workbench.action.experimental.quickTextSearch // - workbench.action.extensionHostProfiler.stop // - workbench.action.files.newFile // - workbench.action.files.openFileFolderInNewWindow @@ -2877,6 +2886,7 @@ // - workbench.action.openActiveLogOutputFile // - workbench.action.openActiveLogOutputFileInNewWindow // - workbench.action.openApplicationSettingsJson +// - workbench.action.openChat // - workbench.action.openDefaultKeybindingsFile // - workbench.action.openDocumentationUrl // - workbench.action.openEditorAtIndex @@ -2897,6 +2907,7 @@ // - workbench.action.openPreviousRecentlyUsedEditorInGroup // - workbench.action.openPrivacyStatementUrl // - workbench.action.openProcessExplorer +// - workbench.action.openQuickChat // - workbench.action.openRawDefaultSettings // - workbench.action.openRemoteSettings // - workbench.action.openRemoteSettingsFile @@ -2956,6 +2967,7 @@ // - workbench.action.quickOpenWithModes // - workbench.action.quickPickManyToggle // - workbench.action.quickSwitchWindow +// - workbench.action.quickTextSearch // - workbench.action.quickchat.close // - workbench.action.quickchat.launchInlineChat // - workbench.action.quickchat.openInChatView @@ -3071,8 +3083,6 @@ // - workbench.action.terminal.showEnvironmentContributions // - workbench.action.terminal.showTextureAtlas // - workbench.action.terminal.splitInActiveWorkspace -// - workbench.action.terminal.startVoice -// - workbench.action.terminal.stopVoice // - workbench.action.terminal.switchTerminal // - workbench.action.terminal.toggleStickyScroll // - workbench.action.terminal.unsplit diff --git a/generator/default-keybindings-win.json b/generator/default-keybindings-win.json index 11c8e057..d8b78faf 100644 --- a/generator/default-keybindings-win.json +++ b/generator/default-keybindings-win.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.88.1 for Windows +// Default Keybindings of Visual Studio Code 1.89.0 for Windows // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -160,9 +160,9 @@ { "key": "enter", "command": "breakpointWidget.action.acceptInput", "when": "breakpointWidgetVisible && inBreakpointWidget" }, { "key": "ctrl+up", "command": "chat.action.focus", - "when": "chatCursorAtTop && inChatInput" }, + "when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+up", "command": "chat.action.focus", - "when": "inChatInput && isLinux || inChatInput && isWindows" }, + "when": "inChatInput && isLinux && chatLocation == 'panel' || inChatInput && isWindows && chatLocation == 'panel'" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -512,10 +512,10 @@ { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" }, -{ "key": "enter", "command": "workbench.action.chat.acceptInput", - "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", - "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" }, + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, +{ "key": "enter", "command": "workbench.action.chat.submit", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent", "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", @@ -565,15 +565,15 @@ { "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges", "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" }, { "key": "tab", "command": "jumpToNextSnippetPlaceholder", - "when": "editorTextFocus && hasNextTabstop && inSnippetMode" }, + "when": "hasNextTabstop && inSnippetMode && textInputFocus" }, { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder", - "when": "editorTextFocus && hasPrevTabstop && inSnippetMode" }, + "when": "hasPrevTabstop && inSnippetMode && textInputFocus" }, { "key": "escape", "command": "leaveEditorMessage", "when": "messageVisible" }, { "key": "shift+escape", "command": "leaveSnippet", - "when": "editorTextFocus && inSnippetMode" }, + "when": "inSnippetMode && textInputFocus" }, { "key": "escape", "command": "leaveSnippet", - "when": "editorTextFocus && inSnippetMode" }, + "when": "inSnippetMode && textInputFocus" }, { "key": "shift+escape", "command": "closeDirtyDiff", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "closeDirtyDiff", @@ -654,12 +654,8 @@ "when": "editorFocus && renameInputVisible" }, { "key": "down", "command": "focusNextRenameSuggestion", "when": "renameInputVisible" }, -{ "key": "tab", "command": "focusNextRenameSuggestion", - "when": "renameInputVisible" }, { "key": "up", "command": "focusPreviousRenameSuggestion", "when": "renameInputVisible" }, -{ "key": "shift+tab", "command": "focusPreviousRenameSuggestion", - "when": "renameInputVisible" }, { "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults", "when": "fileMatchOrMatchFocus && searchViewletVisible" }, { "key": "ctrl+shift+;", "command": "breadcrumbs.focus", @@ -725,8 +721,12 @@ "when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" }, { "key": "alt+]", "command": "editor.action.accessibleViewNext", "when": "accessibleViewIsShown && accessibleViewSupportsNavigation" }, +{ "key": "ctrl+alt+pagedown", "command": "editor.action.accessibleViewNextCodeBlock", + "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "alt+[", "command": "editor.action.accessibleViewPrevious", "when": "accessibleViewIsShown && accessibleViewSupportsNavigation" }, +{ "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock", + "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding", "when": "resource == 'vscode-userdata:/d%3A/a/vscode-kb-macro/vscode-kb-macro/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", @@ -779,8 +779,6 @@ "when": "inlineChatHasProvider && inlineChatVisible" }, { "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk", "when": "inlineChatHasProvider && inlineChatVisible" }, -{ "key": "escape", "command": "inlineChat.quickVoice.Cancel", - "when": "hasSpeechProvider && inlineChat.quickChatInProgress" }, { "key": "ctrl+k i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasProvider && !editorReadonly" }, { "key": "ctrl+i", "command": "inlineChat.start", @@ -835,7 +833,7 @@ "when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" }, { "key": "f3", "command": "list.find", "when": "listFocus && listSupportsFind" }, -{ "key": "ctrl+f", "command": "list.find", +{ "key": "ctrl+alt+f", "command": "list.find", "when": "listFocus && listSupportsFind" }, { "key": "alt+down", "command": "list.focusAnyDown", "when": "listFocus && !inputFocus && !treestickyScrollFocused" }, @@ -886,9 +884,9 @@ { "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" }, + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+i", "command": "notebook.cell.chat.start", - "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, + "when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && 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", @@ -900,11 +898,11 @@ { "key": "shift+alt+up", "command": "notebook.cell.copyUp", "when": "notebookEditorFocused && !inputFocus" }, { "key": "delete", "command": "notebook.cell.delete", - "when": "notebookEditorFocused && !inputFocus" }, + "when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", - "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" }, + "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput", "when": "notebookCellInputIsCollapsed && notebookCellListFocused" }, { "key": "ctrl+k t", "command": "notebook.cell.expandCellOutput", @@ -1125,30 +1123,30 @@ "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" }, { "key": "ctrl+up", "command": "widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, +{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel" }, { "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 && !notebookEditorFocused" }, + "when": "chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", - "when": "hasChatProvider && inChat" }, -{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open", - "when": "hasChatProvider" }, + "when": "chatIsEnabled && inChat" }, +{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open" }, { "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && inChat" }, { "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree", - "when": "hasChatProvider && inChat" }, + "when": "chatIsEnabled && 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 && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || chatIsEnabled && 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" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, { "key": "ctrl+f4", "command": "workbench.action.closeActiveEditor" }, { "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" }, @@ -1292,7 +1290,7 @@ "when": "!activeEditorGroupEmpty" }, { "key": "ctrl+q", "command": "workbench.action.quickOpenView" }, { "key": "ctrl+shift+i", "command": "workbench.action.quickchat.toggle", - "when": "hasChatProvider" }, + "when": "chatIsEnabled" }, { "key": "ctrl+alt+o", "command": "workbench.action.remote.showMenu" }, { "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" }, { "key": "ctrl+shift+h", "command": "workbench.action.replaceInFiles" }, @@ -1316,21 +1314,29 @@ { "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" }, + "when": "terminalChatFocus && terminalChatVisible" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" }, + "when": "terminalChatFocus && terminalChatVisible" }, { "key": "ctrl+i", "command": "workbench.action.terminal.chat.focusInput", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, + "when": "terminalChatFocus && !inlineChatFocused" }, { "key": "ctrl+up", "command": "workbench.action.terminal.chat.focusInput", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" }, + "when": "terminalChatFocus && !inlineChatFocused" }, { "key": "ctrl+down", "command": "workbench.action.terminal.chat.focusResponse", - "when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" }, + "when": "terminalChatFocus" }, +{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "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" }, + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, +{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, +{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && 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" }, + "when": "inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || 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" }, + "when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, +{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runFirstCommand", + "when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && 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", @@ -1467,11 +1473,11 @@ { "key": "ctrl+shift+5", "command": "workbench.action.terminal.splitActiveTab", "when": "terminalProcessSupported && terminalTabsFocus" }, { "key": "alt+c", "command": "workbench.action.terminal.toggleFindCaseSensitive", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "alt+r", "command": "workbench.action.terminal.toggleFindRegex", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "alt+w", "command": "workbench.action.terminal.toggleFindWholeWord", - "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" }, + "when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" }, { "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal", "when": "terminal.active" }, { "key": "ctrl+alt+b", "command": "workbench.action.toggleAuxiliaryBar" }, @@ -1541,6 +1547,10 @@ "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, +{ "key": "down", "command": "notebook.cell.nullAction", + "when": "notebookOutputInputFocused" }, +{ "key": "up", "command": "notebook.cell.nullAction", + "when": "notebookOutputInputFocused" }, { "key": "ctrl+a", "command": "notebook.cell.output.selectAll", "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "ctrl+k down", "command": "views.moveViewDown", @@ -1678,22 +1688,18 @@ "when": "terminalFocus && terminalProcessSupported && terminalTextSelected" }, { "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools", "when": "isDevelopment" }, -{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.start", - "when": "editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" }, -{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.stop", - "when": "hasSpeechProvider && inlineChat.quickChatInProgress" }, { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatEditor", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInChatView", - "when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat", - "when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat", - "when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" }, + "when": "chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", "when": "editorDictation.inProgress" }, { "key": "f10", "command": "extension.node-debug.startWithStopOnEntry", @@ -1719,9 +1725,9 @@ { "key": "shift+alt+h", "command": "references-view.showCallHierarchy", "when": "editorHasCallHierarchyProvider" }, { "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock", - "when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" }, + "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && 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" }, + "when": "inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1849,6 +1855,7 @@ // - editor.action.addSelectionToPreviousFindMatch // - editor.action.changeTabDisplaySize // - editor.action.clipboardCopyWithSyntaxHighlightingAction +// - editor.action.decreaseHoverVerbosityLevel // - editor.action.detectIndentation // - editor.action.diffReview.next // - editor.action.diffReview.prev @@ -1870,6 +1877,7 @@ // - editor.action.goToMatchFindAction // - editor.action.goToSelectionAnchor // - editor.action.goToTypeDefinition +// - editor.action.increaseHoverVerbosityLevel // - editor.action.indentUsingSpaces // - editor.action.indentUsingTabs // - editor.action.indentationToSpaces @@ -2164,7 +2172,10 @@ // - git.unstageAll // - git.unstageFile // - git.viewAllChanges +// - git.viewChanges // - git.viewCommit +// - git.viewStagedChanges +// - git.viewUntrackedChanges // - github.copyVscodeDevLink // - github.copyVscodeDevLinkFile // - github.copyVscodeDevLinkWithoutRange @@ -2183,9 +2194,6 @@ // - inlineChat.discardHunkChange // - inlineChat.discardToClipboard // - inlineChat.discardToFile -// - inlineChat.regenerate -// - inlineChat.reportIssueForBug -// - inlineChat.rerunWithIntentDetection // - inlineChat.toggleDiff // - inlineChat.viewInChat // - interactive.acceptChanges @@ -2277,7 +2285,6 @@ // - multiDiffEditor.collapseAll // - multiDiffEditor.expandAll // - multiDiffEditor.goToFile -// - multiDiffEditor.openScmDiff // - noop // - notebook.action.changeTabDisplaySize // - notebook.action.convertIndentationToSpaces @@ -2439,6 +2446,7 @@ // - search.action.collapseSearchResults // - search.action.copyAll // - search.action.excludeFromSearch +// - search.action.expandRecursively // - search.action.expandSearchResults // - search.action.focusFilesToExclude // - search.action.focusFilesToInclude @@ -2561,14 +2569,15 @@ // - workbench.action.blur // - workbench.action.browseColorThemesInMarketplace // - workbench.action.chat.addDynamicVariable +// - workbench.action.chat.applyCompareEdits // - workbench.action.chat.assignSelectedAgent -// - workbench.action.chat.cancel // - workbench.action.chat.clearHistory // - workbench.action.chat.clearInputHistory // - workbench.action.chat.copyAll // - workbench.action.chat.copyCodeBlock // - workbench.action.chat.copyItem // - workbench.action.chat.export +// - workbench.action.chat.history // - workbench.action.chat.import // - workbench.action.chat.inlineVoiceChat // - workbench.action.chat.insertIntoNewFile @@ -2581,8 +2590,9 @@ // - workbench.action.chat.openInSidebar // - workbench.action.chat.quickVoiceChat // - workbench.action.chat.reportIssueForBug +// - workbench.action.chat.rerun +// - workbench.action.chat.rerunWithoutCommandDetection // - workbench.action.chat.selectAndInsertFile -// - workbench.action.chat.submit // - workbench.action.chat.voiceChatInChatView // - workbench.action.chatEditor.newChat // - workbench.action.clearCommandHistory @@ -2653,7 +2663,6 @@ // - workbench.action.evenEditorWidths // - workbench.action.expandAllComments // - workbench.action.expandUnresolvedComments -// - workbench.action.experimental.quickTextSearch // - workbench.action.extensionHostProfiler.stop // - workbench.action.files.newFile // - workbench.action.files.openFileFolderInNewWindow @@ -2756,6 +2765,7 @@ // - workbench.action.openActiveLogOutputFile // - workbench.action.openActiveLogOutputFileInNewWindow // - workbench.action.openApplicationSettingsJson +// - workbench.action.openChat // - workbench.action.openDefaultKeybindingsFile // - workbench.action.openDocumentationUrl // - workbench.action.openEditorAtIndex @@ -2776,6 +2786,7 @@ // - workbench.action.openPreviousRecentlyUsedEditorInGroup // - workbench.action.openPrivacyStatementUrl // - workbench.action.openProcessExplorer +// - workbench.action.openQuickChat // - workbench.action.openRawDefaultSettings // - workbench.action.openRemoteSettings // - workbench.action.openRemoteSettingsFile @@ -2837,6 +2848,7 @@ // - workbench.action.quickOpenWithModes // - workbench.action.quickPickManyToggle // - workbench.action.quickSwitchWindow +// - workbench.action.quickTextSearch // - workbench.action.quickchat.close // - workbench.action.quickchat.launchInlineChat // - workbench.action.quickchat.openInChatView @@ -2957,8 +2969,6 @@ // - workbench.action.terminal.showEnvironmentContributions // - workbench.action.terminal.showTextureAtlas // - workbench.action.terminal.splitInActiveWorkspace -// - workbench.action.terminal.startVoice -// - workbench.action.terminal.stopVoice // - workbench.action.terminal.switchTerminal // - workbench.action.terminal.toggleStickyScroll // - workbench.action.terminal.unsplit diff --git a/package.json b/package.json index ff603136..5b182755 100644 --- a/package.json +++ b/package.json @@ -187,7 +187,7 @@ "command": "leaveSnippet", "record": "side-effect" }, - "when": "kb-macro.active && editorTextFocus && inSnippetMode" + "when": "kb-macro.active && inSnippetMode && textInputFocus" }, { "key": "shift+escape", @@ -252,7 +252,7 @@ "args": { "command": "workbench.action.terminal.chat.close" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" + "when": "kb-macro.active && terminalChatFocus && terminalChatVisible" }, { "key": "shift+escape", @@ -515,7 +515,7 @@ "command": "leaveSnippet", "record": "side-effect" }, - "when": "kb-macro.active && editorTextFocus && inSnippetMode" + "when": "kb-macro.active && inSnippetMode && textInputFocus" }, { "key": "escape", @@ -590,14 +590,6 @@ }, "when": "kb-macro.active && commentsFilterFocus" }, - { - "key": "escape", - "command": "kb-macro.wrap", - "args": { - "command": "inlineChat.quickVoice.Cancel" - }, - "when": "kb-macro.active && hasSpeechProvider && inlineChat.quickChatInProgress" - }, { "key": "escape", "command": "kb-macro.wrap", @@ -676,7 +668,7 @@ "args": { "command": "workbench.action.terminal.chat.close" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" + "when": "kb-macro.active && terminalChatFocus && terminalChatVisible" }, { "key": "escape", @@ -788,7 +780,7 @@ "args": { "command": "workbench.action.chat.stopListening" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && voiceChatInProgress" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && voiceChatInProgress" }, { "key": "escape", @@ -796,7 +788,7 @@ "args": { "command": "workbench.action.chat.stopListeningInChatEditor" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" }, { "key": "escape", @@ -804,7 +796,7 @@ "args": { "command": "workbench.action.chat.stopListeningInChatView" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" }, { "key": "escape", @@ -812,7 +804,7 @@ "args": { "command": "workbench.action.chat.stopListeningInQuickChat" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" }, { "key": "escape", @@ -820,7 +812,7 @@ "args": { "command": "workbench.action.chat.stopListeningInTerminalChat" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" }, { "key": "escape", @@ -1102,6 +1094,14 @@ }, "when": "kb-macro.active && statusBarFocused" }, + { + "key": "down", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.nullAction" + }, + "when": "kb-macro.active && notebookOutputInputFocused" + }, { "key": "down", "command": "kb-macro.wrap", @@ -1755,7 +1755,7 @@ "args": { "command": "chat.action.focus" }, - "when": "kb-macro.active && chatCursorAtTop && inChatInput" + "when": "kb-macro.active && chatCursorAtTop && inChatInput && chatLocation == 'panel'" }, { "key": "cmd+up", @@ -1763,7 +1763,7 @@ "args": { "command": "chat.action.focus" }, - "when": "kb-macro.active && inChatInput && isLinux || kb-macro.active && inChatInput && isWindows" + "when": "kb-macro.active && inChatInput && isLinux && chatLocation == 'panel' || kb-macro.active && inChatInput && isWindows && chatLocation == 'panel'" }, { "key": "cmd+up", @@ -1951,6 +1951,14 @@ }, "when": "kb-macro.active && statusBarFocused" }, + { + "key": "up", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.cell.nullAction" + }, + "when": "kb-macro.active && notebookOutputInputFocused" + }, { "key": "up", "command": "kb-macro.wrap", @@ -2095,7 +2103,7 @@ "args": { "command": "notebook.cell.delete" }, - "when": "kb-macro.active && notebookEditorFocused && !inputFocus" + "when": "kb-macro.active && notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "delete", @@ -2234,7 +2242,7 @@ "args": { "command": "workbench.action.chat.newChat" }, - "when": "kb-macro.active && hasChatProvider && inChat" + "when": "kb-macro.active && chatIsEnabled && inChat" }, { "key": "ctrl+down", @@ -2438,7 +2446,7 @@ "args": { "command": "workbench.action.terminal.chat.focusResponse" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus" + "when": "kb-macro.active && terminalChatFocus" }, { "key": "ctrl+down", @@ -2526,7 +2534,7 @@ "args": { "command": "chat.action.focus" }, - "when": "kb-macro.active && !isMac && chatCursorAtTop && inChatInput" + "when": "kb-macro.active && !isMac && chatCursorAtTop && inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+up", @@ -2534,7 +2542,7 @@ "args": { "command": "chat.action.focus" }, - "when": "kb-macro.active && !isMac && inChatInput && isLinux || kb-macro.active && !isMac && inChatInput && isWindows" + "when": "kb-macro.active && !isMac && inChatInput && isLinux && chatLocation == 'panel' || kb-macro.active && !isMac && inChatInput && isWindows && chatLocation == 'panel'" }, { "key": "ctrl+up", @@ -2681,7 +2689,7 @@ "args": { "command": "notebook.cell.chat.start" }, - "when": "kb-macro.active && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" + "when": "kb-macro.active && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || kb-macro.active && config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "cmd+i", @@ -2689,7 +2697,7 @@ "args": { "command": "workbench.action.chat.holdToVoiceChatInChatView" }, - "when": "kb-macro.active && hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "cmd+i", @@ -2697,7 +2705,7 @@ "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" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || kb-macro.active && chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, { "key": "cmd+i", @@ -2705,7 +2713,7 @@ "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 && chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || kb-macro.active && chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "ctrl+up", @@ -2714,7 +2722,7 @@ "args": { "command": "workbench.action.terminal.chat.focusInput" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" + "when": "kb-macro.active && terminalChatFocus && !inlineChatFocused" }, { "key": "cmd+up", @@ -2722,7 +2730,7 @@ "args": { "command": "workbench.action.terminal.chat.focusInput" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" + "when": "kb-macro.active && terminalChatFocus && !inlineChatFocused" }, { "key": "ctrl+up", @@ -2771,7 +2779,7 @@ "command": "jumpToPrevSnippetPlaceholder", "record": "side-effect" }, - "when": "kb-macro.active && editorTextFocus && hasPrevTabstop && inSnippetMode" + "when": "kb-macro.active && hasPrevTabstop && inSnippetMode && textInputFocus" }, { "key": "shift+tab", @@ -2791,14 +2799,6 @@ }, "when": "kb-macro.active && hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" }, - { - "key": "shift+tab", - "command": "kb-macro.wrap", - "args": { - "command": "focusPreviousRenameSuggestion" - }, - "when": "kb-macro.active && renameInputVisible" - }, { "key": "ctrl+shift+z", "mac": "shift+cmd+z", @@ -2874,7 +2874,7 @@ "command": "jumpToNextSnippetPlaceholder", "record": "side-effect" }, - "when": "kb-macro.active && editorTextFocus && hasNextTabstop && inSnippetMode" + "when": "kb-macro.active && hasNextTabstop && inSnippetMode && textInputFocus" }, { "key": "tab", @@ -2902,14 +2902,6 @@ }, "when": "kb-macro.active && hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" }, - { - "key": "tab", - "command": "kb-macro.wrap", - "args": { - "command": "focusNextRenameSuggestion" - }, - "when": "kb-macro.active && renameInputVisible" - }, { "key": "tab", "command": "kb-macro.wrap", @@ -3220,7 +3212,16 @@ "args": { "command": "workbench.action.terminal.chat.runCommand" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" + "when": "kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" + }, + { + "key": "ctrl+enter", + "mac": "cmd+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.runFirstCommand" + }, + "when": "kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "ctrl+enter", @@ -3237,7 +3238,7 @@ "args": { "command": "workbench.action.chat.insertCodeBlock" }, - "when": "kb-macro.active && accessibleViewInCodeBlock && hasChatProvider || kb-macro.active && hasChatProvider && inChat && !inChatInput" + "when": "kb-macro.active && accessibleViewInCodeBlock && chatIsEnabled || kb-macro.active && chatIsEnabled && inChat && !inChatInput" }, { "key": "ctrl+enter", @@ -3291,7 +3292,15 @@ "args": { "command": "workbench.action.terminal.chat.insertCommand" }, - "when": "kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" + "when": "kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" + }, + { + "key": "alt+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.insertFirstCommand" + }, + "when": "kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "ctrl+alt+enter", @@ -3315,7 +3324,7 @@ "args": { "command": "workbench.action.chat.runInTerminal" }, - "when": "kb-macro.active && accessibleViewInCodeBlock && hasChatProvider || kb-macro.active && hasChatProvider && inChat" + "when": "kb-macro.active && accessibleViewInCodeBlock && chatIsEnabled || kb-macro.active && chatIsEnabled && inChat" }, { "key": "ctrl+alt+enter", @@ -3335,6 +3344,24 @@ }, "when": "kb-macro.active && replaceActive && searchViewletVisible && !findWidgetVisible" }, + { + "key": "ctrl+alt+enter", + "mac": "alt+cmd+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.insertCommand" + }, + "when": "kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" + }, + { + "key": "ctrl+alt+enter", + "mac": "alt+cmd+enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.chat.insertFirstCommand" + }, + "when": "kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || kb-macro.active && terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" + }, { "key": "ctrl+f", "mac": "cmd+f", @@ -3398,15 +3425,6 @@ }, "when": "kb-macro.active && inKeybindings" }, - { - "key": "ctrl+f", - "mac": "cmd+f", - "command": "kb-macro.wrap", - "args": { - "command": "list.find" - }, - "when": "kb-macro.active && listFocus && listSupportsFind" - }, { "key": "ctrl+f", "mac": "cmd+f", @@ -3494,9 +3512,9 @@ "key": "enter", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.chat.acceptInput" + "command": "workbench.action.chat.submit" }, - "when": "kb-macro.active && chatInputHasText && inChatInput" + "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "enter", @@ -3577,7 +3595,7 @@ "args": { "command": "notebook.cell.edit" }, - "when": "kb-macro.active && notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" + "when": "kb-macro.active && notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "enter", @@ -3633,7 +3651,7 @@ "args": { "command": "workbench.action.terminal.chat.makeRequest" }, - "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" + "when": "kb-macro.active && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || kb-macro.active && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" }, { "key": "enter", @@ -5337,7 +5355,7 @@ "args": { "command": "notebook.cell.chat.start" }, - "when": "kb-macro.active && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" + "when": "kb-macro.active && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || kb-macro.active && config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+i", @@ -5345,7 +5363,7 @@ "args": { "command": "workbench.action.chat.holdToVoiceChatInChatView" }, - "when": "kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" + "when": "kb-macro.active && !isMac && chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+i", @@ -5353,7 +5371,7 @@ "args": { "command": "workbench.action.chat.startVoiceChat" }, - "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" + "when": "kb-macro.active && !isMac && chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || kb-macro.active && !isMac && chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" }, { "key": "ctrl+i", @@ -5361,7 +5379,7 @@ "args": { "command": "workbench.action.chat.stopListeningAndSubmit" }, - "when": "kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || kb-macro.active && !isMac && hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" + "when": "kb-macro.active && !isMac && chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || kb-macro.active && !isMac && chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" }, { "key": "ctrl+i", @@ -5369,7 +5387,7 @@ "args": { "command": "workbench.action.terminal.chat.focusInput" }, - "when": "kb-macro.active && !isMac && config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" + "when": "kb-macro.active && !isMac && terminalChatFocus && !inlineChatFocused" }, { "key": "ctrl+i", @@ -5378,7 +5396,7 @@ "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" + "when": "kb-macro.active && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || kb-macro.active && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+space", @@ -5858,7 +5876,7 @@ "args": { "command": "workbench.action.terminal.toggleFindCaseSensitive" }, - "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 && terminalFindVisible && terminalHasBeenCreated || kb-macro.active && terminalFindVisible && terminalProcessSupported" }, { "key": "alt+l", @@ -5920,7 +5938,7 @@ "args": { "command": "workbench.action.terminal.toggleFindRegex" }, - "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 && terminalFindVisible && terminalHasBeenCreated || kb-macro.active && terminalFindVisible && terminalProcessSupported" }, { "key": "alt+w", @@ -5956,7 +5974,7 @@ "args": { "command": "workbench.action.terminal.toggleFindWholeWord" }, - "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 && terminalFindVisible && terminalHasBeenCreated || kb-macro.active && terminalFindVisible && terminalProcessSupported" }, { "key": "alt+p", @@ -6214,6 +6232,60 @@ }, "when": "kb-macro.active && accessibilityHelpIsShown && accessibleViewVerbosityEnabled || kb-macro.active && accessibleViewIsShown && accessibleViewVerbosityEnabled" }, + { + "key": "ctrl+alt+pagedown", + "mac": "alt+cmd+pagedown", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.accessibleViewNextCodeBlock" + }, + "when": "kb-macro.active && accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" + }, + { + "key": "ctrl+alt+pagedown", + "mac": "alt+cmd+pagedown", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.focusNextEditor" + }, + "when": "kb-macro.active && notebookEditorFocused" + }, + { + "key": "ctrl+alt+pagedown", + "mac": "alt+cmd+pagedown", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.nextCodeBlock" + }, + "when": "kb-macro.active && chatIsEnabled && inChat" + }, + { + "key": "ctrl+alt+pageup", + "mac": "alt+cmd+pageup", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.accessibleViewPreviousCodeBlock" + }, + "when": "kb-macro.active && accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" + }, + { + "key": "ctrl+alt+pageup", + "mac": "alt+cmd+pageup", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.focusPreviousEditor" + }, + "when": "kb-macro.active && notebookEditorFocused" + }, + { + "key": "ctrl+alt+pageup", + "mac": "alt+cmd+pageup", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.previousCodeBlock" + }, + "when": "kb-macro.active && chatIsEnabled && inChat" + }, { "key": "shift+f9", "command": "kb-macro.wrap", @@ -6316,25 +6388,7 @@ "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", - "command": "kb-macro.wrap", - "args": { - "command": "inlineChat.quickVoice.start" - }, - "when": "kb-macro.active && editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" - }, - { - "key": "ctrl+k i", - "mac": "cmd+k i", - "command": "kb-macro.wrap", - "args": { - "command": "inlineChat.quickVoice.stop" - }, - "when": "kb-macro.active && hasSpeechProvider && inlineChat.quickChatInProgress" + "when": "kb-macro.active && !isMac && config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || kb-macro.active && !isMac && config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "ctrl+k ctrl+a", @@ -6363,6 +6417,15 @@ }, "when": "kb-macro.active && inKeybindings && inKeybindingsSearch" }, + { + "key": "ctrl+alt+f", + "mac": "alt+cmd+f", + "command": "kb-macro.wrap", + "args": { + "command": "list.find" + }, + "when": "kb-macro.active && listFocus && listSupportsFind" + }, { "key": "alt+home", "command": "kb-macro.wrap", @@ -6465,42 +6528,6 @@ }, "when": "kb-macro.active && notebookCellHasOutputs && notebookCellListFocused && !inputFocus" }, - { - "key": "ctrl+alt+pagedown", - "mac": "alt+cmd+pagedown", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.focusNextEditor" - }, - "when": "kb-macro.active && notebookEditorFocused" - }, - { - "key": "ctrl+alt+pagedown", - "mac": "alt+cmd+pagedown", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.chat.nextCodeBlock" - }, - "when": "kb-macro.active && hasChatProvider && inChat" - }, - { - "key": "ctrl+alt+pageup", - "mac": "alt+cmd+pageup", - "command": "kb-macro.wrap", - "args": { - "command": "notebook.focusPreviousEditor" - }, - "when": "kb-macro.active && notebookEditorFocused" - }, - { - "key": "ctrl+alt+pageup", - "mac": "alt+cmd+pageup", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.chat.previousCodeBlock" - }, - "when": "kb-macro.active && hasChatProvider && inChat" - }, { "key": "ctrl+shift+a", "command": "kb-macro.wrap", @@ -6715,6 +6742,15 @@ }, "when": "kb-macro.active && testing.isPeekVisible" }, + { + "key": "ctrl+escape", + "mac": "cmd+escape", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.cancel" + }, + "when": "kb-macro.active" + }, { "key": "ctrl+f9", "mac": "cmd+f9", @@ -6722,7 +6758,7 @@ "args": { "command": "workbench.action.chat.nextFileTree" }, - "when": "kb-macro.active && hasChatProvider && inChat" + "when": "kb-macro.active && chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", @@ -6731,7 +6767,7 @@ "args": { "command": "workbench.action.chat.open" }, - "when": "kb-macro.active && hasChatProvider" + "when": "kb-macro.active" }, { "key": "ctrl+shift+f9", @@ -6740,7 +6776,7 @@ "args": { "command": "workbench.action.chat.previousFileTree" }, - "when": "kb-macro.active && hasChatProvider && inChat" + "when": "kb-macro.active && chatIsEnabled && inChat" }, { "key": "ctrl+w", @@ -7774,7 +7810,7 @@ "args": { "command": "workbench.action.quickchat.toggle" }, - "when": "kb-macro.active && isWindows && hasChatProvider" + "when": "kb-macro.active && isWindows && chatIsEnabled" }, { "key": "ctrl+shift+i", @@ -8776,6 +8812,22 @@ }, "when": "kb-macro.active && isWindows && editorFocus" }, + { + "key": "ctrl+alt+pagedown", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollDown" + }, + "when": "kb-macro.active && isWindows && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && isWindows && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" + }, + { + "key": "ctrl+alt+pageup", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollUp" + }, + "when": "kb-macro.active && isWindows && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && isWindows && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" + }, { "key": "alt+delete", "command": "kb-macro.wrap", @@ -8803,22 +8855,6 @@ }, "when": "kb-macro.active && notebookEditorFocused" }, - { - "key": "ctrl+alt+pagedown", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollDown" - }, - "when": "kb-macro.active && isWindows && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && isWindows && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" - }, - { - "key": "ctrl+alt+pageup", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollUp" - }, - "when": "kb-macro.active && isWindows && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && isWindows && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" - }, { "key": "ctrl+shift+a", "command": "kb-macro.wrap", @@ -9343,7 +9379,7 @@ "args": { "command": "workbench.action.quickchat.toggle" }, - "when": "kb-macro.active && isLinux && hasChatProvider" + "when": "kb-macro.active && isLinux && chatIsEnabled" }, { "key": "shift+alt+f4", @@ -9577,6 +9613,22 @@ }, "when": "kb-macro.active && editorFocus" }, + { + "key": "alt+cmd+pagedown", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollDown" + }, + "when": "kb-macro.active && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" + }, + { + "key": "alt+cmd+pageup", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.terminal.scrollUp" + }, + "when": "kb-macro.active && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" + }, { "key": "ctrl+alt+n", "command": "kb-macro.wrap", @@ -9641,22 +9693,6 @@ }, "when": "kb-macro.active && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || kb-macro.active && accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, - { - "key": "alt+cmd+pagedown", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollDown" - }, - "when": "kb-macro.active && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" - }, - { - "key": "alt+cmd+pageup", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.scrollUp" - }, - "when": "kb-macro.active && terminalFocusInAny && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.active && terminalFocusInAny && terminalProcessSupported && !terminalAltBufferActive" - }, { "key": "cmd+home", "command": "kb-macro.wrap", @@ -9743,7 +9779,7 @@ "args": { "command": "workbench.action.quickchat.toggle" }, - "when": "kb-macro.active && hasChatProvider" + "when": "kb-macro.active && chatIsEnabled" }, { "key": "cmd+q", From 68238011c2e5973d6e9af9c1cbe15c16f7ebeb72 Mon Sep 17 00:00:00 2001 From: tshino Date: Sun, 5 May 2024 21:34:46 +0900 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0fba7f0..c621dff3 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.89.0. [#360](https://github.com/tshino/vscode-kb-macro/pull/360) - Updated keymap wrapper for Vz Keymap (v0.19.14). [#355](https://github.com/tshino/vscode-kb-macro/pull/355) - Updated keymap wrapper for Awesome Emacs Keymap (v0.59.2). [#359](https://github.com/tshino/vscode-kb-macro/pull/359)