From edeb5799b065468c521421bff27df1d3c1a27d86 Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Thu, 5 Mar 2026 02:07:00 +0000 Subject: [PATCH] Update for VSCode 1.110.0 --- linux.keybindings.json | 80 +++++++++++++++++++++---------- linux.negative.keybindings.json | 80 +++++++++++++++++++++---------- macos.keybindings.json | 74 ++++++++++++++++++++-------- macos.negative.keybindings.json | 74 ++++++++++++++++++++-------- windows.keybindings.json | 80 ++++++++++++++++++++++--------- windows.negative.keybindings.json | 80 ++++++++++++++++++++++--------- 6 files changed, 338 insertions(+), 130 deletions(-) diff --git a/linux.keybindings.json b/linux.keybindings.json index db9606e..39744c2 100644 --- a/linux.keybindings.json +++ b/linux.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.109.5 for Linux +// Default Keybindings of Visual Studio Code 1.110.0 for Linux [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -104,6 +104,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "ctrl+up", "command": "inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, + { "key": "escape", "command": "inlineChat.hideInput", + "when": "inlineChatHasEditsAgent && inlineChatInputWidgetFocused || inlineChatHasNotebookAgent && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "inlineChat.queueInChat", + "when": "inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused || inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "inlineChat.submitInput", + "when": "inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat || inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "f12", "command": "goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "goToNextReference", @@ -130,8 +136,6 @@ "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, - { "key": "escape", "command": "chat.models.action.clearSearchResults", - "when": "inModelsEditor && inModelsSearch" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -514,7 +518,7 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", + { "key": "ctrl+k f2", "command": "toggleQuickDiffWidgetFocus", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, @@ -529,7 +533,7 @@ { "key": "shift+f3", "command": "workbench.action.browser.findPrevious", "when": "browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+f", "command": "workbench.action.browser.showFind", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+/", "command": "workbench.action.chat.attachContext", "when": "inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+.", "command": "workbench.action.chat.openModePicker", @@ -537,11 +541,11 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress && !withinEditSessionDiff" }, + "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !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", @@ -559,9 +563,9 @@ { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "alt+enter", "command": "workbench.action.chat.queueMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "enter", "command": "workbench.action.chat.steerWithMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "ctrl+shift+up", "command": "workbench.chat.action.focusLastFocused", "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+shift+up", "command": "workbench.chat.action.focusLastFocused", @@ -731,7 +735,7 @@ { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, { "key": "f7", "command": "chatEditor.action.showAccessibleDiffView", - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, + "when": "accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, { "key": "shift+alt+f7", "command": "chatEditor.action.toggleDiff", "when": "chatEdits.hasEditorModifications && editorFocus" }, { "key": "escape", "command": "closeReplaceInFilesWidget", @@ -845,10 +849,12 @@ "when": "iconSelectBoxFocus" }, { "key": "alt+=", "command": "increaseSearchEditorContextLines", "when": "inSearchEditor" }, + { "key": "ctrl+i", "command": "inlineChat.askInChat", + "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "ctrl+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "inlineChat2.keep", "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "interactive.history.focus", @@ -1256,27 +1262,33 @@ { "key": "ctrl+up", "command": "widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, { "key": "escape", "command": "workbench.action.browser.addElementToChat", - "when": "browserElementSelectionActive && chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, { "key": "f12", "command": "workbench.action.browser.toggleDevTools", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+escape", "command": "workbench.action.chat.cancel", - "when": "chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, + "when": "chatHasQuestionCarousel && !chatRemoteJobCreating || chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, { "key": "enter", "command": "workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, { "key": "ctrl+shift+a", "command": "workbench.action.chat.focusConfirmation", - "when": "accessibilityModeEnabled && chatIsEnabled" }, + "when": "accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel" }, { "key": "ctrl+down", "command": "workbench.action.chat.focusInput", "when": "inChat && !inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "workbench.action.chat.focusInput", "when": "inChat && quickChatHasFocus && !inChatInput" }, + { "key": "ctrl+shift+a", "command": "workbench.action.chat.focusQuestionCarousel", + "when": "chatHasQuestionCarousel && inChat" }, + { "key": "ctrl+shift+/", "command": "workbench.action.chat.focusTip", + "when": "inChat || inChat && inChatTip" }, { "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView", "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+n", "command": "workbench.action.chat.nextQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+down", "command": "workbench.action.chat.nextUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", "command": "workbench.action.chat.open", @@ -1289,6 +1301,8 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+p", "command": "workbench.action.chat.previousQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+up", "command": "workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "delete", "command": "workbench.action.chat.restoreCheckpoint", @@ -1305,6 +1319,8 @@ "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + { "key": "alt+t", "command": "workbench.action.chat.toggleThinkingContentAccessibleView", + "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "delete", "command": "workbench.action.chat.undoEdits", "when": "inChat && !textInputFocus" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, @@ -1457,6 +1473,8 @@ { "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" }, + { "key": "ctrl+w", "command": "workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, { "key": "ctrl+shift+j", "command": "workbench.action.search.toggleQueryDetails", "when": "inSearchEditor || searchViewletFocus" }, { "key": "ctrl+k ctrl+t", "command": "workbench.action.selectTheme" }, @@ -1478,8 +1496,6 @@ "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", @@ -1655,8 +1671,6 @@ { "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "workbench.banner.focusNextAction", @@ -1719,8 +1733,10 @@ "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": "escape", "command": "inlineChat2.cancel", + "when": "chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode != 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover'" }, + "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.undo", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode == 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover'" }, { "key": "f3", "command": "list.find.replInputFocus", @@ -1757,6 +1773,8 @@ "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, + { "key": "ctrl+shift+t", "command": "workbench.action.chat.focusTodosView", + "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "workbench.action.chat.newChat", @@ -1888,10 +1906,16 @@ "when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "f2", "command": "renameFile", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, + { "key": "escape", "command": "workbench.action.closeModalEditor", + "when": "editorPartModal" }, { "key": "f5", "command": "workbench.action.debug.continue", "when": "debugState == 'stopped'" }, { "key": "f11", "command": "workbench.action.debug.stepInto", "when": "debugState != 'inactive'" }, + { "key": "alt+down", "command": "workbench.action.navigateModalEditorNext", + "when": "editorPartModal && editorPartModalNavigation" }, + { "key": "alt+up", "command": "workbench.action.navigateModalEditorPrevious", + "when": "editorPartModal && editorPartModalNavigation" }, { "key": "shift+escape", "command": "closeReferenceSearch", "when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus" }, { "key": "escape", "command": "closeReferenceSearch", @@ -1913,7 +1937,7 @@ { "key": "right", "command": "quickInput.acceptInBackground", "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, { "key": "ctrl+shift+c", "command": "workbench.action.browser.addElementToChat", - "when": "chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "browserback", "command": "workbench.action.browser.goBack", "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+left", "command": "workbench.action.browser.goBack", @@ -1949,9 +1973,9 @@ { "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools", "when": "isDevelopment" }, { "key": "f5", "command": "workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+r", "command": "workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", @@ -2002,6 +2026,10 @@ "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, + { "key": "left", "command": "collapseSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "right", "command": "expandSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, { "key": "shift+escape", "command": "hideCodeActionWidget", "when": "codeActionMenuVisible" }, { "key": "escape", "command": "hideCodeActionWidget", @@ -2016,6 +2044,10 @@ "when": "codeActionMenuVisible" }, { "key": "up", "command": "selectPrevCodeAction", "when": "codeActionMenuVisible" }, + { "key": "space", "command": "toggleSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "escape", "command": "clearFilterCodeActionWidget", + "when": "codeActionMenuFilterFocused && codeActionMenuVisible" }, { "key": "escape", "command": "diffEditor.exitCompareMove", "when": "comparingMovedCode" } ] diff --git a/linux.negative.keybindings.json b/linux.negative.keybindings.json index 3c6381f..78bfe53 100644 --- a/linux.negative.keybindings.json +++ b/linux.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.109.5 for Linux +// Default Keybindings of Visual Studio Code 1.110.0 for Linux [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -104,6 +104,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "ctrl+up", "command": "-inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, + { "key": "escape", "command": "-inlineChat.hideInput", + "when": "inlineChatHasEditsAgent && inlineChatInputWidgetFocused || inlineChatHasNotebookAgent && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "-inlineChat.queueInChat", + "when": "inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused || inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "-inlineChat.submitInput", + "when": "inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat || inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "f12", "command": "-goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "-goToNextReference", @@ -130,8 +136,6 @@ "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "-chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, - { "key": "escape", "command": "-chat.models.action.clearSearchResults", - "when": "inModelsEditor && inModelsSearch" }, { "key": "shift+escape", "command": "-closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "-closeBreakpointWidget", @@ -514,7 +518,7 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", + { "key": "ctrl+k f2", "command": "-toggleQuickDiffWidgetFocus", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "-welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, @@ -529,7 +533,7 @@ { "key": "shift+f3", "command": "-workbench.action.browser.findPrevious", "when": "browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+f", "command": "-workbench.action.browser.showFind", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+/", "command": "-workbench.action.chat.attachContext", "when": "inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+.", "command": "-workbench.action.chat.openModePicker", @@ -537,11 +541,11 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress && !withinEditSessionDiff" }, + "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !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", @@ -559,9 +563,9 @@ { "key": "shift+alt+f8", "command": "-testing.goToPreviousMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "alt+enter", "command": "-workbench.action.chat.queueMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "enter", "command": "-workbench.action.chat.steerWithMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "ctrl+shift+up", "command": "-workbench.chat.action.focusLastFocused", "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+shift+up", "command": "-workbench.chat.action.focusLastFocused", @@ -731,7 +735,7 @@ { "key": "shift+alt+f5", "command": "-chatEditor.action.navigatePrevious", "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, { "key": "f7", "command": "-chatEditor.action.showAccessibleDiffView", - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, + "when": "accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, { "key": "shift+alt+f7", "command": "-chatEditor.action.toggleDiff", "when": "chatEdits.hasEditorModifications && editorFocus" }, { "key": "escape", "command": "-closeReplaceInFilesWidget", @@ -845,10 +849,12 @@ "when": "iconSelectBoxFocus" }, { "key": "alt+=", "command": "-increaseSearchEditorContextLines", "when": "inSearchEditor" }, + { "key": "ctrl+i", "command": "-inlineChat.askInChat", + "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "ctrl+i", "command": "-inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "-inlineChat2.keep", "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "-interactive.history.focus", @@ -1256,27 +1262,33 @@ { "key": "ctrl+up", "command": "-widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, { "key": "escape", "command": "-workbench.action.browser.addElementToChat", - "when": "browserElementSelectionActive && chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+escape", "command": "-workbench.action.chat.cancel", - "when": "chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, + "when": "chatHasQuestionCarousel && !chatRemoteJobCreating || chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, { "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusConfirmation", - "when": "accessibilityModeEnabled && chatIsEnabled" }, + "when": "accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel" }, { "key": "ctrl+down", "command": "-workbench.action.chat.focusInput", "when": "inChat && !inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "-workbench.action.chat.focusInput", "when": "inChat && quickChatHasFocus && !inChatInput" }, + { "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusQuestionCarousel", + "when": "chatHasQuestionCarousel && inChat" }, + { "key": "ctrl+shift+/", "command": "-workbench.action.chat.focusTip", + "when": "inChat || inChat && inChatTip" }, { "key": "ctrl+i", "command": "-workbench.action.chat.holdToVoiceChatInChatView", "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, { "key": "ctrl+alt+pagedown", "command": "-workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "-workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+n", "command": "-workbench.action.chat.nextQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+down", "command": "-workbench.action.chat.nextUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", "command": "-workbench.action.chat.open", @@ -1289,6 +1301,8 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+shift+f9", "command": "-workbench.action.chat.previousFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+p", "command": "-workbench.action.chat.previousQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+up", "command": "-workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint", @@ -1305,6 +1319,8 @@ "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "-workbench.action.chat.stopListeningAndSubmit", "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + { "key": "alt+t", "command": "-workbench.action.chat.toggleThinkingContentAccessibleView", + "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "delete", "command": "-workbench.action.chat.undoEdits", "when": "inChat && !textInputFocus" }, { "key": "ctrl+w", "command": "-workbench.action.closeActiveEditor" }, @@ -1457,6 +1473,8 @@ { "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" }, + { "key": "ctrl+w", "command": "-workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, { "key": "ctrl+shift+j", "command": "-workbench.action.search.toggleQueryDetails", "when": "inSearchEditor || searchViewletFocus" }, { "key": "ctrl+k ctrl+t", "command": "-workbench.action.selectTheme" }, @@ -1478,8 +1496,6 @@ "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", @@ -1655,8 +1671,6 @@ { "key": "ctrl+numpad0", "command": "-workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "-workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "-workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "-workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "-workbench.banner.focusNextAction", @@ -1719,8 +1733,10 @@ "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": "escape", "command": "-inlineChat2.cancel", + "when": "chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode != 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover'" }, + "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.undo", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode == 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover'" }, { "key": "f3", "command": "-list.find.replInputFocus", @@ -1757,6 +1773,8 @@ "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, + { "key": "ctrl+shift+t", "command": "-workbench.action.chat.focusTodosView", + "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", @@ -1888,10 +1906,16 @@ "when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "f2", "command": "-renameFile", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, + { "key": "escape", "command": "-workbench.action.closeModalEditor", + "when": "editorPartModal" }, { "key": "f5", "command": "-workbench.action.debug.continue", "when": "debugState == 'stopped'" }, { "key": "f11", "command": "-workbench.action.debug.stepInto", "when": "debugState != 'inactive'" }, + { "key": "alt+down", "command": "-workbench.action.navigateModalEditorNext", + "when": "editorPartModal && editorPartModalNavigation" }, + { "key": "alt+up", "command": "-workbench.action.navigateModalEditorPrevious", + "when": "editorPartModal && editorPartModalNavigation" }, { "key": "shift+escape", "command": "-closeReferenceSearch", "when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus" }, { "key": "escape", "command": "-closeReferenceSearch", @@ -1913,7 +1937,7 @@ { "key": "right", "command": "-quickInput.acceptInBackground", "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, { "key": "ctrl+shift+c", "command": "-workbench.action.browser.addElementToChat", - "when": "chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "browserback", "command": "-workbench.action.browser.goBack", "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+left", "command": "-workbench.action.browser.goBack", @@ -1949,9 +1973,9 @@ { "key": "ctrl+shift+i", "command": "-workbench.action.toggleDevTools", "when": "isDevelopment" }, { "key": "f5", "command": "-workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+r", "command": "-workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "escape", "command": "-notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "-workbench.action.chat.stopListening", @@ -2002,6 +2026,10 @@ "when": "codeActionMenuVisible" }, { "key": "enter", "command": "-acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, + { "key": "left", "command": "-collapseSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "right", "command": "-expandSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, { "key": "shift+escape", "command": "-hideCodeActionWidget", "when": "codeActionMenuVisible" }, { "key": "escape", "command": "-hideCodeActionWidget", @@ -2016,6 +2044,10 @@ "when": "codeActionMenuVisible" }, { "key": "up", "command": "-selectPrevCodeAction", "when": "codeActionMenuVisible" }, + { "key": "space", "command": "-toggleSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "escape", "command": "-clearFilterCodeActionWidget", + "when": "codeActionMenuFilterFocused && codeActionMenuVisible" }, { "key": "escape", "command": "-diffEditor.exitCompareMove", "when": "comparingMovedCode" } ] diff --git a/macos.keybindings.json b/macos.keybindings.json index 87a6750..50c9d8e 100644 --- a/macos.keybindings.json +++ b/macos.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.109.5 for macOS +// Default Keybindings of Visual Studio Code 1.110.0 for macOS [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -154,6 +154,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "cmd+up", "command": "inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, + { "key": "escape", "command": "inlineChat.hideInput", + "when": "inlineChatHasEditsAgent && inlineChatInputWidgetFocused || inlineChatHasNotebookAgent && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "inlineChat.queueInChat", + "when": "inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused || inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "inlineChat.submitInput", + "when": "inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat || inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "f12", "command": "goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "goToNextReference", @@ -584,7 +590,7 @@ "when": "suggestWidgetVisible" }, { "key": "cmd+k f2", "command": "togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "cmd+k f2", "command": "togglePeekWidgetFocus", + { "key": "cmd+k f2", "command": "toggleQuickDiffWidgetFocus", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, @@ -599,7 +605,7 @@ { "key": "shift+cmd+g", "command": "workbench.action.browser.findPrevious", "when": "browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+f", "command": "workbench.action.browser.showFind", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+/", "command": "workbench.action.chat.attachContext", "when": "inChatInput && chatLocation == 'panel'" }, { "key": "cmd+.", "command": "workbench.action.chat.openModePicker", @@ -607,11 +613,11 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress && !withinEditSessionDiff" }, + "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !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", @@ -629,9 +635,9 @@ { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "alt+enter", "command": "workbench.action.chat.queueMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "enter", "command": "workbench.action.chat.steerWithMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "shift+cmd+up", "command": "workbench.chat.action.focusLastFocused", "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "shift+cmd+up", "command": "workbench.chat.action.focusLastFocused", @@ -807,7 +813,7 @@ { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, { "key": "f7", "command": "chatEditor.action.showAccessibleDiffView", - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, + "when": "accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, { "key": "shift+alt+f7", "command": "chatEditor.action.toggleDiff", "when": "chatEdits.hasEditorModifications && editorFocus" }, { "key": "escape", "command": "closeReplaceInFilesWidget", @@ -918,10 +924,12 @@ "when": "iconSelectBoxFocus" }, { "key": "alt+=", "command": "increaseSearchEditorContextLines", "when": "inSearchEditor" }, + { "key": "cmd+i", "command": "inlineChat.askInChat", + "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+i", "command": "inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "cmd+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "inlineChat2.keep", "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+up", "command": "interactive.history.focus", @@ -1402,27 +1410,33 @@ { "key": "cmd+up", "command": "widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, { "key": "escape", "command": "workbench.action.browser.addElementToChat", - "when": "browserElementSelectionActive && chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+l", "command": "workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, { "key": "f12", "command": "workbench.action.browser.toggleDevTools", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+escape", "command": "workbench.action.chat.cancel", - "when": "chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, + "when": "chatHasQuestionCarousel && !chatRemoteJobCreating || chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, { "key": "enter", "command": "workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, { "key": "shift+cmd+a", "command": "workbench.action.chat.focusConfirmation", - "when": "accessibilityModeEnabled && chatIsEnabled" }, + "when": "accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel" }, { "key": "cmd+down", "command": "workbench.action.chat.focusInput", "when": "inChat && !inChatInput && !quickChatHasFocus" }, { "key": "cmd+up", "command": "workbench.action.chat.focusInput", "when": "inChat && quickChatHasFocus && !inChatInput" }, + { "key": "shift+cmd+a", "command": "workbench.action.chat.focusQuestionCarousel", + "when": "chatHasQuestionCarousel && inChat" }, + { "key": "shift+cmd+/", "command": "workbench.action.chat.focusTip", + "when": "inChat || inChat && inChatTip" }, { "key": "cmd+i", "command": "workbench.action.chat.holdToVoiceChatInChatView", "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, { "key": "alt+cmd+pagedown", "command": "workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "cmd+f9", "command": "workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+n", "command": "workbench.action.chat.nextQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "alt+cmd+down", "command": "workbench.action.chat.nextUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+cmd+i", "command": "workbench.action.chat.open", @@ -1435,6 +1449,8 @@ "when": "chatIsEnabled && inChat" }, { "key": "shift+cmd+f9", "command": "workbench.action.chat.previousFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+p", "command": "workbench.action.chat.previousQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "alt+cmd+up", "command": "workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "cmd+backspace", "command": "workbench.action.chat.restoreCheckpoint", @@ -1451,6 +1467,8 @@ "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "cmd+i", "command": "workbench.action.chat.stopListeningAndSubmit", "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + { "key": "alt+t", "command": "workbench.action.chat.toggleThinkingContentAccessibleView", + "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "cmd+backspace", "command": "workbench.action.chat.undoEdits", "when": "inChat && !textInputFocus" }, { "key": "cmd+w", "command": "workbench.action.closeActiveEditor" }, @@ -1603,6 +1621,8 @@ { "key": "alt+cmd+o", "command": "workbench.action.remote.showMenu" }, { "key": "shift+cmd+t", "command": "workbench.action.reopenClosedEditor" }, { "key": "shift+cmd+h", "command": "workbench.action.replaceInFiles" }, + { "key": "cmd+w", "command": "workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, { "key": "shift+cmd+j", "command": "workbench.action.search.toggleQueryDetails", "when": "inSearchEditor || searchViewletFocus" }, { "key": "cmd+k cmd+t", "command": "workbench.action.selectTheme" }, @@ -1625,8 +1645,6 @@ "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", @@ -1894,8 +1912,10 @@ "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": "escape", "command": "inlineChat2.cancel", + "when": "chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode != 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover'" }, + "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.undo", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode == 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover'" }, { "key": "f3", "command": "list.find.replInputFocus", @@ -1936,6 +1956,8 @@ "when": "chatHasElicitationRequest && inChat" }, { "key": "cmd+enter", "command": "workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, + { "key": "shift+cmd+t", "command": "workbench.action.chat.focusTodosView", + "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "cmd+n", "command": "workbench.action.chat.newChat", @@ -2073,10 +2095,16 @@ "when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "enter", "command": "renameFile", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, + { "key": "escape", "command": "workbench.action.closeModalEditor", + "when": "editorPartModal" }, { "key": "f5", "command": "workbench.action.debug.continue", "when": "debugState == 'stopped'" }, { "key": "f11", "command": "workbench.action.debug.stepInto", "when": "debugState != 'inactive'" }, + { "key": "alt+down", "command": "workbench.action.navigateModalEditorNext", + "when": "editorPartModal && editorPartModalNavigation" }, + { "key": "alt+up", "command": "workbench.action.navigateModalEditorPrevious", + "when": "editorPartModal && editorPartModalNavigation" }, { "key": "shift+escape", "command": "closeReferenceSearch", "when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus" }, { "key": "escape", "command": "closeReferenceSearch", @@ -2110,7 +2138,7 @@ { "key": "right", "command": "quickInput.acceptInBackground", "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, { "key": "shift+cmd+c", "command": "workbench.action.browser.addElementToChat", - "when": "chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+left", "command": "workbench.action.browser.goBack", "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, { "key": "browserback", "command": "workbench.action.browser.goBack", @@ -2154,7 +2182,7 @@ { "key": "alt+cmd+i", "command": "workbench.action.toggleDevTools", "when": "isDevelopment" }, { "key": "cmd+r", "command": "workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", @@ -2205,6 +2233,10 @@ "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, + { "key": "left", "command": "collapseSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "right", "command": "expandSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, { "key": "shift+escape", "command": "hideCodeActionWidget", "when": "codeActionMenuVisible" }, { "key": "escape", "command": "hideCodeActionWidget", @@ -2223,6 +2255,10 @@ "when": "codeActionMenuVisible" }, { "key": "up", "command": "selectPrevCodeAction", "when": "codeActionMenuVisible" }, + { "key": "space", "command": "toggleSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "escape", "command": "clearFilterCodeActionWidget", + "when": "codeActionMenuFilterFocused && codeActionMenuVisible" }, { "key": "escape", "command": "diffEditor.exitCompareMove", "when": "comparingMovedCode" } ] diff --git a/macos.negative.keybindings.json b/macos.negative.keybindings.json index fab0210..a0e81c8 100644 --- a/macos.negative.keybindings.json +++ b/macos.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.109.5 for macOS +// Default Keybindings of Visual Studio Code 1.110.0 for macOS [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -154,6 +154,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "cmd+up", "command": "-inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, + { "key": "escape", "command": "-inlineChat.hideInput", + "when": "inlineChatHasEditsAgent && inlineChatInputWidgetFocused || inlineChatHasNotebookAgent && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "-inlineChat.queueInChat", + "when": "inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused || inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "-inlineChat.submitInput", + "when": "inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat || inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "f12", "command": "-goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "-goToNextReference", @@ -584,7 +590,7 @@ "when": "suggestWidgetVisible" }, { "key": "cmd+k f2", "command": "-togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "cmd+k f2", "command": "-togglePeekWidgetFocus", + { "key": "cmd+k f2", "command": "-toggleQuickDiffWidgetFocus", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "-welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, @@ -599,7 +605,7 @@ { "key": "shift+cmd+g", "command": "-workbench.action.browser.findPrevious", "when": "browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+f", "command": "-workbench.action.browser.showFind", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+/", "command": "-workbench.action.chat.attachContext", "when": "inChatInput && chatLocation == 'panel'" }, { "key": "cmd+.", "command": "-workbench.action.chat.openModePicker", @@ -607,11 +613,11 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress && !withinEditSessionDiff" }, + "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "cmd+enter", "command": "-workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !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", @@ -629,9 +635,9 @@ { "key": "shift+alt+f8", "command": "-testing.goToPreviousMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "alt+enter", "command": "-workbench.action.chat.queueMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "enter", "command": "-workbench.action.chat.steerWithMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "shift+cmd+up", "command": "-workbench.chat.action.focusLastFocused", "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "shift+cmd+up", "command": "-workbench.chat.action.focusLastFocused", @@ -807,7 +813,7 @@ { "key": "shift+alt+f5", "command": "-chatEditor.action.navigatePrevious", "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, { "key": "f7", "command": "-chatEditor.action.showAccessibleDiffView", - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, + "when": "accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, { "key": "shift+alt+f7", "command": "-chatEditor.action.toggleDiff", "when": "chatEdits.hasEditorModifications && editorFocus" }, { "key": "escape", "command": "-closeReplaceInFilesWidget", @@ -918,10 +924,12 @@ "when": "iconSelectBoxFocus" }, { "key": "alt+=", "command": "-increaseSearchEditorContextLines", "when": "inSearchEditor" }, + { "key": "cmd+i", "command": "-inlineChat.askInChat", + "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+i", "command": "-inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "cmd+i", "command": "-inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "-inlineChat2.keep", "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+up", "command": "-interactive.history.focus", @@ -1402,27 +1410,33 @@ { "key": "cmd+up", "command": "-widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, { "key": "escape", "command": "-workbench.action.browser.addElementToChat", - "when": "browserElementSelectionActive && chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+l", "command": "-workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+escape", "command": "-workbench.action.chat.cancel", - "when": "chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, + "when": "chatHasQuestionCarousel && !chatRemoteJobCreating || chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, { "key": "shift+cmd+a", "command": "-workbench.action.chat.focusConfirmation", - "when": "accessibilityModeEnabled && chatIsEnabled" }, + "when": "accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel" }, { "key": "cmd+down", "command": "-workbench.action.chat.focusInput", "when": "inChat && !inChatInput && !quickChatHasFocus" }, { "key": "cmd+up", "command": "-workbench.action.chat.focusInput", "when": "inChat && quickChatHasFocus && !inChatInput" }, + { "key": "shift+cmd+a", "command": "-workbench.action.chat.focusQuestionCarousel", + "when": "chatHasQuestionCarousel && inChat" }, + { "key": "shift+cmd+/", "command": "-workbench.action.chat.focusTip", + "when": "inChat || inChat && inChatTip" }, { "key": "cmd+i", "command": "-workbench.action.chat.holdToVoiceChatInChatView", "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, { "key": "alt+cmd+pagedown", "command": "-workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "cmd+f9", "command": "-workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+n", "command": "-workbench.action.chat.nextQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "alt+cmd+down", "command": "-workbench.action.chat.nextUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+cmd+i", "command": "-workbench.action.chat.open", @@ -1435,6 +1449,8 @@ "when": "chatIsEnabled && inChat" }, { "key": "shift+cmd+f9", "command": "-workbench.action.chat.previousFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+p", "command": "-workbench.action.chat.previousQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "alt+cmd+up", "command": "-workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "cmd+backspace", "command": "-workbench.action.chat.restoreCheckpoint", @@ -1451,6 +1467,8 @@ "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "cmd+i", "command": "-workbench.action.chat.stopListeningAndSubmit", "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + { "key": "alt+t", "command": "-workbench.action.chat.toggleThinkingContentAccessibleView", + "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "cmd+backspace", "command": "-workbench.action.chat.undoEdits", "when": "inChat && !textInputFocus" }, { "key": "cmd+w", "command": "-workbench.action.closeActiveEditor" }, @@ -1603,6 +1621,8 @@ { "key": "alt+cmd+o", "command": "-workbench.action.remote.showMenu" }, { "key": "shift+cmd+t", "command": "-workbench.action.reopenClosedEditor" }, { "key": "shift+cmd+h", "command": "-workbench.action.replaceInFiles" }, + { "key": "cmd+w", "command": "-workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, { "key": "shift+cmd+j", "command": "-workbench.action.search.toggleQueryDetails", "when": "inSearchEditor || searchViewletFocus" }, { "key": "cmd+k cmd+t", "command": "-workbench.action.selectTheme" }, @@ -1625,8 +1645,6 @@ "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", @@ -1894,8 +1912,10 @@ "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": "escape", "command": "-inlineChat2.cancel", + "when": "chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode != 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover'" }, + "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.undo", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode == 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover'" }, { "key": "f3", "command": "-list.find.replInputFocus", @@ -1936,6 +1956,8 @@ "when": "chatHasElicitationRequest && inChat" }, { "key": "cmd+enter", "command": "-workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, + { "key": "shift+cmd+t", "command": "-workbench.action.chat.focusTodosView", + "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "cmd+n", "command": "-workbench.action.chat.newChat", @@ -2073,10 +2095,16 @@ "when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "enter", "command": "-renameFile", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, + { "key": "escape", "command": "-workbench.action.closeModalEditor", + "when": "editorPartModal" }, { "key": "f5", "command": "-workbench.action.debug.continue", "when": "debugState == 'stopped'" }, { "key": "f11", "command": "-workbench.action.debug.stepInto", "when": "debugState != 'inactive'" }, + { "key": "alt+down", "command": "-workbench.action.navigateModalEditorNext", + "when": "editorPartModal && editorPartModalNavigation" }, + { "key": "alt+up", "command": "-workbench.action.navigateModalEditorPrevious", + "when": "editorPartModal && editorPartModalNavigation" }, { "key": "shift+escape", "command": "-closeReferenceSearch", "when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus" }, { "key": "escape", "command": "-closeReferenceSearch", @@ -2110,7 +2138,7 @@ { "key": "right", "command": "-quickInput.acceptInBackground", "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, { "key": "shift+cmd+c", "command": "-workbench.action.browser.addElementToChat", - "when": "chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+left", "command": "-workbench.action.browser.goBack", "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, { "key": "browserback", "command": "-workbench.action.browser.goBack", @@ -2154,7 +2182,7 @@ { "key": "alt+cmd+i", "command": "-workbench.action.toggleDevTools", "when": "isDevelopment" }, { "key": "cmd+r", "command": "-workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "escape", "command": "-notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "-workbench.action.chat.stopListening", @@ -2205,6 +2233,10 @@ "when": "codeActionMenuVisible" }, { "key": "enter", "command": "-acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, + { "key": "left", "command": "-collapseSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "right", "command": "-expandSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, { "key": "shift+escape", "command": "-hideCodeActionWidget", "when": "codeActionMenuVisible" }, { "key": "escape", "command": "-hideCodeActionWidget", @@ -2223,6 +2255,10 @@ "when": "codeActionMenuVisible" }, { "key": "up", "command": "-selectPrevCodeAction", "when": "codeActionMenuVisible" }, + { "key": "space", "command": "-toggleSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "escape", "command": "-clearFilterCodeActionWidget", + "when": "codeActionMenuFilterFocused && codeActionMenuVisible" }, { "key": "escape", "command": "-diffEditor.exitCompareMove", "when": "comparingMovedCode" } ] diff --git a/windows.keybindings.json b/windows.keybindings.json index edf2d82..b93a0d1 100644 --- a/windows.keybindings.json +++ b/windows.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.109.5 for Windows +// Default Keybindings of Visual Studio Code 1.110.0 for Windows [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -120,6 +120,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "ctrl+up", "command": "inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, + { "key": "escape", "command": "inlineChat.hideInput", + "when": "inlineChatHasEditsAgent && inlineChatInputWidgetFocused || inlineChatHasNotebookAgent && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "inlineChat.queueInChat", + "when": "inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused || inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "inlineChat.submitInput", + "when": "inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat || inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "f12", "command": "goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "goToNextReference", @@ -522,7 +528,7 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", + { "key": "ctrl+k f2", "command": "toggleQuickDiffWidgetFocus", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, @@ -537,7 +543,7 @@ { "key": "shift+f3", "command": "workbench.action.browser.findPrevious", "when": "browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+f", "command": "workbench.action.browser.showFind", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+/", "command": "workbench.action.chat.attachContext", "when": "inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+.", "command": "workbench.action.chat.openModePicker", @@ -545,11 +551,11 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress && !withinEditSessionDiff" }, + "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !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", @@ -567,9 +573,9 @@ { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "alt+enter", "command": "workbench.action.chat.queueMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "enter", "command": "workbench.action.chat.steerWithMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "ctrl+shift+up", "command": "workbench.chat.action.focusLastFocused", "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+shift+up", "command": "workbench.chat.action.focusLastFocused", @@ -735,7 +741,7 @@ { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, { "key": "f7", "command": "chatEditor.action.showAccessibleDiffView", - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, + "when": "accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, { "key": "shift+alt+f7", "command": "chatEditor.action.toggleDiff", "when": "chatEdits.hasEditorModifications && editorFocus" }, { "key": "escape", "command": "closeReplaceInFilesWidget", @@ -846,10 +852,12 @@ "when": "iconSelectBoxFocus" }, { "key": "alt+=", "command": "increaseSearchEditorContextLines", "when": "inSearchEditor" }, + { "key": "ctrl+i", "command": "inlineChat.askInChat", + "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "ctrl+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "inlineChat2.keep", "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "interactive.history.focus", @@ -1260,27 +1268,33 @@ { "key": "ctrl+up", "command": "widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, { "key": "escape", "command": "workbench.action.browser.addElementToChat", - "when": "browserElementSelectionActive && chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, { "key": "f12", "command": "workbench.action.browser.toggleDevTools", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+backspace", "command": "workbench.action.chat.cancel", - "when": "chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, + "when": "chatHasQuestionCarousel && !chatRemoteJobCreating || chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, { "key": "enter", "command": "workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, { "key": "ctrl+shift+a", "command": "workbench.action.chat.focusConfirmation", - "when": "accessibilityModeEnabled && chatIsEnabled" }, + "when": "accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel" }, { "key": "ctrl+down", "command": "workbench.action.chat.focusInput", "when": "inChat && !inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "workbench.action.chat.focusInput", "when": "inChat && quickChatHasFocus && !inChatInput" }, + { "key": "ctrl+shift+a", "command": "workbench.action.chat.focusQuestionCarousel", + "when": "chatHasQuestionCarousel && inChat" }, + { "key": "ctrl+shift+/", "command": "workbench.action.chat.focusTip", + "when": "inChat || inChat && inChatTip" }, { "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView", "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+n", "command": "workbench.action.chat.nextQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+down", "command": "workbench.action.chat.nextUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", "command": "workbench.action.chat.open", @@ -1293,6 +1307,8 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+p", "command": "workbench.action.chat.previousQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+up", "command": "workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "delete", "command": "workbench.action.chat.restoreCheckpoint", @@ -1309,6 +1325,8 @@ "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + { "key": "alt+t", "command": "workbench.action.chat.toggleThinkingContentAccessibleView", + "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "delete", "command": "workbench.action.chat.undoEdits", "when": "inChat && !textInputFocus" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, @@ -1466,6 +1484,10 @@ { "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" }, + { "key": "ctrl+w", "command": "workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, + { "key": "ctrl+f4", "command": "workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, { "key": "ctrl+shift+j", "command": "workbench.action.search.toggleQueryDetails", "when": "inSearchEditor || searchViewletFocus" }, { "key": "ctrl+k ctrl+t", "command": "workbench.action.selectTheme" }, @@ -1487,8 +1509,6 @@ "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", @@ -1671,8 +1691,6 @@ { "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "workbench.banner.focusNextAction", @@ -1735,8 +1753,10 @@ "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": "escape", "command": "inlineChat2.cancel", + "when": "chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode != 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover'" }, + "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "inlineChat2.undo", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode == 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover'" }, { "key": "f3", "command": "list.find.replInputFocus", @@ -1773,6 +1793,8 @@ "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, + { "key": "ctrl+shift+t", "command": "workbench.action.chat.focusTodosView", + "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "workbench.action.chat.newChat", @@ -1902,10 +1924,16 @@ "when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "f2", "command": "renameFile", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, + { "key": "escape", "command": "workbench.action.closeModalEditor", + "when": "editorPartModal" }, { "key": "f5", "command": "workbench.action.debug.continue", "when": "debugState == 'stopped'" }, { "key": "f11", "command": "workbench.action.debug.stepInto", "when": "debugState != 'inactive'" }, + { "key": "alt+down", "command": "workbench.action.navigateModalEditorNext", + "when": "editorPartModal && editorPartModalNavigation" }, + { "key": "alt+up", "command": "workbench.action.navigateModalEditorPrevious", + "when": "editorPartModal && editorPartModalNavigation" }, { "key": "shift+escape", "command": "closeReferenceSearch", "when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus" }, { "key": "escape", "command": "closeReferenceSearch", @@ -1927,7 +1955,7 @@ { "key": "right", "command": "quickInput.acceptInBackground", "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, { "key": "ctrl+shift+c", "command": "workbench.action.browser.addElementToChat", - "when": "chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "browserback", "command": "workbench.action.browser.goBack", "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+left", "command": "workbench.action.browser.goBack", @@ -1967,9 +1995,9 @@ { "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools", "when": "isDevelopment" }, { "key": "f5", "command": "workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+r", "command": "workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", @@ -2020,6 +2048,10 @@ "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, + { "key": "left", "command": "collapseSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "right", "command": "expandSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, { "key": "shift+escape", "command": "hideCodeActionWidget", "when": "codeActionMenuVisible" }, { "key": "escape", "command": "hideCodeActionWidget", @@ -2034,6 +2066,10 @@ "when": "codeActionMenuVisible" }, { "key": "up", "command": "selectPrevCodeAction", "when": "codeActionMenuVisible" }, + { "key": "space", "command": "toggleSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "escape", "command": "clearFilterCodeActionWidget", + "when": "codeActionMenuFilterFocused && codeActionMenuVisible" }, { "key": "escape", "command": "diffEditor.exitCompareMove", "when": "comparingMovedCode" } ] diff --git a/windows.negative.keybindings.json b/windows.negative.keybindings.json index 8824d45..b3c49b2 100644 --- a/windows.negative.keybindings.json +++ b/windows.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.109.5 for Windows +// Default Keybindings of Visual Studio Code 1.110.0 for Windows [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -120,6 +120,12 @@ "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" }, { "key": "ctrl+up", "command": "-inlineChat.focus", "when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" }, + { "key": "escape", "command": "-inlineChat.hideInput", + "when": "inlineChatHasEditsAgent && inlineChatInputWidgetFocused || inlineChatHasNotebookAgent && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "-inlineChat.queueInChat", + "when": "inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused || inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && activeEditor == 'workbench.editor.notebook'" }, + { "key": "enter", "command": "-inlineChat.submitInput", + "when": "inlineChatHasEditsAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat || inlineChatHasNotebookAgent && inlineChatInputHasText && inlineChatInputWidgetFocused && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "f12", "command": "-goToNextReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "f4", "command": "-goToNextReference", @@ -522,7 +528,7 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, - { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", + { "key": "ctrl+k f2", "command": "-toggleQuickDiffWidgetFocus", "when": "dirtyDiffVisible" }, { "key": "escape", "command": "-welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, @@ -537,7 +543,7 @@ { "key": "shift+f3", "command": "-workbench.action.browser.findPrevious", "when": "browserFindWidgetVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+f", "command": "-workbench.action.browser.showFind", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+/", "command": "-workbench.action.chat.attachContext", "when": "inChatInput && chatLocation == 'panel'" }, { "key": "ctrl+.", "command": "-workbench.action.chat.openModePicker", @@ -545,11 +551,11 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress && !withinEditSessionDiff" }, + "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !chatSessionRequestInProgress" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatHasToolConfirmation && !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", @@ -567,9 +573,9 @@ { "key": "shift+alt+f8", "command": "-testing.goToPreviousMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "alt+enter", "command": "-workbench.action.chat.queueMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "enter", "command": "-workbench.action.chat.steerWithMessage", - "when": "chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest != 's' || chatHasToolConfirmation && chatInputHasText && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && config.chat.requestQueuing.enabled && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, + "when": "chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest != 's' || chatInputHasText && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's' || chatInputHasText && chatSessionRequestInProgress && inChatInput && chatEditingSentRequest == 'qs' && chatEditingSentRequest != 's'" }, { "key": "ctrl+shift+up", "command": "-workbench.chat.action.focusLastFocused", "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+shift+up", "command": "-workbench.chat.action.focusLastFocused", @@ -735,7 +741,7 @@ { "key": "shift+alt+f5", "command": "-chatEditor.action.navigatePrevious", "when": "chatEdits.hasEditorModifications && chatIsEnabled && editorFocus || chatEdits.hasEditorModifications && chatIsEnabled && notebookCellListFocused" }, { "key": "f7", "command": "-chatEditor.action.showAccessibleDiffView", - "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, + "when": "accessibilityModeEnabled && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified" }, { "key": "shift+alt+f7", "command": "-chatEditor.action.toggleDiff", "when": "chatEdits.hasEditorModifications && editorFocus" }, { "key": "escape", "command": "-closeReplaceInFilesWidget", @@ -846,10 +852,12 @@ "when": "iconSelectBoxFocus" }, { "key": "alt+=", "command": "-increaseSearchEditorContextLines", "when": "inSearchEditor" }, + { "key": "ctrl+i", "command": "-inlineChat.askInChat", + "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "ctrl+i", "command": "-inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "-inlineChat2.keep", "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "-interactive.history.focus", @@ -1260,27 +1268,33 @@ { "key": "ctrl+up", "command": "-widgetNavigation.focusPrevious", "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, { "key": "escape", "command": "-workbench.action.browser.addElementToChat", - "when": "browserElementSelectionActive && chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", - "when": "activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+backspace", "command": "-workbench.action.chat.cancel", - "when": "chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, + "when": "chatHasQuestionCarousel && !chatRemoteJobCreating || chatHasToolConfirmation && !chatRemoteJobCreating || chatSessionRequestInProgress && !chatRemoteJobCreating" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", "when": "inChat && !textInputFocus" }, { "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusConfirmation", - "when": "accessibilityModeEnabled && chatIsEnabled" }, + "when": "accessibilityModeEnabled && chatIsEnabled && !chatHasQuestionCarousel" }, { "key": "ctrl+down", "command": "-workbench.action.chat.focusInput", "when": "inChat && !inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "-workbench.action.chat.focusInput", "when": "inChat && quickChatHasFocus && !inChatInput" }, + { "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusQuestionCarousel", + "when": "chatHasQuestionCarousel && inChat" }, + { "key": "ctrl+shift+/", "command": "-workbench.action.chat.focusTip", + "when": "inChat || inChat && inChatTip" }, { "key": "ctrl+i", "command": "-workbench.action.chat.holdToVoiceChatInChatView", "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, { "key": "ctrl+alt+pagedown", "command": "-workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "-workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+n", "command": "-workbench.action.chat.nextQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+down", "command": "-workbench.action.chat.nextUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", "command": "-workbench.action.chat.open", @@ -1293,6 +1307,8 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+shift+f9", "command": "-workbench.action.chat.previousFileTree", "when": "chatIsEnabled && inChat" }, + { "key": "alt+p", "command": "-workbench.action.chat.previousQuestion", + "when": "chatHasQuestionCarousel && inChat && inChatQuestionCarousel" }, { "key": "ctrl+alt+up", "command": "-workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, { "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint", @@ -1309,6 +1325,8 @@ "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "-workbench.action.chat.stopListeningAndSubmit", "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + { "key": "alt+t", "command": "-workbench.action.chat.toggleThinkingContentAccessibleView", + "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, { "key": "delete", "command": "-workbench.action.chat.undoEdits", "when": "inChat && !textInputFocus" }, { "key": "ctrl+w", "command": "-workbench.action.closeActiveEditor" }, @@ -1466,6 +1484,10 @@ { "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" }, + { "key": "ctrl+w", "command": "-workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, + { "key": "ctrl+f4", "command": "-workbench.action.restoreAuxiliaryBar", + "when": "auxiliaryBarMaximized" }, { "key": "ctrl+shift+j", "command": "-workbench.action.search.toggleQueryDetails", "when": "inSearchEditor || searchViewletFocus" }, { "key": "ctrl+k ctrl+t", "command": "-workbench.action.selectTheme" }, @@ -1487,8 +1509,6 @@ "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", @@ -1671,8 +1691,6 @@ { "key": "ctrl+numpad0", "command": "-workbench.action.zoomReset" }, { "key": "ctrl+shift+m", "command": "-workbench.actions.view.problems", "when": "workbench.panel.markers.view.active" }, - { "key": "escape", "command": "-workbench.actions.workbench.panel.output.clearFilterText", - "when": "outputFilterFocus" }, { "key": "escape", "command": "-workbench.banner.focusBanner", "when": "bannerFocused" }, { "key": "down", "command": "-workbench.banner.focusNextAction", @@ -1735,8 +1753,10 @@ "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": "escape", "command": "-inlineChat2.cancel", + "when": "chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && editorFocus && inlineChatHasEditsAgent && inlineChatVisible || chatEdits.isRequestInProgress && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || chatEdits.isRequestInProgress && editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode != 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode != 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode != 'hover'" }, + "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "-inlineChat2.undo", "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && config.inlineChat.renderMode == 'hover' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && config.inlineChat.renderMode == 'hover' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook' && config.inlineChat.renderMode == 'hover'" }, { "key": "f3", "command": "-list.find.replInputFocus", @@ -1773,6 +1793,8 @@ "when": "chatHasElicitationRequest && inChat" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.acceptTool", "when": "chatHasToolConfirmation && inChat" }, + { "key": "ctrl+shift+t", "command": "-workbench.action.chat.focusTodosView", + "when": "inChatInput && chatAgentKind == 'agent' || inChatTodoList && chatAgentKind == 'agent'" }, { "key": "ctrl+l", "command": "-workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", @@ -1902,10 +1924,16 @@ "when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'" }, { "key": "f2", "command": "-renameFile", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, + { "key": "escape", "command": "-workbench.action.closeModalEditor", + "when": "editorPartModal" }, { "key": "f5", "command": "-workbench.action.debug.continue", "when": "debugState == 'stopped'" }, { "key": "f11", "command": "-workbench.action.debug.stepInto", "when": "debugState != 'inactive'" }, + { "key": "alt+down", "command": "-workbench.action.navigateModalEditorNext", + "when": "editorPartModal && editorPartModalNavigation" }, + { "key": "alt+up", "command": "-workbench.action.navigateModalEditorPrevious", + "when": "editorPartModal && editorPartModalNavigation" }, { "key": "shift+escape", "command": "-closeReferenceSearch", "when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus" }, { "key": "escape", "command": "-closeReferenceSearch", @@ -1927,7 +1955,7 @@ { "key": "right", "command": "-quickInput.acceptInBackground", "when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" }, { "key": "ctrl+shift+c", "command": "-workbench.action.browser.addElementToChat", - "when": "chatIsEnabled && config.chat.sendElementsToChat.enabled && activeEditor == 'workbench.editor.browser'" }, + "when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "browserback", "command": "-workbench.action.browser.goBack", "when": "browserCanGoBack && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+left", "command": "-workbench.action.browser.goBack", @@ -1967,9 +1995,9 @@ { "key": "ctrl+shift+i", "command": "-workbench.action.toggleDevTools", "when": "isDevelopment" }, { "key": "f5", "command": "-workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+r", "command": "-workbench.action.browser.reload", - "when": "browserFocused" }, + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, { "key": "escape", "command": "-notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "-workbench.action.chat.stopListening", @@ -2020,6 +2048,10 @@ "when": "codeActionMenuVisible" }, { "key": "enter", "command": "-acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, + { "key": "left", "command": "-collapseSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "right", "command": "-expandSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, { "key": "shift+escape", "command": "-hideCodeActionWidget", "when": "codeActionMenuVisible" }, { "key": "escape", "command": "-hideCodeActionWidget", @@ -2034,6 +2066,10 @@ "when": "codeActionMenuVisible" }, { "key": "up", "command": "-selectPrevCodeAction", "when": "codeActionMenuVisible" }, + { "key": "space", "command": "-toggleSectionCodeAction", + "when": "codeActionMenuVisible && !codeActionMenuFilterFocused" }, + { "key": "escape", "command": "-clearFilterCodeActionWidget", + "when": "codeActionMenuFilterFocused && codeActionMenuVisible" }, { "key": "escape", "command": "-diffEditor.exitCompareMove", "when": "comparingMovedCode" } ]