From ccaa317818c85d1c0bbafa2ae1c0d327f30eed43 Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Thu, 11 Dec 2025 01:43:09 +0000 Subject: [PATCH] Update for VSCode 1.107.0 --- linux.keybindings.json | 26 ++++++++++++++------------ linux.negative.keybindings.json | 26 ++++++++++++++------------ macos.keybindings.json | 26 ++++++++++++++------------ macos.negative.keybindings.json | 26 ++++++++++++++------------ windows.keybindings.json | 26 ++++++++++++++------------ windows.negative.keybindings.json | 26 ++++++++++++++------------ 6 files changed, 84 insertions(+), 72 deletions(-) diff --git a/linux.keybindings.json b/linux.keybindings.json index e75662b..9d4d7dc 100644 --- a/linux.keybindings.json +++ b/linux.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.106.3 for Linux +// Default Keybindings of Visual Studio Code 1.107.0 for Linux [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -116,8 +116,6 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "escape", "command": "inlineChat.hideHint", - "when": "inlineChatShowingHint" }, { "key": "ctrl+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", @@ -537,9 +535,9 @@ { "key": "enter", "command": "workbench.action.chat.submit", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", @@ -845,8 +843,6 @@ "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, - { "key": "ctrl+k i", "command": "inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "inlineChat.viewInChat", @@ -1251,8 +1247,6 @@ "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+alt+/", "command": "workbench.action.chat.attach.instructions", - "when": "chatIsEnabled" }, { "key": "ctrl+escape", "command": "workbench.action.chat.cancel" }, { "key": "enter", "command": "workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, @@ -1293,7 +1287,7 @@ { "key": "alt+meta+/", "command": "workbench.action.chat.run.prompt.current", "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", @@ -1471,6 +1465,10 @@ "when": "taskTerminalActive && terminalFocus" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, + { "key": "ctrl+shift+alt+t", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminal", + "when": "inChat" }, + { "key": "ctrl+shift+alt+o", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", + "when": "inChat" }, { "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", @@ -1707,8 +1705,6 @@ "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, { "key": "tab", "command": "editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, - { "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.close", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "f3", "command": "list.find.replInputFocus", @@ -1741,6 +1737,8 @@ "when": "focusedView != ''" }, { "key": "ctrl+k up", "command": "views.moveViewUp", "when": "focusedView != ''" }, + { "key": "ctrl+enter", "command": "workbench.action.chat.acceptElicitation", + "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", @@ -1797,6 +1795,10 @@ "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, { "key": "up", "command": "workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", + "when": "inInlineEditsPreviewEditor" }, + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, { "key": "f2", "command": "debug.renameWatchExpression", "when": "watchExpressionsFocused" }, { "key": "f2", "command": "debug.setVariable", diff --git a/linux.negative.keybindings.json b/linux.negative.keybindings.json index bf9ae70..1c90aa0 100644 --- a/linux.negative.keybindings.json +++ b/linux.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.106.3 for Linux +// Default Keybindings of Visual Studio Code 1.107.0 for Linux [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -116,8 +116,6 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "-goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "escape", "command": "-inlineChat.hideHint", - "when": "inlineChatShowingHint" }, { "key": "ctrl+enter", "command": "-refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "-testing.editFocusedTest", @@ -537,9 +535,9 @@ { "key": "enter", "command": "-workbench.action.chat.submit", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, { "key": "alt+f5", "command": "-workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, { "key": "shift+alt+f5", "command": "-workbench.action.editor.previousChange", @@ -845,8 +843,6 @@ "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, - { "key": "ctrl+k i", "command": "-inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "-inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "-inlineChat.viewInChat", @@ -1251,8 +1247,6 @@ "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+alt+/", "command": "-workbench.action.chat.attach.instructions", - "when": "chatIsEnabled" }, { "key": "ctrl+escape", "command": "-workbench.action.chat.cancel" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, @@ -1293,7 +1287,7 @@ { "key": "alt+meta+/", "command": "-workbench.action.chat.run.prompt.current", "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, { "key": "ctrl+shift+enter", "command": "-workbench.action.chat.sendToNewChat", - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "-workbench.action.chat.startVoiceChat", "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "-workbench.action.chat.stopListeningAndSubmit", @@ -1471,6 +1465,10 @@ "when": "taskTerminalActive && terminalFocus" }, { "key": "escape", "command": "-workbench.action.terminal.chat.close", "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, + { "key": "ctrl+shift+alt+t", "command": "-workbench.action.terminal.chat.focusMostRecentChatTerminal", + "when": "inChat" }, + { "key": "ctrl+shift+alt+o", "command": "-workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", + "when": "inChat" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.terminal.chat.insertCommand", "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "-workbench.action.terminal.chat.insertCommand", @@ -1707,8 +1705,6 @@ "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, { "key": "tab", "command": "-editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, - { "key": "ctrl+i", "command": "-inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.close", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "f3", "command": "-list.find.replInputFocus", @@ -1741,6 +1737,8 @@ "when": "focusedView != ''" }, { "key": "ctrl+k up", "command": "-views.moveViewUp", "when": "focusedView != ''" }, + { "key": "ctrl+enter", "command": "-workbench.action.chat.acceptElicitation", + "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", @@ -1797,6 +1795,10 @@ "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, { "key": "up", "command": "-workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, + { "key": "shift+tab", "command": "-editor.action.inlineSuggest.commitAlternativeAction", + "when": "inInlineEditsPreviewEditor" }, + { "key": "shift+tab", "command": "-editor.action.inlineSuggest.commitAlternativeAction", + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, { "key": "f2", "command": "-debug.renameWatchExpression", "when": "watchExpressionsFocused" }, { "key": "f2", "command": "-debug.setVariable", diff --git a/macos.keybindings.json b/macos.keybindings.json index 8748641..488137e 100644 --- a/macos.keybindings.json +++ b/macos.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.106.3 for macOS +// Default Keybindings of Visual Studio Code 1.107.0 for macOS [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -166,8 +166,6 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "escape", "command": "inlineChat.hideHint", - "when": "inlineChatShowingHint" }, { "key": "cmd+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", @@ -609,9 +607,9 @@ { "key": "enter", "command": "workbench.action.chat.submit", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", @@ -920,8 +918,6 @@ "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "cmd+i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, - { "key": "cmd+k i", "command": "inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "cmd+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "cmd+down", "command": "inlineChat.viewInChat", @@ -1399,8 +1395,6 @@ "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": "alt+cmd+/", "command": "workbench.action.chat.attach.instructions", - "when": "chatIsEnabled" }, { "key": "cmd+escape", "command": "workbench.action.chat.cancel" }, { "key": "enter", "command": "workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, @@ -1441,7 +1435,7 @@ { "key": "ctrl+alt+/", "command": "workbench.action.chat.run.prompt.current", "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, { "key": "shift+cmd+enter", "command": "workbench.action.chat.sendToNewChat", - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, + "when": "chatInputHasText && inChatInput" }, { "key": "cmd+i", "command": "workbench.action.chat.startVoiceChat", "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "cmd+i", "command": "workbench.action.chat.stopListeningAndSubmit", @@ -1620,6 +1614,10 @@ "when": "taskTerminalActive && terminalFocus" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, + { "key": "shift+alt+cmd+t", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminal", + "when": "inChat" }, + { "key": "shift+alt+cmd+o", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", + "when": "inChat" }, { "key": "alt+cmd+enter", "command": "workbench.action.terminal.chat.insertCommand", "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", @@ -1884,8 +1882,6 @@ "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, { "key": "tab", "command": "editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, - { "key": "cmd+i", "command": "inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.close", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "f3", "command": "list.find.replInputFocus", @@ -1922,6 +1918,8 @@ "when": "focusedView != ''" }, { "key": "cmd+k up", "command": "views.moveViewUp", "when": "focusedView != ''" }, + { "key": "cmd+enter", "command": "workbench.action.chat.acceptElicitation", + "when": "chatHasElicitationRequest && inChat" }, { "key": "cmd+enter", "command": "workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", @@ -1982,6 +1980,10 @@ "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, { "key": "up", "command": "workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", + "when": "inInlineEditsPreviewEditor" }, + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, { "key": "enter", "command": "debug.renameWatchExpression", "when": "watchExpressionsFocused" }, { "key": "enter", "command": "debug.setVariable", diff --git a/macos.negative.keybindings.json b/macos.negative.keybindings.json index 32b377d..3b15fef 100644 --- a/macos.negative.keybindings.json +++ b/macos.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.106.3 for macOS +// Default Keybindings of Visual Studio Code 1.107.0 for macOS [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -166,8 +166,6 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "-goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "escape", "command": "-inlineChat.hideHint", - "when": "inlineChatShowingHint" }, { "key": "cmd+enter", "command": "-refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "-testing.editFocusedTest", @@ -609,9 +607,9 @@ { "key": "enter", "command": "-workbench.action.chat.submit", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "cmd+enter", "command": "-workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, { "key": "alt+f5", "command": "-workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, { "key": "shift+alt+f5", "command": "-workbench.action.editor.previousChange", @@ -920,8 +918,6 @@ "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "cmd+i", "command": "-inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, - { "key": "cmd+k i", "command": "-inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "cmd+z", "command": "-inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "cmd+down", "command": "-inlineChat.viewInChat", @@ -1399,8 +1395,6 @@ "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": "alt+cmd+/", "command": "-workbench.action.chat.attach.instructions", - "when": "chatIsEnabled" }, { "key": "cmd+escape", "command": "-workbench.action.chat.cancel" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, @@ -1441,7 +1435,7 @@ { "key": "ctrl+alt+/", "command": "-workbench.action.chat.run.prompt.current", "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, { "key": "shift+cmd+enter", "command": "-workbench.action.chat.sendToNewChat", - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, + "when": "chatInputHasText && inChatInput" }, { "key": "cmd+i", "command": "-workbench.action.chat.startVoiceChat", "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "cmd+i", "command": "-workbench.action.chat.stopListeningAndSubmit", @@ -1620,6 +1614,10 @@ "when": "taskTerminalActive && terminalFocus" }, { "key": "escape", "command": "-workbench.action.terminal.chat.close", "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, + { "key": "shift+alt+cmd+t", "command": "-workbench.action.terminal.chat.focusMostRecentChatTerminal", + "when": "inChat" }, + { "key": "shift+alt+cmd+o", "command": "-workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", + "when": "inChat" }, { "key": "alt+cmd+enter", "command": "-workbench.action.terminal.chat.insertCommand", "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "-workbench.action.terminal.chat.insertCommand", @@ -1884,8 +1882,6 @@ "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, { "key": "tab", "command": "-editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, - { "key": "cmd+i", "command": "-inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.close", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "f3", "command": "-list.find.replInputFocus", @@ -1922,6 +1918,8 @@ "when": "focusedView != ''" }, { "key": "cmd+k up", "command": "-views.moveViewUp", "when": "focusedView != ''" }, + { "key": "cmd+enter", "command": "-workbench.action.chat.acceptElicitation", + "when": "chatHasElicitationRequest && inChat" }, { "key": "cmd+enter", "command": "-workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", @@ -1982,6 +1980,10 @@ "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, { "key": "up", "command": "-workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, + { "key": "shift+tab", "command": "-editor.action.inlineSuggest.commitAlternativeAction", + "when": "inInlineEditsPreviewEditor" }, + { "key": "shift+tab", "command": "-editor.action.inlineSuggest.commitAlternativeAction", + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, { "key": "enter", "command": "-debug.renameWatchExpression", "when": "watchExpressionsFocused" }, { "key": "enter", "command": "-debug.setVariable", diff --git a/windows.keybindings.json b/windows.keybindings.json index 28bc3d9..0061df4 100644 --- a/windows.keybindings.json +++ b/windows.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.106.3 for Windows +// Default Keybindings of Visual Studio Code 1.107.0 for Windows [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -132,8 +132,6 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "escape", "command": "inlineChat.hideHint", - "when": "inlineChatShowingHint" }, { "key": "ctrl+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", @@ -545,9 +543,9 @@ { "key": "enter", "command": "workbench.action.chat.submit", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", @@ -846,8 +844,6 @@ "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, - { "key": "ctrl+k i", "command": "inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "inlineChat.viewInChat", @@ -1253,8 +1249,6 @@ "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+alt+/", "command": "workbench.action.chat.attach.instructions", - "when": "chatIsEnabled" }, { "key": "alt+backspace", "command": "workbench.action.chat.cancel" }, { "key": "enter", "command": "workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, @@ -1295,7 +1289,7 @@ { "key": "alt+win+/", "command": "workbench.action.chat.run.prompt.current", "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", @@ -1478,6 +1472,10 @@ "when": "taskTerminalActive && terminalFocus" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, + { "key": "ctrl+shift+alt+t", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminal", + "when": "inChat" }, + { "key": "ctrl+shift+alt+o", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", + "when": "inChat" }, { "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", @@ -1719,8 +1717,6 @@ "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, { "key": "tab", "command": "editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, - { "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.close", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "f3", "command": "list.find.replInputFocus", @@ -1753,6 +1749,8 @@ "when": "focusedView != ''" }, { "key": "ctrl+k up", "command": "views.moveViewUp", "when": "focusedView != ''" }, + { "key": "ctrl+enter", "command": "workbench.action.chat.acceptElicitation", + "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", @@ -1809,6 +1807,10 @@ "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, { "key": "up", "command": "workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", + "when": "inInlineEditsPreviewEditor" }, + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, { "key": "f2", "command": "debug.renameWatchExpression", "when": "watchExpressionsFocused" }, { "key": "f2", "command": "debug.setVariable", diff --git a/windows.negative.keybindings.json b/windows.negative.keybindings.json index 35c8692..ce7de49 100644 --- a/windows.negative.keybindings.json +++ b/windows.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.106.3 for Windows +// Default Keybindings of Visual Studio Code 1.107.0 for Windows [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -132,8 +132,6 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "-goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "escape", "command": "-inlineChat.hideHint", - "when": "inlineChatShowingHint" }, { "key": "ctrl+enter", "command": "-refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "-testing.editFocusedTest", @@ -545,9 +543,9 @@ { "key": "enter", "command": "-workbench.action.chat.submit", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, { "key": "alt+f5", "command": "-workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, { "key": "shift+alt+f5", "command": "-workbench.action.editor.previousChange", @@ -846,8 +844,6 @@ "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.start", "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, - { "key": "ctrl+k i", "command": "-inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "-inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "-inlineChat.viewInChat", @@ -1253,8 +1249,6 @@ "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+alt+/", "command": "-workbench.action.chat.attach.instructions", - "when": "chatIsEnabled" }, { "key": "alt+backspace", "command": "-workbench.action.chat.cancel" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, @@ -1295,7 +1289,7 @@ { "key": "alt+win+/", "command": "-workbench.action.chat.run.prompt.current", "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, { "key": "ctrl+shift+enter", "command": "-workbench.action.chat.sendToNewChat", - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, + "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "-workbench.action.chat.startVoiceChat", "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "-workbench.action.chat.stopListeningAndSubmit", @@ -1478,6 +1472,10 @@ "when": "taskTerminalActive && terminalFocus" }, { "key": "escape", "command": "-workbench.action.terminal.chat.close", "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, + { "key": "ctrl+shift+alt+t", "command": "-workbench.action.terminal.chat.focusMostRecentChatTerminal", + "when": "inChat" }, + { "key": "ctrl+shift+alt+o", "command": "-workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", + "when": "inChat" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.terminal.chat.insertCommand", "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "-workbench.action.terminal.chat.insertCommand", @@ -1719,8 +1717,6 @@ "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, { "key": "tab", "command": "-editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, - { "key": "ctrl+i", "command": "-inlineChat.startWithCurrentLine", - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.close", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "f3", "command": "-list.find.replInputFocus", @@ -1753,6 +1749,8 @@ "when": "focusedView != ''" }, { "key": "ctrl+k up", "command": "-views.moveViewUp", "when": "focusedView != ''" }, + { "key": "ctrl+enter", "command": "-workbench.action.chat.acceptElicitation", + "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", @@ -1809,6 +1807,10 @@ "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, { "key": "up", "command": "-workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, + { "key": "shift+tab", "command": "-editor.action.inlineSuggest.commitAlternativeAction", + "when": "inInlineEditsPreviewEditor" }, + { "key": "shift+tab", "command": "-editor.action.inlineSuggest.commitAlternativeAction", + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, { "key": "f2", "command": "-debug.renameWatchExpression", "when": "watchExpressionsFocused" }, { "key": "f2", "command": "-debug.setVariable",