From 85a1d4991cadc83fc844af2a8b40f54153339e16 Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Fri, 9 Jan 2026 01:46:50 +0000 Subject: [PATCH] Update for VSCode 1.108.0 --- linux.keybindings.json | 66 +++++++++++++++++-------------- linux.negative.keybindings.json | 66 +++++++++++++++++-------------- macos.keybindings.json | 62 ++++++++++++++++------------- macos.negative.keybindings.json | 62 ++++++++++++++++------------- windows.keybindings.json | 64 +++++++++++++++++------------- windows.negative.keybindings.json | 64 +++++++++++++++++------------- 6 files changed, 218 insertions(+), 166 deletions(-) diff --git a/linux.keybindings.json b/linux.keybindings.json index 45ac5b0..fe60569 100644 --- a/linux.keybindings.json +++ b/linux.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.107.1 for Linux +// Default Keybindings of Visual Studio Code 1.108.0 for Linux [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -69,9 +69,9 @@ { "key": "ctrl+l", "command": "expandLineSelection", "when": "textInputFocus" }, { "key": "ctrl+down", "command": "inlineChat.arrowOutDown", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "inlineChat.arrowOutUp", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+tab", "command": "outdent", "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" }, { "key": "ctrl+shift+z", "command": "redo" }, @@ -443,7 +443,7 @@ { "key": "escape", "command": "inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, { "key": "escape", "command": "inlineChat.discardHunkChange", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits' || inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits' && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits'" }, { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "interactive.execute", @@ -520,6 +520,8 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, + { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", + "when": "dirtyDiffVisible" }, { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment", @@ -549,7 +551,7 @@ { "key": "ctrl+right", "command": "editor.action.inlineSuggest.acceptNextWord", "when": "cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly" }, { "key": "escape", "command": "inlineChat.close", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+f8", "command": "testing.goToNextMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", @@ -836,19 +838,19 @@ { "key": "ctrl+i", "command": "inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "f7", "command": "inlineChat.moveToNextHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+r", "command": "inlineChat.regenerate", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "inlineChat.viewInChat", - "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inChatInput && inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, + "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", "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" }, { "key": "down", "command": "interactive.history.next", @@ -864,7 +866,7 @@ { "key": "ctrl+k ctrl+a", "command": "keybindings.editor.addKeybinding", "when": "inKeybindings && keybindingFocus" }, { "key": "escape", "command": "keybindings.editor.clearSearchResults", - "when": "inKeybindings && inKeybindingsSearch" }, + "when": "inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue" }, { "key": "ctrl+c", "command": "keybindings.editor.copyKeybindingEntry", "when": "inKeybindings && keybindingFocus && !whenFocus" }, { "key": "enter", "command": "keybindings.editor.defineKeybinding", @@ -1122,6 +1124,8 @@ "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "alt+up", "command": "quickInput.previousSeparatorWithQuickAccessFallback", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, + { "key": "space", "command": "quickInput.toggleCheckbox", + "when": "inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'" }, { "key": "ctrl+space", "command": "quickInput.toggleHover", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "space", "command": "refactorPreview.toggleCheckedState", @@ -1196,6 +1200,8 @@ "when": "inSettingsEditor && settingRowFocus" }, { "key": "shift+f9", "command": "settings.action.showContextMenu", "when": "inSettingsEditor" }, + { "key": "ctrl+c", "command": "suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, { "key": "ctrl+; ctrl+x", "command": "testing.cancelRun" }, { "key": "ctrl+; ctrl+shift+a", "command": "testing.coverageAll" }, { "key": "ctrl+; ctrl+shift+c", "command": "testing.coverageAtCursor", @@ -1276,8 +1282,6 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+up", "command": "workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, - { "key": "f2", "command": "workbench.action.chat.renameSession", - "when": "focusedView == 'workbench.view.chat.sessions.local'" }, { "key": "delete", "command": "workbench.action.chat.restoreCheckpoint", "when": "inChat && !textInputFocus" }, { "key": "ctrl+alt+meta+/", "command": "workbench.action.chat.run-in-new-chat.prompt.current", @@ -1289,7 +1293,7 @@ { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, + "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": "delete", "command": "workbench.action.chat.undoEdits", @@ -1485,10 +1489,6 @@ "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, - { "key": "ctrl+[IntlBackslash]", "command": "workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, - { "key": "ctrl+shift+,", "command": "workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection", "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" }, { "key": "f3", "command": "workbench.action.terminal.findNext", @@ -1608,9 +1608,6 @@ { "key": "ctrl+shift+6", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001e"} }, - { "key": "ctrl+/", "command": "workbench.action.terminal.sendSequence", - "when": "terminalFocus", - "args": {"text":"\u001f"} }, { "key": "ctrl+.", "command": "workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "workbench.action.terminal.sizeToContentWidth", @@ -1649,6 +1646,8 @@ { "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", @@ -1693,6 +1692,12 @@ "when": "workbench.scm.active" }, { "key": "ctrl+shift+f", "command": "workbench.view.search", "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, + { "key": "delete", "command": "agentSession.archive", + "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, + { "key": "f2", "command": "agentSession.rename", + "when": "agentSessionsViewerFocused && chatSessionType == 'local'" }, + { "key": "shift+delete", "command": "agentSession.unarchive", + "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker", "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "ctrl+left", "command": "breadcrumbs.focusPreviousWithPicker", @@ -1706,7 +1711,7 @@ { "key": "tab", "command": "editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "escape", "command": "inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, + "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": "f3", "command": "list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "ctrl+alt+f", "command": "list.find.replInputFocus", @@ -1745,6 +1750,10 @@ "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + { "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup", + "when": "agentSessionsViewerFocused" }, + { "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup", + "when": "agentSessionsViewerFocused" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.skipTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+pagedown", "command": "workbench.action.debug.nextConsole", @@ -1777,8 +1786,6 @@ "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "up", "command": "workbench.action.terminal.selectPrevSuggestion", "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, - { "key": "ctrl+shift+l", "command": "workbench.action.terminal.suggestLearnMore", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+space", "command": "workbench.action.terminal.triggerSuggest", "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible" }, { "key": "ctrl+shift+down", "command": "workbench.chat.action.focusLastFocused", @@ -1829,6 +1836,7 @@ "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "ctrl+shift+o", "command": "editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, + { "key": "ctrl+shift+g", "command": "editor.action.announceCursorPosition" }, { "key": "ctrl+e", "command": "editor.action.toggleScreenReaderAccessibilityMode", "when": "accessibilityHelpIsShown" }, { "key": "shift+alt+f4", "command": "editor.action.toggleScreenReaderAccessibilityMode" }, @@ -1849,9 +1857,9 @@ { "key": "home", "command": "firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, { "key": "ctrl+enter", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+enter", "command": "inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, + "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "ctrl+shift+t", "command": "mergeEditor.toggleBetweenInputs", @@ -1935,7 +1943,7 @@ { "key": "ctrl+k ctrl+alt+s", "command": "git.stageSelectedRanges", "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, { "key": "ctrl+shift+v", "command": "markdown.showPreview", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "shift+alt+f12", "command": "references-view.findReferences", "when": "editorHasReferenceProvider" }, { "key": "f11", "command": "extension.node-debug.startWithStopOnEntry", @@ -1943,7 +1951,7 @@ { "key": "ctrl+k ctrl+n", "command": "git.unstageSelectedRanges", "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, { "key": "ctrl+k v", "command": "markdown.showPreviewToSide", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "f4", "command": "references-view.next", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "ctrl+k ctrl+r", "command": "git.revertSelectedRanges", diff --git a/linux.negative.keybindings.json b/linux.negative.keybindings.json index f95ecd8..2ec5a1e 100644 --- a/linux.negative.keybindings.json +++ b/linux.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.107.1 for Linux +// Default Keybindings of Visual Studio Code 1.108.0 for Linux [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -69,9 +69,9 @@ { "key": "ctrl+l", "command": "-expandLineSelection", "when": "textInputFocus" }, { "key": "ctrl+down", "command": "-inlineChat.arrowOutDown", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "-inlineChat.arrowOutUp", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+tab", "command": "-outdent", "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" }, { "key": "ctrl+shift+z", "command": "-redo" }, @@ -443,7 +443,7 @@ { "key": "escape", "command": "-inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, { "key": "escape", "command": "-inlineChat.discardHunkChange", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits' || inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits' && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits'" }, { "key": "tab", "command": "-insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "-interactive.execute", @@ -520,6 +520,8 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, + { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", + "when": "dirtyDiffVisible" }, { "key": "escape", "command": "-welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "-workbench.action.addComment", @@ -549,7 +551,7 @@ { "key": "ctrl+right", "command": "-editor.action.inlineSuggest.acceptNextWord", "when": "cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly" }, { "key": "escape", "command": "-inlineChat.close", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+f8", "command": "-testing.goToNextMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "shift+alt+f8", "command": "-testing.goToPreviousMessage", @@ -836,19 +838,19 @@ { "key": "ctrl+i", "command": "-inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "f7", "command": "-inlineChat.moveToNextHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+f7", "command": "-inlineChat.moveToPreviousHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+r", "command": "-inlineChat.regenerate", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "-inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "-inlineChat.viewInChat", - "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inChatInput && inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "-inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, + "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", "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" }, { "key": "down", "command": "-interactive.history.next", @@ -864,7 +866,7 @@ { "key": "ctrl+k ctrl+a", "command": "-keybindings.editor.addKeybinding", "when": "inKeybindings && keybindingFocus" }, { "key": "escape", "command": "-keybindings.editor.clearSearchResults", - "when": "inKeybindings && inKeybindingsSearch" }, + "when": "inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue" }, { "key": "ctrl+c", "command": "-keybindings.editor.copyKeybindingEntry", "when": "inKeybindings && keybindingFocus && !whenFocus" }, { "key": "enter", "command": "-keybindings.editor.defineKeybinding", @@ -1122,6 +1124,8 @@ "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "alt+up", "command": "-quickInput.previousSeparatorWithQuickAccessFallback", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, + { "key": "space", "command": "-quickInput.toggleCheckbox", + "when": "inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'" }, { "key": "ctrl+space", "command": "-quickInput.toggleHover", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "space", "command": "-refactorPreview.toggleCheckedState", @@ -1196,6 +1200,8 @@ "when": "inSettingsEditor && settingRowFocus" }, { "key": "shift+f9", "command": "-settings.action.showContextMenu", "when": "inSettingsEditor" }, + { "key": "ctrl+c", "command": "-suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, { "key": "ctrl+; ctrl+x", "command": "-testing.cancelRun" }, { "key": "ctrl+; ctrl+shift+a", "command": "-testing.coverageAll" }, { "key": "ctrl+; ctrl+shift+c", "command": "-testing.coverageAtCursor", @@ -1276,8 +1282,6 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+up", "command": "-workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, - { "key": "f2", "command": "-workbench.action.chat.renameSession", - "when": "focusedView == 'workbench.view.chat.sessions.local'" }, { "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint", "when": "inChat && !textInputFocus" }, { "key": "ctrl+alt+meta+/", "command": "-workbench.action.chat.run-in-new-chat.prompt.current", @@ -1289,7 +1293,7 @@ { "key": "ctrl+shift+enter", "command": "-workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "-workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, + "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": "delete", "command": "-workbench.action.chat.undoEdits", @@ -1485,10 +1489,6 @@ "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "-workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, - { "key": "ctrl+[IntlBackslash]", "command": "-workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, - { "key": "ctrl+shift+,", "command": "-workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+shift+c", "command": "-workbench.action.terminal.copySelection", "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" }, { "key": "f3", "command": "-workbench.action.terminal.findNext", @@ -1608,9 +1608,6 @@ { "key": "ctrl+shift+6", "command": "-workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001e"} }, - { "key": "ctrl+/", "command": "-workbench.action.terminal.sendSequence", - "when": "terminalFocus", - "args": {"text":"\u001f"} }, { "key": "ctrl+.", "command": "-workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "-workbench.action.terminal.sizeToContentWidth", @@ -1649,6 +1646,8 @@ { "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", @@ -1693,6 +1692,12 @@ "when": "workbench.scm.active" }, { "key": "ctrl+shift+f", "command": "-workbench.view.search", "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, + { "key": "delete", "command": "-agentSession.archive", + "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, + { "key": "f2", "command": "-agentSession.rename", + "when": "agentSessionsViewerFocused && chatSessionType == 'local'" }, + { "key": "shift+delete", "command": "-agentSession.unarchive", + "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "ctrl+left", "command": "-breadcrumbs.focusPreviousWithPicker", @@ -1706,7 +1711,7 @@ { "key": "tab", "command": "-editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "escape", "command": "-inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, + "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": "f3", "command": "-list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "ctrl+alt+f", "command": "-list.find.replInputFocus", @@ -1745,6 +1750,10 @@ "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", + "when": "agentSessionsViewerFocused" }, + { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup", + "when": "agentSessionsViewerFocused" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.skipTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+pagedown", "command": "-workbench.action.debug.nextConsole", @@ -1777,8 +1786,6 @@ "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "up", "command": "-workbench.action.terminal.selectPrevSuggestion", "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, - { "key": "ctrl+shift+l", "command": "-workbench.action.terminal.suggestLearnMore", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+space", "command": "-workbench.action.terminal.triggerSuggest", "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible" }, { "key": "ctrl+shift+down", "command": "-workbench.chat.action.focusLastFocused", @@ -1829,6 +1836,7 @@ "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "ctrl+shift+o", "command": "-editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, + { "key": "ctrl+shift+g", "command": "-editor.action.announceCursorPosition" }, { "key": "ctrl+e", "command": "-editor.action.toggleScreenReaderAccessibilityMode", "when": "accessibilityHelpIsShown" }, { "key": "shift+alt+f4", "command": "-editor.action.toggleScreenReaderAccessibilityMode" }, @@ -1849,9 +1857,9 @@ { "key": "home", "command": "-firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, { "key": "ctrl+enter", "command": "-inlineChat.acceptChanges", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+enter", "command": "-inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, + "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, { "key": "end", "command": "-lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "ctrl+shift+t", "command": "-mergeEditor.toggleBetweenInputs", @@ -1935,7 +1943,7 @@ { "key": "ctrl+k ctrl+alt+s", "command": "-git.stageSelectedRanges", "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, { "key": "ctrl+shift+v", "command": "-markdown.showPreview", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "shift+alt+f12", "command": "-references-view.findReferences", "when": "editorHasReferenceProvider" }, { "key": "f11", "command": "-extension.node-debug.startWithStopOnEntry", @@ -1943,7 +1951,7 @@ { "key": "ctrl+k ctrl+n", "command": "-git.unstageSelectedRanges", "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, { "key": "ctrl+k v", "command": "-markdown.showPreviewToSide", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "f4", "command": "-references-view.next", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "ctrl+k ctrl+r", "command": "-git.revertSelectedRanges", diff --git a/macos.keybindings.json b/macos.keybindings.json index cb74dc5..ee6cc4f 100644 --- a/macos.keybindings.json +++ b/macos.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.107.1 for macOS +// Default Keybindings of Visual Studio Code 1.108.0 for macOS [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -118,9 +118,9 @@ { "key": "cmd+l", "command": "expandLineSelection", "when": "textInputFocus" }, { "key": "cmd+down", "command": "inlineChat.arrowOutDown", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+up", "command": "inlineChat.arrowOutUp", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+o", "command": "lineBreakInsert", "when": "textInputFocus && !editorReadonly" }, { "key": "shift+tab", "command": "outdent", @@ -515,7 +515,7 @@ { "key": "escape", "command": "inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, { "key": "escape", "command": "inlineChat.discardHunkChange", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits' || inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits' && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits'" }, { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "cmd+enter", "command": "interactive.execute", @@ -592,6 +592,8 @@ "when": "suggestWidgetVisible" }, { "key": "cmd+k f2", "command": "togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, + { "key": "cmd+k f2", "command": "togglePeekWidgetFocus", + "when": "dirtyDiffVisible" }, { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "cmd+k alt+cmd+c", "command": "workbench.action.addComment", @@ -621,7 +623,7 @@ { "key": "cmd+right", "command": "editor.action.inlineSuggest.acceptNextWord", "when": "cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly" }, { "key": "escape", "command": "inlineChat.close", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+f8", "command": "testing.goToNextMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", @@ -911,19 +913,19 @@ { "key": "cmd+i", "command": "inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "f7", "command": "inlineChat.moveToNextHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+r", "command": "inlineChat.regenerate", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "cmd+down", "command": "inlineChat.viewInChat", - "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inChatInput && inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, + "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", "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" }, { "key": "down", "command": "interactive.history.next", @@ -939,7 +941,7 @@ { "key": "cmd+k cmd+a", "command": "keybindings.editor.addKeybinding", "when": "inKeybindings && keybindingFocus" }, { "key": "escape", "command": "keybindings.editor.clearSearchResults", - "when": "inKeybindings && inKeybindingsSearch" }, + "when": "inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue" }, { "key": "cmd+c", "command": "keybindings.editor.copyKeybindingEntry", "when": "inKeybindings && keybindingFocus && !whenFocus" }, { "key": "enter", "command": "keybindings.editor.defineKeybinding", @@ -1265,6 +1267,8 @@ "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "cmd+up", "command": "quickInput.previousSeparatorWithQuickAccessFallback", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, + { "key": "space", "command": "quickInput.toggleCheckbox", + "when": "inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'" }, { "key": "ctrl+space", "command": "quickInput.toggleHover", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "space", "command": "refactorPreview.toggleCheckedState", @@ -1344,6 +1348,8 @@ "when": "inSettingsEditor && settingRowFocus" }, { "key": "shift+f9", "command": "settings.action.showContextMenu", "when": "inSettingsEditor" }, + { "key": "cmd+c", "command": "suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, { "key": "cmd+; cmd+x", "command": "testing.cancelRun" }, { "key": "cmd+; shift+cmd+a", "command": "testing.coverageAll" }, { "key": "cmd+; shift+cmd+c", "command": "testing.coverageAtCursor", @@ -1424,8 +1430,6 @@ "when": "chatIsEnabled && inChat" }, { "key": "alt+cmd+up", "command": "workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, - { "key": "f2", "command": "workbench.action.chat.renameSession", - "when": "focusedView == 'workbench.view.chat.sessions.local'" }, { "key": "cmd+backspace", "command": "workbench.action.chat.restoreCheckpoint", "when": "inChat && !textInputFocus" }, { "key": "ctrl+alt+cmd+/", "command": "workbench.action.chat.run-in-new-chat.prompt.current", @@ -1437,7 +1441,7 @@ { "key": "shift+cmd+enter", "command": "workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput" }, { "key": "cmd+i", "command": "workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, + "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": "cmd+backspace", "command": "workbench.action.chat.undoEdits", @@ -1634,8 +1638,6 @@ "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, - { "key": "shift+cmd+,", "command": "workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "cmd+c", "command": "workbench.action.terminal.copySelection", "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" }, { "key": "f3", "command": "workbench.action.terminal.findNext", @@ -1780,9 +1782,6 @@ { "key": "ctrl+shift+6", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001e"} }, - { "key": "ctrl+/", "command": "workbench.action.terminal.sendSequence", - "when": "terminalFocus", - "args": {"text":"\u001f"} }, { "key": "cmd+.", "command": "workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "workbench.action.terminal.sizeToContentWidth", @@ -1870,6 +1869,12 @@ "when": "workbench.scm.active" }, { "key": "shift+cmd+f", "command": "workbench.view.search", "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, + { "key": "cmd+backspace", "command": "agentSession.archive", + "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, + { "key": "enter", "command": "agentSession.rename", + "when": "agentSessionsViewerFocused && chatSessionType == 'local'" }, + { "key": "shift+cmd+backspace", "command": "agentSession.unarchive", + "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "alt+right", "command": "breadcrumbs.focusNextWithPicker", "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "alt+left", "command": "breadcrumbs.focusPreviousWithPicker", @@ -1883,7 +1888,7 @@ { "key": "tab", "command": "editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "escape", "command": "inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, + "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": "f3", "command": "list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "alt+cmd+f", "command": "list.find.replInputFocus", @@ -1926,6 +1931,10 @@ "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "cmd+n", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + { "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup", + "when": "agentSessionsViewerFocused" }, + { "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup", + "when": "agentSessionsViewerFocused" }, { "key": "alt+cmd+enter", "command": "workbench.action.chat.skipTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "shift+cmd+]", "command": "workbench.action.debug.nextConsole", @@ -1960,8 +1969,6 @@ "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "up", "command": "workbench.action.terminal.selectPrevSuggestion", "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, - { "key": "shift+cmd+l", "command": "workbench.action.terminal.suggestLearnMore", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+space", "command": "workbench.action.terminal.triggerSuggest", "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible" }, { "key": "shift+cmd+down", "command": "workbench.chat.action.focusLastFocused", @@ -2012,6 +2019,7 @@ "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "shift+cmd+o", "command": "editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, + { "key": "shift+cmd+g", "command": "editor.action.announceCursorPosition" }, { "key": "cmd+e", "command": "editor.action.toggleScreenReaderAccessibilityMode", "when": "accessibilityHelpIsShown" }, { "key": "shift+alt+f1", "command": "editor.action.toggleScreenReaderAccessibilityMode" }, @@ -2032,9 +2040,9 @@ { "key": "home", "command": "firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, { "key": "cmd+enter", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+enter", "command": "inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, + "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "shift+cmd+t", "command": "mergeEditor.toggleBetweenInputs", @@ -2138,7 +2146,7 @@ { "key": "cmd+k alt+cmd+s", "command": "git.stageSelectedRanges", "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, { "key": "shift+cmd+v", "command": "markdown.showPreview", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "shift+alt+f12", "command": "references-view.findReferences", "when": "editorHasReferenceProvider" }, { "key": "f11", "command": "extension.node-debug.startWithStopOnEntry", @@ -2146,7 +2154,7 @@ { "key": "cmd+k cmd+n", "command": "git.unstageSelectedRanges", "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, { "key": "cmd+k v", "command": "markdown.showPreviewToSide", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "f4", "command": "references-view.next", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "cmd+k cmd+r", "command": "git.revertSelectedRanges", diff --git a/macos.negative.keybindings.json b/macos.negative.keybindings.json index d1c5167..a406e2c 100644 --- a/macos.negative.keybindings.json +++ b/macos.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.107.1 for macOS +// Default Keybindings of Visual Studio Code 1.108.0 for macOS [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -118,9 +118,9 @@ { "key": "cmd+l", "command": "-expandLineSelection", "when": "textInputFocus" }, { "key": "cmd+down", "command": "-inlineChat.arrowOutDown", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+up", "command": "-inlineChat.arrowOutUp", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+o", "command": "-lineBreakInsert", "when": "textInputFocus && !editorReadonly" }, { "key": "shift+tab", "command": "-outdent", @@ -515,7 +515,7 @@ { "key": "escape", "command": "-inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, { "key": "escape", "command": "-inlineChat.discardHunkChange", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits' || inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits' && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits'" }, { "key": "tab", "command": "-insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "cmd+enter", "command": "-interactive.execute", @@ -592,6 +592,8 @@ "when": "suggestWidgetVisible" }, { "key": "cmd+k f2", "command": "-togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, + { "key": "cmd+k f2", "command": "-togglePeekWidgetFocus", + "when": "dirtyDiffVisible" }, { "key": "escape", "command": "-welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "cmd+k alt+cmd+c", "command": "-workbench.action.addComment", @@ -621,7 +623,7 @@ { "key": "cmd+right", "command": "-editor.action.inlineSuggest.acceptNextWord", "when": "cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly" }, { "key": "escape", "command": "-inlineChat.close", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+f8", "command": "-testing.goToNextMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "shift+alt+f8", "command": "-testing.goToPreviousMessage", @@ -911,19 +913,19 @@ { "key": "cmd+i", "command": "-inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "f7", "command": "-inlineChat.moveToNextHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+f7", "command": "-inlineChat.moveToPreviousHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+r", "command": "-inlineChat.regenerate", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+i", "command": "-inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+z", "command": "-inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "cmd+down", "command": "-inlineChat.viewInChat", - "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inChatInput && inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "-inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, + "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", "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" }, { "key": "down", "command": "-interactive.history.next", @@ -939,7 +941,7 @@ { "key": "cmd+k cmd+a", "command": "-keybindings.editor.addKeybinding", "when": "inKeybindings && keybindingFocus" }, { "key": "escape", "command": "-keybindings.editor.clearSearchResults", - "when": "inKeybindings && inKeybindingsSearch" }, + "when": "inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue" }, { "key": "cmd+c", "command": "-keybindings.editor.copyKeybindingEntry", "when": "inKeybindings && keybindingFocus && !whenFocus" }, { "key": "enter", "command": "-keybindings.editor.defineKeybinding", @@ -1265,6 +1267,8 @@ "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "cmd+up", "command": "-quickInput.previousSeparatorWithQuickAccessFallback", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, + { "key": "space", "command": "-quickInput.toggleCheckbox", + "when": "inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'" }, { "key": "ctrl+space", "command": "-quickInput.toggleHover", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "space", "command": "-refactorPreview.toggleCheckedState", @@ -1344,6 +1348,8 @@ "when": "inSettingsEditor && settingRowFocus" }, { "key": "shift+f9", "command": "-settings.action.showContextMenu", "when": "inSettingsEditor" }, + { "key": "cmd+c", "command": "-suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, { "key": "cmd+; cmd+x", "command": "-testing.cancelRun" }, { "key": "cmd+; shift+cmd+a", "command": "-testing.coverageAll" }, { "key": "cmd+; shift+cmd+c", "command": "-testing.coverageAtCursor", @@ -1424,8 +1430,6 @@ "when": "chatIsEnabled && inChat" }, { "key": "alt+cmd+up", "command": "-workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, - { "key": "f2", "command": "-workbench.action.chat.renameSession", - "when": "focusedView == 'workbench.view.chat.sessions.local'" }, { "key": "cmd+backspace", "command": "-workbench.action.chat.restoreCheckpoint", "when": "inChat && !textInputFocus" }, { "key": "ctrl+alt+cmd+/", "command": "-workbench.action.chat.run-in-new-chat.prompt.current", @@ -1437,7 +1441,7 @@ { "key": "shift+cmd+enter", "command": "-workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput" }, { "key": "cmd+i", "command": "-workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, + "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": "cmd+backspace", "command": "-workbench.action.chat.undoEdits", @@ -1634,8 +1638,6 @@ "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "-workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, - { "key": "shift+cmd+,", "command": "-workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "cmd+c", "command": "-workbench.action.terminal.copySelection", "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" }, { "key": "f3", "command": "-workbench.action.terminal.findNext", @@ -1780,9 +1782,6 @@ { "key": "ctrl+shift+6", "command": "-workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001e"} }, - { "key": "ctrl+/", "command": "-workbench.action.terminal.sendSequence", - "when": "terminalFocus", - "args": {"text":"\u001f"} }, { "key": "cmd+.", "command": "-workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "-workbench.action.terminal.sizeToContentWidth", @@ -1870,6 +1869,12 @@ "when": "workbench.scm.active" }, { "key": "shift+cmd+f", "command": "-workbench.view.search", "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, + { "key": "cmd+backspace", "command": "-agentSession.archive", + "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, + { "key": "enter", "command": "-agentSession.rename", + "when": "agentSessionsViewerFocused && chatSessionType == 'local'" }, + { "key": "shift+cmd+backspace", "command": "-agentSession.unarchive", + "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "alt+right", "command": "-breadcrumbs.focusNextWithPicker", "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "alt+left", "command": "-breadcrumbs.focusPreviousWithPicker", @@ -1883,7 +1888,7 @@ { "key": "tab", "command": "-editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "escape", "command": "-inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, + "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": "f3", "command": "-list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "alt+cmd+f", "command": "-list.find.replInputFocus", @@ -1926,6 +1931,10 @@ "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "cmd+n", "command": "-workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", + "when": "agentSessionsViewerFocused" }, + { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup", + "when": "agentSessionsViewerFocused" }, { "key": "alt+cmd+enter", "command": "-workbench.action.chat.skipTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "shift+cmd+]", "command": "-workbench.action.debug.nextConsole", @@ -1960,8 +1969,6 @@ "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "up", "command": "-workbench.action.terminal.selectPrevSuggestion", "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, - { "key": "shift+cmd+l", "command": "-workbench.action.terminal.suggestLearnMore", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+space", "command": "-workbench.action.terminal.triggerSuggest", "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible" }, { "key": "shift+cmd+down", "command": "-workbench.chat.action.focusLastFocused", @@ -2012,6 +2019,7 @@ "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "shift+cmd+o", "command": "-editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, + { "key": "shift+cmd+g", "command": "-editor.action.announceCursorPosition" }, { "key": "cmd+e", "command": "-editor.action.toggleScreenReaderAccessibilityMode", "when": "accessibilityHelpIsShown" }, { "key": "shift+alt+f1", "command": "-editor.action.toggleScreenReaderAccessibilityMode" }, @@ -2032,9 +2040,9 @@ { "key": "home", "command": "-firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, { "key": "cmd+enter", "command": "-inlineChat.acceptChanges", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "cmd+enter", "command": "-inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, + "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, { "key": "end", "command": "-lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "shift+cmd+t", "command": "-mergeEditor.toggleBetweenInputs", @@ -2138,7 +2146,7 @@ { "key": "cmd+k alt+cmd+s", "command": "-git.stageSelectedRanges", "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, { "key": "shift+cmd+v", "command": "-markdown.showPreview", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "shift+alt+f12", "command": "-references-view.findReferences", "when": "editorHasReferenceProvider" }, { "key": "f11", "command": "-extension.node-debug.startWithStopOnEntry", @@ -2146,7 +2154,7 @@ { "key": "cmd+k cmd+n", "command": "-git.unstageSelectedRanges", "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, { "key": "cmd+k v", "command": "-markdown.showPreviewToSide", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "f4", "command": "-references-view.next", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "cmd+k cmd+r", "command": "-git.revertSelectedRanges", diff --git a/windows.keybindings.json b/windows.keybindings.json index 5b34694..607b2ea 100644 --- a/windows.keybindings.json +++ b/windows.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.107.1 for Windows +// Default Keybindings of Visual Studio Code 1.108.0 for Windows [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -85,9 +85,9 @@ { "key": "ctrl+l", "command": "expandLineSelection", "when": "textInputFocus" }, { "key": "ctrl+down", "command": "inlineChat.arrowOutDown", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "inlineChat.arrowOutUp", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+tab", "command": "outdent", "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" }, { "key": "ctrl+shift+z", "command": "redo" }, @@ -451,7 +451,7 @@ { "key": "escape", "command": "inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, { "key": "escape", "command": "inlineChat.discardHunkChange", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits' || inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits' && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits'" }, { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "interactive.execute", @@ -528,6 +528,8 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, + { "key": "ctrl+k f2", "command": "togglePeekWidgetFocus", + "when": "dirtyDiffVisible" }, { "key": "escape", "command": "welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment", @@ -557,7 +559,7 @@ { "key": "ctrl+right", "command": "editor.action.inlineSuggest.acceptNextWord", "when": "cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly" }, { "key": "escape", "command": "inlineChat.close", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+f8", "command": "testing.goToNextMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "shift+alt+f8", "command": "testing.goToPreviousMessage", @@ -837,19 +839,19 @@ { "key": "ctrl+i", "command": "inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "f7", "command": "inlineChat.moveToNextHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+r", "command": "inlineChat.regenerate", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "inlineChat.viewInChat", - "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inChatInput && inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, + "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", "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" }, { "key": "down", "command": "interactive.history.next", @@ -865,7 +867,7 @@ { "key": "ctrl+k ctrl+a", "command": "keybindings.editor.addKeybinding", "when": "inKeybindings && keybindingFocus" }, { "key": "escape", "command": "keybindings.editor.clearSearchResults", - "when": "inKeybindings && inKeybindingsSearch" }, + "when": "inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue" }, { "key": "ctrl+c", "command": "keybindings.editor.copyKeybindingEntry", "when": "inKeybindings && keybindingFocus && !whenFocus" }, { "key": "enter", "command": "keybindings.editor.defineKeybinding", @@ -1123,6 +1125,8 @@ "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "alt+up", "command": "quickInput.previousSeparatorWithQuickAccessFallback", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, + { "key": "space", "command": "quickInput.toggleCheckbox", + "when": "inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'" }, { "key": "ctrl+space", "command": "quickInput.toggleHover", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "space", "command": "refactorPreview.toggleCheckedState", @@ -1198,6 +1202,10 @@ "when": "inSettingsEditor && settingRowFocus" }, { "key": "shift+f9", "command": "settings.action.showContextMenu", "when": "inSettingsEditor" }, + { "key": "ctrl+insert", "command": "suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, + { "key": "ctrl+c", "command": "suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, { "key": "ctrl+; ctrl+x", "command": "testing.cancelRun" }, { "key": "ctrl+; ctrl+shift+a", "command": "testing.coverageAll" }, { "key": "ctrl+; ctrl+shift+c", "command": "testing.coverageAtCursor", @@ -1278,8 +1286,6 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+up", "command": "workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, - { "key": "f2", "command": "workbench.action.chat.renameSession", - "when": "focusedView == 'workbench.view.chat.sessions.local'" }, { "key": "delete", "command": "workbench.action.chat.restoreCheckpoint", "when": "inChat && !textInputFocus" }, { "key": "ctrl+alt+win+/", "command": "workbench.action.chat.run-in-new-chat.prompt.current", @@ -1291,7 +1297,7 @@ { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, + "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": "delete", "command": "workbench.action.chat.undoEdits", @@ -1492,8 +1498,6 @@ "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, - { "key": "ctrl+shift+,", "command": "workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+c", "command": "workbench.action.terminal.copyAndClearSelection", "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" }, { "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection", @@ -1619,9 +1623,6 @@ { "key": "ctrl+shift+6", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001e"} }, - { "key": "ctrl+/", "command": "workbench.action.terminal.sendSequence", - "when": "terminalFocus", - "args": {"text":"\u001f"} }, { "key": "ctrl+.", "command": "workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "workbench.action.terminal.sizeToContentWidth", @@ -1705,6 +1706,12 @@ "when": "workbench.scm.active" }, { "key": "ctrl+shift+f", "command": "workbench.view.search", "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, + { "key": "delete", "command": "agentSession.archive", + "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, + { "key": "f2", "command": "agentSession.rename", + "when": "agentSessionsViewerFocused && chatSessionType == 'local'" }, + { "key": "shift+delete", "command": "agentSession.unarchive", + "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker", "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "ctrl+left", "command": "breadcrumbs.focusPreviousWithPicker", @@ -1718,7 +1725,7 @@ { "key": "tab", "command": "editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "escape", "command": "inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, + "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": "f3", "command": "list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "ctrl+alt+f", "command": "list.find.replInputFocus", @@ -1757,6 +1764,10 @@ "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + { "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup", + "when": "agentSessionsViewerFocused" }, + { "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup", + "when": "agentSessionsViewerFocused" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.skipTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+pagedown", "command": "workbench.action.debug.nextConsole", @@ -1789,8 +1800,6 @@ "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "up", "command": "workbench.action.terminal.selectPrevSuggestion", "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, - { "key": "ctrl+shift+l", "command": "workbench.action.terminal.suggestLearnMore", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+space", "command": "workbench.action.terminal.triggerSuggest", "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible" }, { "key": "ctrl+shift+down", "command": "workbench.chat.action.focusLastFocused", @@ -1839,6 +1848,7 @@ "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "ctrl+shift+o", "command": "editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, + { "key": "ctrl+shift+g", "command": "editor.action.announceCursorPosition" }, { "key": "ctrl+e", "command": "editor.action.toggleScreenReaderAccessibilityMode", "when": "accessibilityHelpIsShown" }, { "key": "shift+alt+f1", "command": "editor.action.toggleScreenReaderAccessibilityMode" }, @@ -1859,9 +1869,9 @@ { "key": "home", "command": "firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, { "key": "ctrl+enter", "command": "inlineChat.acceptChanges", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+enter", "command": "inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, + "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "ctrl+shift+t", "command": "mergeEditor.toggleBetweenInputs", @@ -1949,7 +1959,7 @@ { "key": "ctrl+k ctrl+alt+s", "command": "git.stageSelectedRanges", "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, { "key": "ctrl+shift+v", "command": "markdown.showPreview", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "shift+alt+f12", "command": "references-view.findReferences", "when": "editorHasReferenceProvider" }, { "key": "f11", "command": "extension.node-debug.startWithStopOnEntry", @@ -1957,7 +1967,7 @@ { "key": "ctrl+k ctrl+n", "command": "git.unstageSelectedRanges", "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, { "key": "ctrl+k v", "command": "markdown.showPreviewToSide", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "f4", "command": "references-view.next", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "ctrl+k ctrl+r", "command": "git.revertSelectedRanges", diff --git a/windows.negative.keybindings.json b/windows.negative.keybindings.json index d5fd05a..a87714a 100644 --- a/windows.negative.keybindings.json +++ b/windows.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.107.1 for Windows +// Default Keybindings of Visual Studio Code 1.108.0 for Windows [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -85,9 +85,9 @@ { "key": "ctrl+l", "command": "-expandLineSelection", "when": "textInputFocus" }, { "key": "ctrl+down", "command": "-inlineChat.arrowOutDown", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+up", "command": "-inlineChat.arrowOutUp", - "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook' || inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatFocused && inlineChatHasNotebookInline && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+tab", "command": "-outdent", "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" }, { "key": "ctrl+shift+z", "command": "-redo" }, @@ -451,7 +451,7 @@ { "key": "escape", "command": "-inlayHints.stopReadingLineWithHint", "when": "isReadingLineWithInlayHints" }, { "key": "escape", "command": "-inlineChat.discardHunkChange", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits' || inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits' && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' && inlineChatResponseType == 'messagesAndEdits'" }, { "key": "tab", "command": "-insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "-interactive.execute", @@ -528,6 +528,8 @@ "when": "suggestWidgetVisible" }, { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", "when": "inReferenceSearchEditor || referenceSearchVisible" }, + { "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus", + "when": "dirtyDiffVisible" }, { "key": "escape", "command": "-welcome.goBack", "when": "inWelcome && activeEditor == 'gettingStartedPage'" }, { "key": "ctrl+k ctrl+alt+c", "command": "-workbench.action.addComment", @@ -557,7 +559,7 @@ { "key": "ctrl+right", "command": "-editor.action.inlineSuggest.acceptNextWord", "when": "cursorBeforeGhostText && inlineSuggestionVisible && !accessibilityModeEnabled && !editorReadonly" }, { "key": "escape", "command": "-inlineChat.close", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+f8", "command": "-testing.goToNextMessage", "when": "editorFocus && testing.isPeekVisible" }, { "key": "shift+alt+f8", "command": "-testing.goToPreviousMessage", @@ -837,19 +839,19 @@ { "key": "ctrl+i", "command": "-inlineChat.holdForSpeech", "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, { "key": "f7", "command": "-inlineChat.moveToNextHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "shift+f7", "command": "-inlineChat.moveToPreviousHunk", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+r", "command": "-inlineChat.regenerate", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+i", "command": "-inlineChat.start", - "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, + "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+z", "command": "-inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "-inlineChat.viewInChat", - "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inChatInput && inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inChatInput && inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "enter", "command": "-inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && !chatInputHasText && activeEditor == 'workbench.editor.notebook'" }, + "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", "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" }, { "key": "down", "command": "-interactive.history.next", @@ -865,7 +867,7 @@ { "key": "ctrl+k ctrl+a", "command": "-keybindings.editor.addKeybinding", "when": "inKeybindings && keybindingFocus" }, { "key": "escape", "command": "-keybindings.editor.clearSearchResults", - "when": "inKeybindings && inKeybindingsSearch" }, + "when": "inKeybindings && inKeybindingsSearch && keybindingsSearchHasValue" }, { "key": "ctrl+c", "command": "-keybindings.editor.copyKeybindingEntry", "when": "inKeybindings && keybindingFocus && !whenFocus" }, { "key": "enter", "command": "-keybindings.editor.defineKeybinding", @@ -1123,6 +1125,8 @@ "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "alt+up", "command": "-quickInput.previousSeparatorWithQuickAccessFallback", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, + { "key": "space", "command": "-quickInput.toggleCheckbox", + "when": "inQuickInput && !inputFocus && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickTree'" }, { "key": "ctrl+space", "command": "-quickInput.toggleHover", "when": "inQuickInput && quickInputType == 'quickPick' || inQuickInput && quickInputType == 'quickTree'" }, { "key": "space", "command": "-refactorPreview.toggleCheckedState", @@ -1198,6 +1202,10 @@ "when": "inSettingsEditor && settingRowFocus" }, { "key": "shift+f9", "command": "-settings.action.showContextMenu", "when": "inSettingsEditor" }, + { "key": "ctrl+insert", "command": "-suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, + { "key": "ctrl+c", "command": "-suggestWidgetCopy", + "when": "suggestWidgetDetailsFocused" }, { "key": "ctrl+; ctrl+x", "command": "-testing.cancelRun" }, { "key": "ctrl+; ctrl+shift+a", "command": "-testing.coverageAll" }, { "key": "ctrl+; ctrl+shift+c", "command": "-testing.coverageAtCursor", @@ -1278,8 +1286,6 @@ "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+up", "command": "-workbench.action.chat.previousUserPrompt", "when": "chatIsEnabled && inChat" }, - { "key": "f2", "command": "-workbench.action.chat.renameSession", - "when": "focusedView == 'workbench.view.chat.sessions.local'" }, { "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint", "when": "inChat && !textInputFocus" }, { "key": "ctrl+alt+win+/", "command": "-workbench.action.chat.run-in-new-chat.prompt.current", @@ -1291,7 +1297,7 @@ { "key": "ctrl+shift+enter", "command": "-workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput" }, { "key": "ctrl+i", "command": "-workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, + "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": "delete", "command": "-workbench.action.chat.undoEdits", @@ -1492,8 +1498,6 @@ "when": "chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || chatIsEnabled && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "escape", "command": "-workbench.action.terminal.clearSelection", "when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" }, - { "key": "ctrl+shift+,", "command": "-workbench.action.terminal.configureSuggestSettings", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+c", "command": "-workbench.action.terminal.copyAndClearSelection", "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" }, { "key": "ctrl+shift+c", "command": "-workbench.action.terminal.copySelection", @@ -1619,9 +1623,6 @@ { "key": "ctrl+shift+6", "command": "-workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001e"} }, - { "key": "ctrl+/", "command": "-workbench.action.terminal.sendSequence", - "when": "terminalFocus", - "args": {"text":"\u001f"} }, { "key": "ctrl+.", "command": "-workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "-workbench.action.terminal.sizeToContentWidth", @@ -1705,6 +1706,12 @@ "when": "workbench.scm.active" }, { "key": "ctrl+shift+f", "command": "-workbench.view.search", "when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/" }, + { "key": "delete", "command": "-agentSession.archive", + "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, + { "key": "f2", "command": "-agentSession.rename", + "when": "agentSessionsViewerFocused && chatSessionType == 'local'" }, + { "key": "shift+delete", "command": "-agentSession.unarchive", + "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", "when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" }, { "key": "ctrl+left", "command": "-breadcrumbs.focusPreviousWithPicker", @@ -1718,7 +1725,7 @@ { "key": "tab", "command": "-editor.action.inlineSuggest.jump", "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "escape", "command": "-inlineChat2.close", - "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, + "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": "f3", "command": "-list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "ctrl+alt+f", "command": "-list.find.replInputFocus", @@ -1757,6 +1764,10 @@ "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, + { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", + "when": "agentSessionsViewerFocused" }, + { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup", + "when": "agentSessionsViewerFocused" }, { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.skipTool", "when": "chatHasToolConfirmation && inChat" }, { "key": "ctrl+pagedown", "command": "-workbench.action.debug.nextConsole", @@ -1789,8 +1800,6 @@ "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "up", "command": "-workbench.action.terminal.selectPrevSuggestion", "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" }, - { "key": "ctrl+shift+l", "command": "-workbench.action.terminal.suggestLearnMore", - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+space", "command": "-workbench.action.terminal.triggerSuggest", "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && !terminalSuggestWidgetVisible" }, { "key": "ctrl+shift+down", "command": "-workbench.chat.action.focusLastFocused", @@ -1839,6 +1848,7 @@ "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "ctrl+shift+o", "command": "-editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, + { "key": "ctrl+shift+g", "command": "-editor.action.announceCursorPosition" }, { "key": "ctrl+e", "command": "-editor.action.toggleScreenReaderAccessibilityMode", "when": "accessibilityHelpIsShown" }, { "key": "shift+alt+f1", "command": "-editor.action.toggleScreenReaderAccessibilityMode" }, @@ -1859,9 +1869,9 @@ { "key": "home", "command": "-firstCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" }, { "key": "ctrl+enter", "command": "-inlineChat.acceptChanges", - "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, + "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+enter", "command": "-inlineChat2.keep", - "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor != 'workbench.editor.notebook' || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, + "when": "chatEdits.hasEditorModifications && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.isRequestInProgress && activeEditor == 'workbench.editor.notebook'" }, { "key": "end", "command": "-lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "ctrl+shift+t", "command": "-mergeEditor.toggleBetweenInputs", @@ -1949,7 +1959,7 @@ { "key": "ctrl+k ctrl+alt+s", "command": "-git.stageSelectedRanges", "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" }, { "key": "ctrl+shift+v", "command": "-markdown.showPreview", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "shift+alt+f12", "command": "-references-view.findReferences", "when": "editorHasReferenceProvider" }, { "key": "f11", "command": "-extension.node-debug.startWithStopOnEntry", @@ -1957,7 +1967,7 @@ { "key": "ctrl+k ctrl+n", "command": "-git.unstageSelectedRanges", "when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && !operationInProgress && resourceScheme == 'git'" }, { "key": "ctrl+k v", "command": "-markdown.showPreviewToSide", - "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/" }, + "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent)$/" }, { "key": "f4", "command": "-references-view.next", "when": "reference-list.hasResult && references-view.canNavigate" }, { "key": "ctrl+k ctrl+r", "command": "-git.revertSelectedRanges",