diff --git a/CHANGELOG.md b/CHANGELOG.md index 659e95f5..c7dcba22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Keyboard Macro Bata extension will be documented in this file. +### [Unreleased] +- Update: + - Updated default keybindings wrappers based on VS Code 1.96.0. [#448](https://github.com/tshino/vscode-kb-macro/pull/448) + ### [0.13.22] - 2024-12-01 - Update: - Updated default keybindings wrappers based on VS Code 1.95.1. [#434](https://github.com/tshino/vscode-kb-macro/pull/434) diff --git a/generator/default-keybindings-linux.json b/generator/default-keybindings-linux.json index 987dd53f..d8fad30c 100644 --- a/generator/default-keybindings-linux.json +++ b/generator/default-keybindings-linux.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.95.3 for Linux +// Default Keybindings of Visual Studio Code 1.96.0 for Linux // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -125,6 +125,8 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, +{ "key": "escape", "command": "inlineChat.hideHint", + "when": "inlineChatShowingHint" }, { "key": "ctrl+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", @@ -142,9 +144,9 @@ { "key": "ctrl+up", "command": "chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, { "key": "alt+f5", "command": "chatEditor.action.navigateNext", - "when": "chat.hasEditorModifications && editorFocus" }, + "when": "chat.hasEditorModifications && editorFocus || chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", - "when": "chat.hasEditorModifications && editorFocus" }, + "when": "chat.hasEditorModifications && editorFocus || chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -458,11 +460,11 @@ { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "interactive.execute", - "when": "activeEditor == 'workbench.editor.interactive'" }, + "when": "isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "shift+enter", "command": "interactive.execute", - "when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, + "when": "config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "enter", "command": "interactive.execute", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, + "when": "isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, { "key": "escape", "command": "notebook.cell.chat.discard", "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "pagedown", "command": "notebook.cell.cursorPageDown", @@ -474,7 +476,7 @@ { "key": "shift+pageup", "command": "notebook.cell.cursorPageUpSelect", "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "meta+enter", "command": "notebook.cell.execute", - "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", @@ -496,11 +498,15 @@ { "key": "ctrl+alt+f", "command": "repl.action.find", "when": "inDebugRepl || inDebugRepl && focusedView == 'workbench.panel.repl.view'" }, { "key": "ctrl+enter", "command": "repl.execute", - "when": "activeEditor == 'workbench.editor.repl'" }, + "when": "isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "shift+enter", "command": "repl.execute", - "when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, + "when": "config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "enter", "command": "repl.execute", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, + "when": "isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, +{ "key": "alt+end alt+end", "command": "repl.focusLastItemExecuted", + "when": "isCompositeNotebook && mostRecentReplEditor || mostRecentReplEditor && !notebookCellListFocused" }, +{ "key": "ctrl+down", "command": "repl.input.focus", + "when": "isCompositeNotebook && notebookEditorFocused" }, { "key": "ctrl+shift+r", "command": "rerunSearchEditorSearch", "when": "inSearchEditor" }, { "key": "escape", "command": "search.action.focusQueryEditorWidget", @@ -526,19 +532,21 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent", "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editor' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", "when": "editorTextFocus && !textCompareEditorActive" }, +{ "key": "enter", "command": "workbench.action.edits.submit", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, { "key": "shift+escape", "command": "workbench.action.hideComment", - "when": "commentEditorFocused" }, + "when": "commentEditorFocused || commentFocused" }, { "key": "escape", "command": "workbench.action.hideComment", - "when": "commentEditorFocused" }, + "when": "commentEditorFocused || commentFocused" }, { "key": "ctrl+right", "command": "editor.action.inlineSuggest.acceptNextWord", "when": "inlineSuggestionVisible && !editorReadonly" }, { "key": "escape", "command": "inlineChat.close", @@ -696,13 +704,19 @@ { "key": "ctrl+down", "command": "chat.action.focus", "when": "inChat && inChatInput && quickChatHasFocus" }, { "key": "ctrl+c", "command": "chat.inlineResourceAnchor.copyResource", - "when": "chatAnchorResource" }, + "when": "chatAttachmentResource" }, { "key": "ctrl+enter", "command": "chatEditing.acceptAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, { "key": "ctrl+backspace", "command": "chatEditing.discardAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, { "key": "ctrl+s", "command": "chatEditing.saveAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, +{ "key": "ctrl+enter", "command": "chatEditor.action.accept", + "when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, +{ "key": "ctrl+backspace", "command": "chatEditor.action.reject", + "when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, +{ "key": "ctrl+shift+backspace", "command": "chatEditor.action.undoHunk", + "when": "editorFocus && hasUndecidedChatEditingResource && !chatSessionRequestInProgress" }, { "key": "escape", "command": "closeReplaceInFilesWidget", "when": "replaceInputBoxFocus && searchViewletVisible" }, { "key": "escape", "command": "commentsClearFilterText", @@ -768,9 +782,8 @@ { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding", "when": "resource == 'vscode-userdata:/home/runner/work/vscode-kb-macro/vscode-kb-macro/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", - "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || cursorAtInlineEdit && inlineEditIsVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || cursorAtInlineEdit && inlineEditIsVisible && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, -{ "key": "ctrl+enter", "command": "editor.action.inlineSuggest.commit", - "when": "editorTextFocus && inlineEditIsVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || editorTextFocus && inlineEditIsVisible && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, +{ "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, { "key": "shift+alt+d", "command": "editor.detectLanguage", @@ -821,10 +834,10 @@ "when": "inlineChatHasProvider && inlineChatVisible" }, { "key": "ctrl+r", "command": "inlineChat.regenerate", "when": "inlineChatHasProvider && inlineChatVisible" }, -{ "key": "ctrl+k i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" }, { "key": "ctrl+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" }, + "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput" }, +{ "key": "ctrl+k i", "command": "inlineChat.startWithCurrentLine", + "when": "inlineChatHasProvider && !editorReadonly && !inlineChatVisible" }, { "key": "ctrl+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "inlineChat.viewInChat", @@ -958,15 +971,15 @@ { "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", - "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, + "when": "notebookCellListFocused && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput", "when": "notebookCellInputIsCollapsed && notebookCellListFocused" }, { "key": "ctrl+k t", "command": "notebook.cell.expandCellOutput", "when": "notebookCellListFocused && notebookCellOutputIsCollapsed" }, -{ "key": "ctrl+shift+down", "command": "notebook.cell.focusInOutput", - "when": "notebookCellHasOutputs && notebookEditorFocused" }, { "key": "ctrl+down", "command": "notebook.cell.focusInOutput", "when": "isWindows && notebookCellHasOutputs && notebookEditorFocused && !isCompositeNotebook" }, +{ "key": "ctrl+shift+down", "command": "notebook.cell.focusInOutput", + "when": "notebookCellHasOutputs && notebookEditorFocused" }, { "key": "ctrl+shift+up", "command": "notebook.cell.focusOutOutput", "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "ctrl+shift+enter", "command": "notebook.cell.insertCodeCellAbove", @@ -1015,6 +1028,8 @@ "when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "notebook.hideFind", "when": "notebookEditorFocused && notebookFindWidgetFocused" }, +{ "key": "ctrl+shift+l", "command": "notebook.selectAllFindMatches", + "when": "config.notebook.multiCursor.enabled && notebookFindWidgetFocused || config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'" }, { "key": "right", "command": "notebook.unfold", "when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+shift+]", "command": "notebook.unfold", @@ -1228,12 +1243,14 @@ "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation != 'editing-session'" }, +{ "key": "ctrl+l", "command": "workbench.action.chat.newEditSession", + "when": "chatEditingParticipantRegistered && chatIsEnabled && inChat && chatLocation == 'editing-session'" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", "command": "workbench.action.chat.open", - "when": "chatPanelParticipantRegistered" }, + "when": "chatPanelParticipantRegistered || chatSetupInstalled" }, { "key": "ctrl+shift+alt+i", "command": "workbench.action.chat.openEditSession", "when": "chatEditingParticipantRegistered && chatIsEnabled && view != 'workbench.panel.chat.view.edits'" }, { "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock", @@ -1243,13 +1260,13 @@ { "key": "delete", "command": "workbench.action.chat.remove", "when": "inChat && !inChatInput && chatLocation != 'editing-session'" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.sendToChatEditing", - "when": "chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session'" }, + "when": "chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session' && chatLocation != 'editor'" }, { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", - "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + "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", "when": "inChat && !inChatInput && chatLocation == 'editing-session'" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, @@ -1413,10 +1430,8 @@ { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorUp" }, { "key": "ctrl+shift+b", "command": "workbench.action.tasks.build", "when": "taskCommandsRegistered" }, -{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close", - "when": "terminalChatFocus && terminalChatVisible" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", - "when": "terminalChatFocus && terminalChatVisible" }, + "when": "terminalChatFocus && terminalChatVisible || terminalChatVisible && terminalFocus" }, { "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", "when": "terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", @@ -1425,12 +1440,6 @@ "when": "terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", "when": "terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, -{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest", - "when": "terminalChatFocus && terminalHasBeenCreated && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest || terminalChatFocus && terminalProcessSupported && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest" }, -{ "key": "down", "command": "workbench.action.terminal.chat.nextFromHistory", - "when": "terminalChatFocus && !suggestWidgetVisible" }, -{ "key": "up", "command": "workbench.action.terminal.chat.previousFromHistory", - "when": "terminalChatFocus && !suggestWidgetVisible" }, { "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runCommand", "when": "terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runFirstCommand", @@ -1553,9 +1562,6 @@ { "key": "ctrl+/", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001f"} }, -{ "key": "ctrl+space", "command": "workbench.action.terminal.sendSequence", - "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", - "args": {"text":"\u001b[24~e"} }, { "key": "ctrl+.", "command": "workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "workbench.action.terminal.sizeToContentWidth", @@ -1610,6 +1616,8 @@ "when": "workbench.explorer.openEditorsView.active" }, { "key": "ctrl+alt+i", "command": "workbench.panel.chat", "when": "workbench.panel.chat.view.copilot.active" }, +{ "key": "ctrl+shift+alt+i", "command": "workbench.panel.chatEditing", + "when": "workbench.panel.chat.view.edits.active" }, { "key": "escape", "command": "workbench.statusBar.clearFocus", "when": "statusBarFocused" }, { "key": "home", "command": "workbench.statusBar.focusFirst", @@ -1641,7 +1649,9 @@ { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, { "key": "tab", "command": "editor.action.inlineSuggest.jump", - "when": "inlineEditIsVisible && !cursorAtInlineEdit && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, +{ "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine", + "when": "inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible" }, { "key": "f3", "command": "list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "ctrl+alt+f", "command": "list.find.replInputFocus", @@ -1678,6 +1688,8 @@ "when": "terminalFocus && terminalHasBeenCreated" }, { "key": "ctrl+shift+g", "command": "workbench.action.terminal.openDetectedLink", "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'" }, +{ "key": "ctrl+space", "command": "workbench.action.terminal.requestCompletions", + "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && terminalShellIntegrationEnabled" }, { "key": "pagedown", "command": "workbench.action.terminal.selectNextPageSuggestion", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "down", "command": "workbench.action.terminal.selectNextSuggestion", @@ -1700,16 +1712,16 @@ "when": "breakpointsFocused && !inputFocus" }, { "key": "ctrl+up", "command": "interactive.history.focus", "when": "isCompositeNotebook && !notebookEditorFocused && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'" }, -{ "key": "ctrl+down", "command": "interactive.input.focus", - "when": "isCompositeNotebook && notebookEditorFocused" }, { "key": "escape", "command": "notebook.cell.quitEdit", "when": "notebookEditorFocused && notebookOutputFocused" }, +{ "key": "alt+home alt+home", "command": "repl.input.focus", + "when": "mostRecentReplEditor" }, { "key": "ctrl+v", "command": "filesExplorer.paste", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "shift+delete", "command": "deleteFile", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "delete", "command": "deleteFile", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus" }, { "key": "ctrl+shift+[IntlBackslash]", "command": "editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "ctrl+shift+.", "command": "editor.action.accessibleViewGoToSymbol", @@ -1730,7 +1742,7 @@ { "key": "ctrl+c", "command": "filesExplorer.copy", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus" }, { "key": "ctrl+x", "command": "filesExplorer.cut", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "space", "command": "filesExplorer.openFilePreserveFocus", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "home", "command": "firstCompressedFolder", @@ -1740,7 +1752,7 @@ { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "delete", "command": "moveFileToTrash", - "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "right", "command": "nextCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "left", "command": "previousCompressedFolder", @@ -1804,7 +1816,7 @@ { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", - "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, { "key": "escape", "command": "workbench.action.chat.stopReadChatItemAloud", "when": "scopedChatSynthesisInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", @@ -1840,7 +1852,7 @@ { "key": "ctrl+i", "command": "workbench.action.terminal.chat.start", "when": "terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+enter", "command": "chat.inlineResourceAnchor.openToSide", - "when": "chatAnchorResource" }, + "when": "chatAttachmentResource" }, { "key": "ctrl+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1882,12 +1894,13 @@ // - chat.inlineSymbolAnchor.goToTypeDefinitions // - chat.openFileSnapshot // - chatEditing.acceptFile +// - chatEditing.addFileToWorkingSet +// - chatEditing.clearWorkingSet // - chatEditing.discardFile // - chatEditing.openFileInDiff // - chatEditing.removeFileFromWorkingSet // - chatEditing.viewChanges -// - chatEditor.action.accept -// - chatEditor.action.reject +// - chatEditor.action.diffHunk // - cleanSearchEditorState // - closeReferenceSearchEditor // - codelens.showLensesInCurrentLine @@ -2006,6 +2019,8 @@ // - editor.action.inlineSuggest.dev.extractRepro // - editor.action.inlineSuggest.toggleAlwaysShowToolbar // - editor.action.inlineSuggest.trigger +// - editor.action.inlineSuggest.triggerInlineEdit +// - editor.action.inlineSuggest.triggerInlineEditExplicit // - editor.action.insertSnippet // - editor.action.inspectTMScopes // - editor.action.joinLines @@ -2177,10 +2192,13 @@ // - git.api.getRemoteSources // - git.api.getRepositories // - git.api.getRepositoryState +// - git.blameStatusBarItem.copyContent +// - git.blameStatusBarItem.viewCommit // - git.branch // - git.branchFrom // - git.checkout // - git.checkoutDetached +// - git.checkoutRef // - git.checkoutRefDetached // - git.cherryPick // - git.cherryPickAbort @@ -2324,10 +2342,11 @@ // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint // - inlineChat.configure -// - inlineChat.startWithCurrentLine +// - inlineChat.showHint // - inlineChat.toggleDiff // - interactive.acceptChanges // - interactive.input.clear +// - interactive.input.focus // - interactiveEditor.start // - ipynb.cleanInvalidImageAttachment // - ipynb.newUntitledIpynb @@ -2427,6 +2446,8 @@ // - notebook.cell.cancelExecution // - notebook.cell.changeLanguage // - notebook.cell.chat.close +// - notebook.cell.chat.explainError +// - notebook.cell.chat.fixError // - notebook.cell.chat.restore // - notebook.cell.chat.startAtTop // - notebook.cell.chat.stop @@ -2658,7 +2679,9 @@ // - testing.sortByLocation // - testing.sortByStatus // - testing.startContinuousRun +// - testing.startContinuousRunFromExtension // - testing.stopContinuousRun +// - testing.stopContinuousRunFromExtension // - testing.toggleContinuousRunForTest // - testing.unhideAllTests // - testing.unhideTest @@ -2675,8 +2698,10 @@ // - toggle.window.commandCenter // - toggle.window.customTitleBarVisibility // - toggle.window.customTitleBarVisibility.windowed +// - toggle.window.titleBarStyle // - toggle.workbench.editor.editorActionsLocation // - toggle.workbench.layoutControl.enabled +// - toggle.workbench.navigationControl.enabled // - tree.toggleStickyScroll // - tunnel-forwarding.restart // - tunnel-forwarding.showLog @@ -2725,7 +2750,6 @@ // - workbench.action.chat.addParticipant // - workbench.action.chat.addSelectedFilesToWorkingSet // - workbench.action.chat.addToChatAction -// - workbench.action.chat.applyAll // - workbench.action.chat.applyCompareEdits // - workbench.action.chat.assignSelectedAgent // - workbench.action.chat.attachFile @@ -2739,31 +2763,35 @@ // - workbench.action.chat.done // - workbench.action.chat.editing.attachFiles // - workbench.action.chat.export +// - workbench.action.chat.hideSetup // - workbench.action.chat.history // - workbench.action.chat.import // - workbench.action.chat.inlineVoiceChat // - workbench.action.chat.insertIntoNewFile // - workbench.action.chat.insertIntoNotebook // - workbench.action.chat.installProviderForVoiceChat -// - workbench.action.chat.installWithPrompt -// - workbench.action.chat.installWithoutPrompt // - workbench.action.chat.learnMore // - workbench.action.chat.logInputHistory +// - workbench.action.chat.managePlan +// - workbench.action.chat.manageSettings // - workbench.action.chat.markHelpful // - workbench.action.chat.markUnhelpful -// - workbench.action.chat.newEditSession // - workbench.action.chat.openInEditor // - workbench.action.chat.openInNewWindow // - workbench.action.chat.openInSidebar +// - workbench.action.chat.openQuotaExceededDialog // - workbench.action.chat.quickVoiceChat // - workbench.action.chat.readChatResponseAloud // - workbench.action.chat.redoEdit // - workbench.action.chat.reportIssueForBug -// - workbench.action.chat.restoreFile // - workbench.action.chat.retry // - workbench.action.chat.selectAndInsertFile +// - workbench.action.chat.selectAndInsertSym +// - workbench.action.chat.showExtensionsUsingCopilot // - workbench.action.chat.startEditing +// - workbench.action.chat.triggerSetup // - workbench.action.chat.undoEdit +// - workbench.action.chat.upgradePlan // - workbench.action.chat.voiceChatInChatView // - workbench.action.chatEditor.newChat // - workbench.action.clearCommandHistory @@ -2833,6 +2861,9 @@ // - workbench.action.editorLayoutTwoColumnsBottom // - workbench.action.editorLayoutTwoRows // - workbench.action.editorLayoutTwoRowsRight +// - workbench.action.edits.addFilesFromReferences +// - workbench.action.edits.attachFile +// - workbench.action.edits.attachSelection // - workbench.action.evenEditorWidths // - workbench.action.expandAllComments // - workbench.action.expandUnresolvedComments @@ -2934,6 +2965,7 @@ // - workbench.action.newGroupBelow // - workbench.action.newGroupLeft // - workbench.action.newGroupRight +// - workbench.action.nextAuxiliaryBarView // - workbench.action.nextPanelView // - workbench.action.nextSideBarView // - workbench.action.openAccessibilitySettings @@ -3000,6 +3032,7 @@ // - workbench.action.output.show.terminal // - workbench.action.output.show.userDataSync // - workbench.action.output.show.vscode.git.Git +// - workbench.action.output.show.vscode.github-authentication.GitHub Authentication // - workbench.action.output.show.vscode.github.GitHub // - workbench.action.pauseSocketWriting // - workbench.action.populateFileFromSnippet @@ -3008,6 +3041,7 @@ // - workbench.action.positionPanelRight // - workbench.action.positionPanelTop // - workbench.action.previewColorTheme +// - workbench.action.previousAuxiliaryBarView // - workbench.action.previousPanelView // - workbench.action.previousSideBarView // - workbench.action.problems.focus @@ -3094,8 +3128,6 @@ // - workbench.action.terminal.changeColorActiveTab // - workbench.action.terminal.changeIcon // - workbench.action.terminal.changeIconActiveTab -// - workbench.action.terminal.chat.cancel -// - workbench.action.terminal.chat.discard // - workbench.action.terminal.chat.viewInChat // - workbench.action.terminal.clear // - workbench.action.terminal.clearPreviousSessionHistory @@ -3210,8 +3242,6 @@ // - workbench.actions.workbench.panel.markers.view.toggleExcludedFiles // - workbench.actions.workbench.panel.markers.view.toggleInfos // - workbench.actions.workbench.panel.markers.view.toggleWarnings -// - workbench.chat.movedView.welcomeView.focus -// - workbench.chat.movedView.welcomeView.resetViewLocation // - workbench.debug.action.copyAll // - workbench.debug.action.focusBreakpointsView // - workbench.debug.action.focusCallStackView @@ -3275,10 +3305,13 @@ // - workbench.extensions.action.configureWorkspaceRecommendedExtensions // - workbench.extensions.action.copyExtension // - workbench.extensions.action.copyExtensionId +// - workbench.extensions.action.copyLink // - workbench.extensions.action.debugExtensionHost // - workbench.extensions.action.disableAll // - workbench.extensions.action.disableAllWorkspace // - workbench.extensions.action.disableAutoUpdate +// - workbench.extensions.action.download +// - workbench.extensions.action.downloadPreRelease // - workbench.extensions.action.enableAll // - workbench.extensions.action.enableAllWorkspace // - workbench.extensions.action.enableAutoUpdate @@ -3355,10 +3388,7 @@ // - workbench.panel.chat.view.copilot.resetViewLocation // - workbench.panel.chat.view.edits.focus // - workbench.panel.chat.view.edits.resetViewLocation -// - workbench.panel.chatEditing // - workbench.panel.chatEditing.resetViewContainerLocation -// - workbench.panel.chatSidebar -// - workbench.panel.chatSidebar.resetViewContainerLocation // - workbench.panel.markers.resetViewContainerLocation // - workbench.panel.markers.view.focus // - workbench.panel.markers.view.removeView diff --git a/generator/default-keybindings-mac.json b/generator/default-keybindings-mac.json index 66a161c5..fce9cf45 100644 --- a/generator/default-keybindings-mac.json +++ b/generator/default-keybindings-mac.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.95.3 for macOS +// Default Keybindings of Visual Studio Code 1.96.0 for macOS // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -175,6 +175,8 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, +{ "key": "escape", "command": "inlineChat.hideHint", + "when": "inlineChatShowingHint" }, { "key": "cmd+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", @@ -193,9 +195,9 @@ { "key": "cmd+up", "command": "chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, { "key": "alt+f5", "command": "chatEditor.action.navigateNext", - "when": "chat.hasEditorModifications && editorFocus" }, + "when": "chat.hasEditorModifications && editorFocus || chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", - "when": "chat.hasEditorModifications && editorFocus" }, + "when": "chat.hasEditorModifications && editorFocus || chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -530,11 +532,11 @@ { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "cmd+enter", "command": "interactive.execute", - "when": "activeEditor == 'workbench.editor.interactive'" }, + "when": "isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "shift+enter", "command": "interactive.execute", - "when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, + "when": "config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "enter", "command": "interactive.execute", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, + "when": "isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, { "key": "escape", "command": "notebook.cell.chat.discard", "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "pagedown", "command": "notebook.cell.cursorPageDown", @@ -546,7 +548,7 @@ { "key": "shift+pageup", "command": "notebook.cell.cursorPageUpSelect", "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "ctrl+enter", "command": "notebook.cell.execute", - "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", @@ -568,11 +570,15 @@ { "key": "alt+cmd+f", "command": "repl.action.find", "when": "inDebugRepl || inDebugRepl && focusedView == 'workbench.panel.repl.view'" }, { "key": "cmd+enter", "command": "repl.execute", - "when": "activeEditor == 'workbench.editor.repl'" }, + "when": "isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "shift+enter", "command": "repl.execute", - "when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, + "when": "config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "enter", "command": "repl.execute", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, + "when": "isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, +{ "key": "alt+end alt+end", "command": "repl.focusLastItemExecuted", + "when": "isCompositeNotebook && mostRecentReplEditor || mostRecentReplEditor && !notebookCellListFocused" }, +{ "key": "cmd+down", "command": "repl.input.focus", + "when": "isCompositeNotebook && notebookEditorFocused" }, { "key": "shift+cmd+r", "command": "rerunSearchEditorSearch", "when": "inSearchEditor" }, { "key": "escape", "command": "search.action.focusQueryEditorWidget", @@ -598,19 +604,21 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session'" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitSecondaryAgent", "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editor' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", "when": "editorTextFocus && !textCompareEditorActive" }, +{ "key": "enter", "command": "workbench.action.edits.submit", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, { "key": "shift+escape", "command": "workbench.action.hideComment", - "when": "commentEditorFocused" }, + "when": "commentEditorFocused || commentFocused" }, { "key": "escape", "command": "workbench.action.hideComment", - "when": "commentEditorFocused" }, + "when": "commentEditorFocused || commentFocused" }, { "key": "cmd+right", "command": "editor.action.inlineSuggest.acceptNextWord", "when": "inlineSuggestionVisible && !editorReadonly" }, { "key": "escape", "command": "inlineChat.close", @@ -774,13 +782,19 @@ { "key": "cmd+down", "command": "chat.action.focus", "when": "inChat && inChatInput && quickChatHasFocus" }, { "key": "cmd+c", "command": "chat.inlineResourceAnchor.copyResource", - "when": "chatAnchorResource" }, + "when": "chatAttachmentResource" }, { "key": "cmd+enter", "command": "chatEditing.acceptAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, { "key": "cmd+backspace", "command": "chatEditing.discardAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, { "key": "cmd+s", "command": "chatEditing.saveAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, +{ "key": "cmd+enter", "command": "chatEditor.action.accept", + "when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, +{ "key": "cmd+backspace", "command": "chatEditor.action.reject", + "when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, +{ "key": "shift+cmd+backspace", "command": "chatEditor.action.undoHunk", + "when": "editorFocus && hasUndecidedChatEditingResource && !chatSessionRequestInProgress" }, { "key": "escape", "command": "closeReplaceInFilesWidget", "when": "replaceInputBoxFocus && searchViewletVisible" }, { "key": "escape", "command": "commentsClearFilterText", @@ -843,9 +857,8 @@ { "key": "cmd+k cmd+k", "command": "editor.action.defineKeybinding", "when": "resource == 'vscode-userdata:/Users/runner/work/vscode-kb-macro/vscode-kb-macro/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", - "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || cursorAtInlineEdit && inlineEditIsVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || cursorAtInlineEdit && inlineEditIsVisible && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, -{ "key": "cmd+enter", "command": "editor.action.inlineSuggest.commit", - "when": "editorTextFocus && inlineEditIsVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || editorTextFocus && inlineEditIsVisible && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, +{ "key": "alt+cmd+o", "command": "editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, { "key": "shift+alt+d", "command": "editor.detectLanguage", @@ -896,10 +909,10 @@ "when": "inlineChatHasProvider && inlineChatVisible" }, { "key": "cmd+r", "command": "inlineChat.regenerate", "when": "inlineChatHasProvider && inlineChatVisible" }, -{ "key": "cmd+k i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" }, { "key": "cmd+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" }, + "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput" }, +{ "key": "cmd+k i", "command": "inlineChat.startWithCurrentLine", + "when": "inlineChatHasProvider && !editorReadonly && !inlineChatVisible" }, { "key": "cmd+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "cmd+down", "command": "inlineChat.viewInChat", @@ -1047,15 +1060,15 @@ { "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", - "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, + "when": "notebookCellListFocused && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "cmd+k cmd+c", "command": "notebook.cell.expandCellInput", "when": "notebookCellInputIsCollapsed && notebookCellListFocused" }, { "key": "cmd+k t", "command": "notebook.cell.expandCellOutput", "when": "notebookCellListFocused && notebookCellOutputIsCollapsed" }, -{ "key": "ctrl+cmd+down", "command": "notebook.cell.focusInOutput", - "when": "notebookCellHasOutputs && notebookEditorFocused" }, { "key": "cmd+down", "command": "notebook.cell.focusInOutput", "when": "isWindows && notebookCellHasOutputs && notebookEditorFocused && !isCompositeNotebook" }, +{ "key": "ctrl+cmd+down", "command": "notebook.cell.focusInOutput", + "when": "notebookCellHasOutputs && notebookEditorFocused" }, { "key": "ctrl+cmd+up", "command": "notebook.cell.focusOutOutput", "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "shift+cmd+enter", "command": "notebook.cell.insertCodeCellAbove", @@ -1108,6 +1121,8 @@ "when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "notebook.hideFind", "when": "notebookEditorFocused && notebookFindWidgetFocused" }, +{ "key": "shift+cmd+l", "command": "notebook.selectAllFindMatches", + "when": "config.notebook.multiCursor.enabled && notebookFindWidgetFocused || config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'" }, { "key": "right", "command": "notebook.unfold", "when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" }, { "key": "alt+cmd+]", "command": "notebook.unfold", @@ -1360,12 +1375,14 @@ "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation != 'editing-session'" }, +{ "key": "ctrl+l", "command": "workbench.action.chat.newEditSession", + "when": "chatEditingParticipantRegistered && chatIsEnabled && inChat && chatLocation == 'editing-session'" }, { "key": "alt+cmd+pagedown", "command": "workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "cmd+f9", "command": "workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+cmd+i", "command": "workbench.action.chat.open", - "when": "chatPanelParticipantRegistered" }, + "when": "chatPanelParticipantRegistered || chatSetupInstalled" }, { "key": "shift+cmd+i", "command": "workbench.action.chat.openEditSession", "when": "chatEditingParticipantRegistered && chatIsEnabled && view != 'workbench.panel.chat.view.edits'" }, { "key": "alt+cmd+pageup", "command": "workbench.action.chat.previousCodeBlock", @@ -1375,13 +1392,13 @@ { "key": "cmd+backspace", "command": "workbench.action.chat.remove", "when": "inChat && !inChatInput && chatLocation != 'editing-session'" }, { "key": "alt+cmd+enter", "command": "workbench.action.chat.sendToChatEditing", - "when": "chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session'" }, + "when": "chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session' && chatLocation != 'editor'" }, { "key": "shift+cmd+enter", "command": "workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "cmd+i", "command": "workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "cmd+i", "command": "workbench.action.chat.stopListeningAndSubmit", - "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + "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", "when": "inChat && !inChatInput && chatLocation == 'editing-session'" }, { "key": "cmd+w", "command": "workbench.action.closeActiveEditor" }, @@ -1546,10 +1563,8 @@ { "key": "ctrl+w", "command": "workbench.action.switchWindow" }, { "key": "shift+cmd+b", "command": "workbench.action.tasks.build", "when": "taskCommandsRegistered" }, -{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close", - "when": "terminalChatFocus && terminalChatVisible" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", - "when": "terminalChatFocus && terminalChatVisible" }, + "when": "terminalChatFocus && terminalChatVisible || terminalChatVisible && terminalFocus" }, { "key": "alt+cmd+enter", "command": "workbench.action.terminal.chat.insertCommand", "when": "terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", @@ -1558,12 +1573,6 @@ "when": "terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", "when": "terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, -{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest", - "when": "terminalChatFocus && terminalHasBeenCreated && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest || terminalChatFocus && terminalProcessSupported && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest" }, -{ "key": "down", "command": "workbench.action.terminal.chat.nextFromHistory", - "when": "terminalChatFocus && !suggestWidgetVisible" }, -{ "key": "up", "command": "workbench.action.terminal.chat.previousFromHistory", - "when": "terminalChatFocus && !suggestWidgetVisible" }, { "key": "cmd+enter", "command": "workbench.action.terminal.chat.runCommand", "when": "terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "cmd+enter", "command": "workbench.action.terminal.chat.runFirstCommand", @@ -1711,9 +1720,6 @@ { "key": "ctrl+/", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001f"} }, -{ "key": "ctrl+space", "command": "workbench.action.terminal.sendSequence", - "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", - "args": {"text":"\u001b[24~e"} }, { "key": "cmd+.", "command": "workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "workbench.action.terminal.sizeToContentWidth", @@ -1773,6 +1779,8 @@ "when": "workbench.explorer.openEditorsView.active" }, { "key": "ctrl+cmd+i", "command": "workbench.panel.chat", "when": "workbench.panel.chat.view.copilot.active" }, +{ "key": "shift+cmd+i", "command": "workbench.panel.chatEditing", + "when": "workbench.panel.chat.view.edits.active" }, { "key": "escape", "command": "workbench.statusBar.clearFocus", "when": "statusBarFocused" }, { "key": "home", "command": "workbench.statusBar.focusFirst", @@ -1804,7 +1812,9 @@ { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, { "key": "tab", "command": "editor.action.inlineSuggest.jump", - "when": "inlineEditIsVisible && !cursorAtInlineEdit && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, +{ "key": "cmd+i", "command": "inlineChat.startWithCurrentLine", + "when": "inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible" }, { "key": "f3", "command": "list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "alt+cmd+f", "command": "list.find.replInputFocus", @@ -1843,6 +1853,8 @@ "when": "terminalFocus && terminalHasBeenCreated" }, { "key": "shift+cmd+g", "command": "workbench.action.terminal.openDetectedLink", "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'" }, +{ "key": "ctrl+space", "command": "workbench.action.terminal.requestCompletions", + "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && terminalShellIntegrationEnabled" }, { "key": "pagedown", "command": "workbench.action.terminal.selectNextPageSuggestion", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "down", "command": "workbench.action.terminal.selectNextSuggestion", @@ -1867,16 +1879,16 @@ "when": "breakpointsFocused && !inputFocus" }, { "key": "cmd+up", "command": "interactive.history.focus", "when": "isCompositeNotebook && !notebookEditorFocused && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'" }, -{ "key": "cmd+down", "command": "interactive.input.focus", - "when": "isCompositeNotebook && notebookEditorFocused" }, { "key": "escape", "command": "notebook.cell.quitEdit", "when": "notebookEditorFocused && notebookOutputFocused" }, +{ "key": "alt+home alt+home", "command": "repl.input.focus", + "when": "mostRecentReplEditor" }, { "key": "cmd+v", "command": "filesExplorer.paste", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "alt+cmd+backspace", "command": "deleteFile", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "cmd+backspace", "command": "deleteFile", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus" }, { "key": "shift+cmd+.", "command": "editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "shift+cmd+o", "command": "editor.action.accessibleViewGoToSymbol", @@ -1895,7 +1907,7 @@ { "key": "cmd+c", "command": "filesExplorer.copy", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus" }, { "key": "cmd+x", "command": "filesExplorer.cut", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "space", "command": "filesExplorer.openFilePreserveFocus", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "home", "command": "firstCompressedFolder", @@ -1905,9 +1917,9 @@ { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "delete", "command": "moveFileToTrash", - "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "cmd+backspace", "command": "moveFileToTrash", - "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "right", "command": "nextCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "left", "command": "previousCompressedFolder", @@ -1989,7 +2001,7 @@ { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", - "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, { "key": "escape", "command": "workbench.action.chat.stopReadChatItemAloud", "when": "scopedChatSynthesisInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", @@ -2025,7 +2037,7 @@ { "key": "cmd+i", "command": "workbench.action.terminal.chat.start", "when": "terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+enter", "command": "chat.inlineResourceAnchor.openToSide", - "when": "chatAnchorResource" }, + "when": "chatAttachmentResource" }, { "key": "cmd+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -2070,12 +2082,13 @@ // - chat.inlineSymbolAnchor.goToTypeDefinitions // - chat.openFileSnapshot // - chatEditing.acceptFile +// - chatEditing.addFileToWorkingSet +// - chatEditing.clearWorkingSet // - chatEditing.discardFile // - chatEditing.openFileInDiff // - chatEditing.removeFileFromWorkingSet // - chatEditing.viewChanges -// - chatEditor.action.accept -// - chatEditor.action.reject +// - chatEditor.action.diffHunk // - cleanSearchEditorState // - closeReferenceSearchEditor // - codelens.showLensesInCurrentLine @@ -2182,6 +2195,8 @@ // - editor.action.inlineSuggest.dev.extractRepro // - editor.action.inlineSuggest.toggleAlwaysShowToolbar // - editor.action.inlineSuggest.trigger +// - editor.action.inlineSuggest.triggerInlineEdit +// - editor.action.inlineSuggest.triggerInlineEditExplicit // - editor.action.insertSnippet // - editor.action.inspectTMScopes // - editor.action.measureExtHostLatency @@ -2350,10 +2365,13 @@ // - git.api.getRemoteSources // - git.api.getRepositories // - git.api.getRepositoryState +// - git.blameStatusBarItem.copyContent +// - git.blameStatusBarItem.viewCommit // - git.branch // - git.branchFrom // - git.checkout // - git.checkoutDetached +// - git.checkoutRef // - git.checkoutRefDetached // - git.cherryPick // - git.cherryPickAbort @@ -2497,10 +2515,11 @@ // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint // - inlineChat.configure -// - inlineChat.startWithCurrentLine +// - inlineChat.showHint // - inlineChat.toggleDiff // - interactive.acceptChanges // - interactive.input.clear +// - interactive.input.focus // - interactiveEditor.start // - ipynb.cleanInvalidImageAttachment // - ipynb.newUntitledIpynb @@ -2599,6 +2618,8 @@ // - notebook.cell.cancelExecution // - notebook.cell.changeLanguage // - notebook.cell.chat.close +// - notebook.cell.chat.explainError +// - notebook.cell.chat.fixError // - notebook.cell.chat.restore // - notebook.cell.chat.startAtTop // - notebook.cell.chat.stop @@ -2829,7 +2850,9 @@ // - testing.sortByLocation // - testing.sortByStatus // - testing.startContinuousRun +// - testing.startContinuousRunFromExtension // - testing.stopContinuousRun +// - testing.stopContinuousRunFromExtension // - testing.toggleContinuousRunForTest // - testing.unhideAllTests // - testing.unhideTest @@ -2848,6 +2871,7 @@ // - toggle.window.customTitleBarVisibility.windowed // - toggle.workbench.editor.editorActionsLocation // - toggle.workbench.layoutControl.enabled +// - toggle.workbench.navigationControl.enabled // - tree.toggleStickyScroll // - tunnel-forwarding.restart // - tunnel-forwarding.showLog @@ -2896,7 +2920,6 @@ // - workbench.action.chat.addParticipant // - workbench.action.chat.addSelectedFilesToWorkingSet // - workbench.action.chat.addToChatAction -// - workbench.action.chat.applyAll // - workbench.action.chat.applyCompareEdits // - workbench.action.chat.assignSelectedAgent // - workbench.action.chat.attachFile @@ -2910,31 +2933,35 @@ // - workbench.action.chat.done // - workbench.action.chat.editing.attachFiles // - workbench.action.chat.export +// - workbench.action.chat.hideSetup // - workbench.action.chat.history // - workbench.action.chat.import // - workbench.action.chat.inlineVoiceChat // - workbench.action.chat.insertIntoNewFile // - workbench.action.chat.insertIntoNotebook // - workbench.action.chat.installProviderForVoiceChat -// - workbench.action.chat.installWithPrompt -// - workbench.action.chat.installWithoutPrompt // - workbench.action.chat.learnMore // - workbench.action.chat.logInputHistory +// - workbench.action.chat.managePlan +// - workbench.action.chat.manageSettings // - workbench.action.chat.markHelpful // - workbench.action.chat.markUnhelpful -// - workbench.action.chat.newEditSession // - workbench.action.chat.openInEditor // - workbench.action.chat.openInNewWindow // - workbench.action.chat.openInSidebar +// - workbench.action.chat.openQuotaExceededDialog // - workbench.action.chat.quickVoiceChat // - workbench.action.chat.readChatResponseAloud // - workbench.action.chat.redoEdit // - workbench.action.chat.reportIssueForBug -// - workbench.action.chat.restoreFile // - workbench.action.chat.retry // - workbench.action.chat.selectAndInsertFile +// - workbench.action.chat.selectAndInsertSym +// - workbench.action.chat.showExtensionsUsingCopilot // - workbench.action.chat.startEditing +// - workbench.action.chat.triggerSetup // - workbench.action.chat.undoEdit +// - workbench.action.chat.upgradePlan // - workbench.action.chat.voiceChatInChatView // - workbench.action.chatEditor.newChat // - workbench.action.clearCommandHistory @@ -3003,6 +3030,9 @@ // - workbench.action.editorLayoutTwoColumnsBottom // - workbench.action.editorLayoutTwoRows // - workbench.action.editorLayoutTwoRowsRight +// - workbench.action.edits.addFilesFromReferences +// - workbench.action.edits.attachFile +// - workbench.action.edits.attachSelection // - workbench.action.evenEditorWidths // - workbench.action.expandAllComments // - workbench.action.expandUnresolvedComments @@ -3109,6 +3139,7 @@ // - workbench.action.newGroupLeft // - workbench.action.newGroupRight // - workbench.action.newWindowTab +// - workbench.action.nextAuxiliaryBarView // - workbench.action.nextPanelView // - workbench.action.nextSideBarView // - workbench.action.openAccessibilitySettings @@ -3175,6 +3206,7 @@ // - workbench.action.output.show.terminal // - workbench.action.output.show.userDataSync // - workbench.action.output.show.vscode.git.Git +// - workbench.action.output.show.vscode.github-authentication.GitHub Authentication // - workbench.action.output.show.vscode.github.GitHub // - workbench.action.pauseSocketWriting // - workbench.action.populateFileFromSnippet @@ -3183,6 +3215,7 @@ // - workbench.action.positionPanelRight // - workbench.action.positionPanelTop // - workbench.action.previewColorTheme +// - workbench.action.previousAuxiliaryBarView // - workbench.action.previousPanelView // - workbench.action.previousSideBarView // - workbench.action.problems.focus @@ -3265,8 +3298,6 @@ // - workbench.action.terminal.changeColorActiveTab // - workbench.action.terminal.changeIcon // - workbench.action.terminal.changeIconActiveTab -// - workbench.action.terminal.chat.cancel -// - workbench.action.terminal.chat.discard // - workbench.action.terminal.chat.viewInChat // - workbench.action.terminal.clearPreviousSessionHistory // - workbench.action.terminal.clearSuggestCache @@ -3378,8 +3409,6 @@ // - workbench.actions.workbench.panel.markers.view.toggleExcludedFiles // - workbench.actions.workbench.panel.markers.view.toggleInfos // - workbench.actions.workbench.panel.markers.view.toggleWarnings -// - workbench.chat.movedView.welcomeView.focus -// - workbench.chat.movedView.welcomeView.resetViewLocation // - workbench.debug.action.copyAll // - workbench.debug.action.focusBreakpointsView // - workbench.debug.action.focusCallStackView @@ -3442,10 +3471,13 @@ // - workbench.extensions.action.configureWorkspaceRecommendedExtensions // - workbench.extensions.action.copyExtension // - workbench.extensions.action.copyExtensionId +// - workbench.extensions.action.copyLink // - workbench.extensions.action.debugExtensionHost // - workbench.extensions.action.disableAll // - workbench.extensions.action.disableAllWorkspace // - workbench.extensions.action.disableAutoUpdate +// - workbench.extensions.action.download +// - workbench.extensions.action.downloadPreRelease // - workbench.extensions.action.enableAll // - workbench.extensions.action.enableAllWorkspace // - workbench.extensions.action.enableAutoUpdate @@ -3522,10 +3554,7 @@ // - workbench.panel.chat.view.copilot.resetViewLocation // - workbench.panel.chat.view.edits.focus // - workbench.panel.chat.view.edits.resetViewLocation -// - workbench.panel.chatEditing // - workbench.panel.chatEditing.resetViewContainerLocation -// - workbench.panel.chatSidebar -// - workbench.panel.chatSidebar.resetViewContainerLocation // - workbench.panel.markers.resetViewContainerLocation // - workbench.panel.markers.view.focus // - workbench.panel.markers.view.removeView diff --git a/generator/default-keybindings-win.json b/generator/default-keybindings-win.json index f9b7f3bc..797cd406 100644 --- a/generator/default-keybindings-win.json +++ b/generator/default-keybindings-win.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.95.3 for Windows +// Default Keybindings of Visual Studio Code 1.96.0 for Windows // Override key bindings by placing them into your key bindings file. [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -141,6 +141,8 @@ "when": "inReferenceSearchEditor || referenceSearchVisible" }, { "key": "shift+f4", "command": "goToPreviousReference", "when": "inReferenceSearchEditor || referenceSearchVisible" }, +{ "key": "escape", "command": "inlineChat.hideHint", + "when": "inlineChatShowingHint" }, { "key": "ctrl+enter", "command": "refactorPreview.apply", "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, { "key": "alt+enter", "command": "testing.editFocusedTest", @@ -158,9 +160,9 @@ { "key": "ctrl+up", "command": "chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, { "key": "alt+f5", "command": "chatEditor.action.navigateNext", - "when": "chat.hasEditorModifications && editorFocus" }, + "when": "chat.hasEditorModifications && editorFocus || chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+alt+f5", "command": "chatEditor.action.navigatePrevious", - "when": "chat.hasEditorModifications && editorFocus" }, + "when": "chat.hasEditorModifications && editorFocus || chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -466,11 +468,11 @@ { "key": "tab", "command": "insertSnippet", "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, { "key": "ctrl+enter", "command": "interactive.execute", - "when": "activeEditor == 'workbench.editor.interactive'" }, + "when": "isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "shift+enter", "command": "interactive.execute", - "when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, + "when": "config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "enter", "command": "interactive.execute", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, + "when": "isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, { "key": "escape", "command": "notebook.cell.chat.discard", "when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" }, { "key": "pagedown", "command": "notebook.cell.cursorPageDown", @@ -482,7 +484,7 @@ { "key": "shift+pageup", "command": "notebook.cell.cursorPageUpSelect", "when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" }, { "key": "ctrl+alt+enter", "command": "notebook.cell.execute", - "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" }, + "when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "alt+enter", "command": "notebook.cell.executeAndInsertBelow", "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+enter", "command": "notebook.cell.executeAndSelectBelow", @@ -504,11 +506,15 @@ { "key": "ctrl+alt+f", "command": "repl.action.find", "when": "inDebugRepl || inDebugRepl && focusedView == 'workbench.panel.repl.view'" }, { "key": "ctrl+enter", "command": "repl.execute", - "when": "activeEditor == 'workbench.editor.repl'" }, + "when": "isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "shift+enter", "command": "repl.execute", - "when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, + "when": "config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "enter", "command": "repl.execute", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, + "when": "isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, +{ "key": "alt+end alt+end", "command": "repl.focusLastItemExecuted", + "when": "isCompositeNotebook && mostRecentReplEditor || mostRecentReplEditor && !notebookCellListFocused" }, +{ "key": "ctrl+down", "command": "repl.input.focus", + "when": "isCompositeNotebook && notebookEditorFocused" }, { "key": "ctrl+shift+r", "command": "rerunSearchEditorSearch", "when": "inSearchEditor" }, { "key": "escape", "command": "search.action.focusQueryEditorWidget", @@ -534,19 +540,21 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent", "when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editor' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, { "key": "alt+f5", "command": "workbench.action.editor.nextChange", "when": "editorTextFocus && !textCompareEditorActive" }, { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", "when": "editorTextFocus && !textCompareEditorActive" }, +{ "key": "enter", "command": "workbench.action.edits.submit", + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, { "key": "shift+escape", "command": "workbench.action.hideComment", - "when": "commentEditorFocused" }, + "when": "commentEditorFocused || commentFocused" }, { "key": "escape", "command": "workbench.action.hideComment", - "when": "commentEditorFocused" }, + "when": "commentEditorFocused || commentFocused" }, { "key": "ctrl+right", "command": "editor.action.inlineSuggest.acceptNextWord", "when": "inlineSuggestionVisible && !editorReadonly" }, { "key": "escape", "command": "inlineChat.close", @@ -700,13 +708,19 @@ { "key": "ctrl+down", "command": "chat.action.focus", "when": "inChat && inChatInput && quickChatHasFocus" }, { "key": "ctrl+c", "command": "chat.inlineResourceAnchor.copyResource", - "when": "chatAnchorResource" }, + "when": "chatAttachmentResource" }, { "key": "ctrl+enter", "command": "chatEditing.acceptAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, { "key": "ctrl+backspace", "command": "chatEditing.discardAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, { "key": "ctrl+s", "command": "chatEditing.saveAllFiles", "when": "hasUndecidedChatEditingResource && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, +{ "key": "ctrl+enter", "command": "chatEditor.action.accept", + "when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, +{ "key": "ctrl+backspace", "command": "chatEditor.action.reject", + "when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, +{ "key": "ctrl+shift+backspace", "command": "chatEditor.action.undoHunk", + "when": "editorFocus && hasUndecidedChatEditingResource && !chatSessionRequestInProgress" }, { "key": "escape", "command": "closeReplaceInFilesWidget", "when": "replaceInputBoxFocus && searchViewletVisible" }, { "key": "escape", "command": "commentsClearFilterText", @@ -769,9 +783,8 @@ { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding", "when": "resource == 'vscode-userdata:/d%3A/a/vscode-kb-macro/vscode-kb-macro/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", - "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || cursorAtInlineEdit && inlineEditIsVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || cursorAtInlineEdit && inlineEditIsVisible && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, -{ "key": "ctrl+enter", "command": "editor.action.inlineSuggest.commit", - "when": "editorTextFocus && inlineEditIsVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || editorTextFocus && inlineEditIsVisible && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + "when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, +{ "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" }, { "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint", "when": "editorTextFocus" }, { "key": "shift+alt+d", "command": "editor.detectLanguage", @@ -822,10 +835,10 @@ "when": "inlineChatHasProvider && inlineChatVisible" }, { "key": "ctrl+r", "command": "inlineChat.regenerate", "when": "inlineChatHasProvider && inlineChatVisible" }, -{ "key": "ctrl+k i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" }, { "key": "ctrl+i", "command": "inlineChat.start", - "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" }, + "when": "editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput" }, +{ "key": "ctrl+k i", "command": "inlineChat.startWithCurrentLine", + "when": "inlineChatHasProvider && !editorReadonly && !inlineChatVisible" }, { "key": "ctrl+z", "command": "inlineChat.unstash", "when": "inlineChatHasStashedSession && !editorReadonly" }, { "key": "ctrl+down", "command": "inlineChat.viewInChat", @@ -959,15 +972,15 @@ { "key": "shift+alt+d", "command": "notebook.cell.detectLanguage", "when": "notebookCellEditable && notebookEditable" }, { "key": "enter", "command": "notebook.cell.edit", - "when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, + "when": "notebookCellListFocused && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput", "when": "notebookCellInputIsCollapsed && notebookCellListFocused" }, { "key": "ctrl+k t", "command": "notebook.cell.expandCellOutput", "when": "notebookCellListFocused && notebookCellOutputIsCollapsed" }, -{ "key": "ctrl+shift+down", "command": "notebook.cell.focusInOutput", - "when": "notebookCellHasOutputs && notebookEditorFocused" }, { "key": "ctrl+down", "command": "notebook.cell.focusInOutput", "when": "isWindows && notebookCellHasOutputs && notebookEditorFocused && !isCompositeNotebook" }, +{ "key": "ctrl+shift+down", "command": "notebook.cell.focusInOutput", + "when": "notebookCellHasOutputs && notebookEditorFocused" }, { "key": "ctrl+shift+up", "command": "notebook.cell.focusOutOutput", "when": "notebookEditorFocused && notebookOutputFocused" }, { "key": "ctrl+shift+enter", "command": "notebook.cell.insertCodeCellAbove", @@ -1016,6 +1029,8 @@ "when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" }, { "key": "escape", "command": "notebook.hideFind", "when": "notebookEditorFocused && notebookFindWidgetFocused" }, +{ "key": "ctrl+shift+l", "command": "notebook.selectAllFindMatches", + "when": "config.notebook.multiCursor.enabled && notebookFindWidgetFocused || config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'" }, { "key": "right", "command": "notebook.unfold", "when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" }, { "key": "ctrl+shift+]", "command": "notebook.unfold", @@ -1230,12 +1245,14 @@ "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" }, { "key": "ctrl+l", "command": "workbench.action.chat.newChat", "when": "chatIsEnabled && inChat && chatLocation != 'editing-session'" }, +{ "key": "ctrl+l", "command": "workbench.action.chat.newEditSession", + "when": "chatEditingParticipantRegistered && chatIsEnabled && inChat && chatLocation == 'editing-session'" }, { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree", "when": "chatIsEnabled && inChat" }, { "key": "ctrl+alt+i", "command": "workbench.action.chat.open", - "when": "chatPanelParticipantRegistered" }, + "when": "chatPanelParticipantRegistered || chatSetupInstalled" }, { "key": "ctrl+shift+i", "command": "workbench.action.chat.openEditSession", "when": "chatEditingParticipantRegistered && chatIsEnabled && view != 'workbench.panel.chat.view.edits'" }, { "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock", @@ -1245,13 +1262,13 @@ { "key": "delete", "command": "workbench.action.chat.remove", "when": "inChat && !inChatInput && chatLocation != 'editing-session'" }, { "key": "ctrl+alt+enter", "command": "workbench.action.chat.sendToChatEditing", - "when": "chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session'" }, + "when": "chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session' && chatLocation != 'editor'" }, { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", - "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest" }, + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", - "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + "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", "when": "inChat && !inChatInput && chatLocation == 'editing-session'" }, { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" }, @@ -1420,10 +1437,8 @@ { "key": "ctrl+k ctrl+\\", "command": "workbench.action.splitEditorUp" }, { "key": "ctrl+shift+b", "command": "workbench.action.tasks.build", "when": "taskCommandsRegistered" }, -{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close", - "when": "terminalChatFocus && terminalChatVisible" }, { "key": "escape", "command": "workbench.action.terminal.chat.close", - "when": "terminalChatFocus && terminalChatVisible" }, + "when": "terminalChatFocus && terminalChatVisible || terminalChatVisible && terminalFocus" }, { "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", "when": "terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", @@ -1432,12 +1447,6 @@ "when": "terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand", "when": "terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" }, -{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest", - "when": "terminalChatFocus && terminalHasBeenCreated && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest || terminalChatFocus && terminalProcessSupported && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest" }, -{ "key": "down", "command": "workbench.action.terminal.chat.nextFromHistory", - "when": "terminalChatFocus && !suggestWidgetVisible" }, -{ "key": "up", "command": "workbench.action.terminal.chat.previousFromHistory", - "when": "terminalChatFocus && !suggestWidgetVisible" }, { "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runCommand", "when": "terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, { "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runFirstCommand", @@ -1566,9 +1575,6 @@ { "key": "ctrl+/", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": {"text":"\u001f"} }, -{ "key": "ctrl+space", "command": "workbench.action.terminal.sendSequence", - "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", - "args": {"text":"\u001b[24~e"} }, { "key": "ctrl+.", "command": "workbench.action.terminal.showQuickFixes", "when": "terminalFocus" }, { "key": "alt+z", "command": "workbench.action.terminal.sizeToContentWidth", @@ -1624,6 +1630,8 @@ "when": "workbench.explorer.openEditorsView.active" }, { "key": "ctrl+alt+i", "command": "workbench.panel.chat", "when": "workbench.panel.chat.view.copilot.active" }, +{ "key": "ctrl+shift+i", "command": "workbench.panel.chatEditing", + "when": "workbench.panel.chat.view.edits.active" }, { "key": "escape", "command": "workbench.statusBar.clearFocus", "when": "statusBarFocused" }, { "key": "home", "command": "workbench.statusBar.focusFirst", @@ -1655,7 +1663,9 @@ { "key": "escape", "command": "breadcrumbs.selectEditor", "when": "breadcrumbsActive && breadcrumbsVisible" }, { "key": "tab", "command": "editor.action.inlineSuggest.jump", - "when": "inlineEditIsVisible && !cursorAtInlineEdit && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, + "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, +{ "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine", + "when": "inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible" }, { "key": "f3", "command": "list.find.replInputFocus", "when": "view == 'workbench.panel.repl.view'" }, { "key": "ctrl+alt+f", "command": "list.find.replInputFocus", @@ -1692,6 +1702,8 @@ "when": "terminalFocus && terminalHasBeenCreated" }, { "key": "ctrl+shift+g", "command": "workbench.action.terminal.openDetectedLink", "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'" }, +{ "key": "ctrl+space", "command": "workbench.action.terminal.requestCompletions", + "when": "config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && terminalShellIntegrationEnabled" }, { "key": "pagedown", "command": "workbench.action.terminal.selectNextPageSuggestion", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "down", "command": "workbench.action.terminal.selectNextSuggestion", @@ -1714,16 +1726,16 @@ "when": "breakpointsFocused && !inputFocus" }, { "key": "ctrl+up", "command": "interactive.history.focus", "when": "isCompositeNotebook && !notebookEditorFocused && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'" }, -{ "key": "ctrl+down", "command": "interactive.input.focus", - "when": "isCompositeNotebook && notebookEditorFocused" }, { "key": "escape", "command": "notebook.cell.quitEdit", "when": "notebookEditorFocused && notebookOutputFocused" }, +{ "key": "alt+home alt+home", "command": "repl.input.focus", + "when": "mostRecentReplEditor" }, { "key": "ctrl+v", "command": "filesExplorer.paste", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "shift+delete", "command": "deleteFile", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "delete", "command": "deleteFile", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus" }, { "key": "ctrl+shift+.", "command": "editor.action.accessibleViewGoToSymbol", "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" }, { "key": "ctrl+shift+o", "command": "editor.action.accessibleViewGoToSymbol", @@ -1742,7 +1754,7 @@ { "key": "ctrl+c", "command": "filesExplorer.copy", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus" }, { "key": "ctrl+x", "command": "filesExplorer.cut", - "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "space", "command": "filesExplorer.openFilePreserveFocus", "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "home", "command": "firstCompressedFolder", @@ -1752,7 +1764,7 @@ { "key": "end", "command": "lastCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "delete", "command": "moveFileToTrash", - "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" }, + "when": "explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "right", "command": "nextCompressedFolder", "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" }, { "key": "left", "command": "previousCompressedFolder", @@ -1820,7 +1832,7 @@ { "key": "escape", "command": "notifications.hideToasts", "when": "notificationFocus && notificationToastsVisible" }, { "key": "escape", "command": "workbench.action.chat.stopListening", - "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, + "when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, { "key": "escape", "command": "workbench.action.chat.stopReadChatItemAloud", "when": "scopedChatSynthesisInProgress" }, { "key": "escape", "command": "workbench.action.editorDictation.stop", @@ -1856,7 +1868,7 @@ { "key": "ctrl+i", "command": "workbench.action.terminal.chat.start", "when": "terminalChatAgentRegistered && terminalFocusInAny && terminalHasBeenCreated || terminalChatAgentRegistered && terminalFocusInAny && terminalProcessSupported" }, { "key": "ctrl+enter", "command": "chat.inlineResourceAnchor.openToSide", - "when": "chatAnchorResource" }, + "when": "chatAttachmentResource" }, { "key": "ctrl+.", "command": "acceptSelectedCodeAction", "when": "codeActionMenuVisible" }, { "key": "enter", "command": "acceptSelectedCodeAction", @@ -1898,12 +1910,13 @@ // - chat.inlineSymbolAnchor.goToTypeDefinitions // - chat.openFileSnapshot // - chatEditing.acceptFile +// - chatEditing.addFileToWorkingSet +// - chatEditing.clearWorkingSet // - chatEditing.discardFile // - chatEditing.openFileInDiff // - chatEditing.removeFileFromWorkingSet // - chatEditing.viewChanges -// - chatEditor.action.accept -// - chatEditor.action.reject +// - chatEditor.action.diffHunk // - cleanSearchEditorState // - closeReferenceSearchEditor // - codelens.showLensesInCurrentLine @@ -2022,6 +2035,8 @@ // - editor.action.inlineSuggest.dev.extractRepro // - editor.action.inlineSuggest.toggleAlwaysShowToolbar // - editor.action.inlineSuggest.trigger +// - editor.action.inlineSuggest.triggerInlineEdit +// - editor.action.inlineSuggest.triggerInlineEditExplicit // - editor.action.insertSnippet // - editor.action.inspectTMScopes // - editor.action.joinLines @@ -2192,10 +2207,13 @@ // - git.api.getRemoteSources // - git.api.getRepositories // - git.api.getRepositoryState +// - git.blameStatusBarItem.copyContent +// - git.blameStatusBarItem.viewCommit // - git.branch // - git.branchFrom // - git.checkout // - git.checkoutDetached +// - git.checkoutRef // - git.checkoutRefDetached // - git.cherryPick // - git.cherryPickAbort @@ -2339,10 +2357,11 @@ // - imagePreview.zoomOut // - inlayHints.startReadingLineWithHint // - inlineChat.configure -// - inlineChat.startWithCurrentLine +// - inlineChat.showHint // - inlineChat.toggleDiff // - interactive.acceptChanges // - interactive.input.clear +// - interactive.input.focus // - interactiveEditor.start // - ipynb.cleanInvalidImageAttachment // - ipynb.newUntitledIpynb @@ -2442,6 +2461,8 @@ // - notebook.cell.cancelExecution // - notebook.cell.changeLanguage // - notebook.cell.chat.close +// - notebook.cell.chat.explainError +// - notebook.cell.chat.fixError // - notebook.cell.chat.restore // - notebook.cell.chat.startAtTop // - notebook.cell.chat.stop @@ -2672,7 +2693,9 @@ // - testing.sortByLocation // - testing.sortByStatus // - testing.startContinuousRun +// - testing.startContinuousRunFromExtension // - testing.stopContinuousRun +// - testing.stopContinuousRunFromExtension // - testing.toggleContinuousRunForTest // - testing.unhideAllTests // - testing.unhideTest @@ -2691,6 +2714,7 @@ // - toggle.window.customTitleBarVisibility.windowed // - toggle.workbench.editor.editorActionsLocation // - toggle.workbench.layoutControl.enabled +// - toggle.workbench.navigationControl.enabled // - tree.toggleStickyScroll // - tunnel-forwarding.restart // - tunnel-forwarding.showLog @@ -2739,7 +2763,6 @@ // - workbench.action.chat.addParticipant // - workbench.action.chat.addSelectedFilesToWorkingSet // - workbench.action.chat.addToChatAction -// - workbench.action.chat.applyAll // - workbench.action.chat.applyCompareEdits // - workbench.action.chat.assignSelectedAgent // - workbench.action.chat.attachFile @@ -2753,31 +2776,35 @@ // - workbench.action.chat.done // - workbench.action.chat.editing.attachFiles // - workbench.action.chat.export +// - workbench.action.chat.hideSetup // - workbench.action.chat.history // - workbench.action.chat.import // - workbench.action.chat.inlineVoiceChat // - workbench.action.chat.insertIntoNewFile // - workbench.action.chat.insertIntoNotebook // - workbench.action.chat.installProviderForVoiceChat -// - workbench.action.chat.installWithPrompt -// - workbench.action.chat.installWithoutPrompt // - workbench.action.chat.learnMore // - workbench.action.chat.logInputHistory +// - workbench.action.chat.managePlan +// - workbench.action.chat.manageSettings // - workbench.action.chat.markHelpful // - workbench.action.chat.markUnhelpful -// - workbench.action.chat.newEditSession // - workbench.action.chat.openInEditor // - workbench.action.chat.openInNewWindow // - workbench.action.chat.openInSidebar +// - workbench.action.chat.openQuotaExceededDialog // - workbench.action.chat.quickVoiceChat // - workbench.action.chat.readChatResponseAloud // - workbench.action.chat.redoEdit // - workbench.action.chat.reportIssueForBug -// - workbench.action.chat.restoreFile // - workbench.action.chat.retry // - workbench.action.chat.selectAndInsertFile +// - workbench.action.chat.selectAndInsertSym +// - workbench.action.chat.showExtensionsUsingCopilot // - workbench.action.chat.startEditing +// - workbench.action.chat.triggerSetup // - workbench.action.chat.undoEdit +// - workbench.action.chat.upgradePlan // - workbench.action.chat.voiceChatInChatView // - workbench.action.chatEditor.newChat // - workbench.action.clearCommandHistory @@ -2847,6 +2874,9 @@ // - workbench.action.editorLayoutTwoColumnsBottom // - workbench.action.editorLayoutTwoRows // - workbench.action.editorLayoutTwoRowsRight +// - workbench.action.edits.addFilesFromReferences +// - workbench.action.edits.attachFile +// - workbench.action.edits.attachSelection // - workbench.action.evenEditorWidths // - workbench.action.expandAllComments // - workbench.action.expandUnresolvedComments @@ -2948,6 +2978,7 @@ // - workbench.action.newGroupBelow // - workbench.action.newGroupLeft // - workbench.action.newGroupRight +// - workbench.action.nextAuxiliaryBarView // - workbench.action.nextPanelView // - workbench.action.nextSideBarView // - workbench.action.openAccessibilitySettings @@ -3014,6 +3045,7 @@ // - workbench.action.output.show.terminal // - workbench.action.output.show.userDataSync // - workbench.action.output.show.vscode.git.Git +// - workbench.action.output.show.vscode.github-authentication.GitHub Authentication // - workbench.action.output.show.vscode.github.GitHub // - workbench.action.pauseSocketWriting // - workbench.action.populateFileFromSnippet @@ -3022,6 +3054,7 @@ // - workbench.action.positionPanelRight // - workbench.action.positionPanelTop // - workbench.action.previewColorTheme +// - workbench.action.previousAuxiliaryBarView // - workbench.action.previousPanelView // - workbench.action.previousSideBarView // - workbench.action.problems.focus @@ -3106,8 +3139,6 @@ // - workbench.action.terminal.changeColorActiveTab // - workbench.action.terminal.changeIcon // - workbench.action.terminal.changeIconActiveTab -// - workbench.action.terminal.chat.cancel -// - workbench.action.terminal.chat.discard // - workbench.action.terminal.chat.viewInChat // - workbench.action.terminal.clear // - workbench.action.terminal.clearPreviousSessionHistory @@ -3223,8 +3254,6 @@ // - workbench.actions.workbench.panel.markers.view.toggleExcludedFiles // - workbench.actions.workbench.panel.markers.view.toggleInfos // - workbench.actions.workbench.panel.markers.view.toggleWarnings -// - workbench.chat.movedView.welcomeView.focus -// - workbench.chat.movedView.welcomeView.resetViewLocation // - workbench.debug.action.copyAll // - workbench.debug.action.focusBreakpointsView // - workbench.debug.action.focusCallStackView @@ -3288,10 +3317,13 @@ // - workbench.extensions.action.configureWorkspaceRecommendedExtensions // - workbench.extensions.action.copyExtension // - workbench.extensions.action.copyExtensionId +// - workbench.extensions.action.copyLink // - workbench.extensions.action.debugExtensionHost // - workbench.extensions.action.disableAll // - workbench.extensions.action.disableAllWorkspace // - workbench.extensions.action.disableAutoUpdate +// - workbench.extensions.action.download +// - workbench.extensions.action.downloadPreRelease // - workbench.extensions.action.enableAll // - workbench.extensions.action.enableAllWorkspace // - workbench.extensions.action.enableAutoUpdate @@ -3368,10 +3400,7 @@ // - workbench.panel.chat.view.copilot.resetViewLocation // - workbench.panel.chat.view.edits.focus // - workbench.panel.chat.view.edits.resetViewLocation -// - workbench.panel.chatEditing // - workbench.panel.chatEditing.resetViewContainerLocation -// - workbench.panel.chatSidebar -// - workbench.panel.chatSidebar.resetViewContainerLocation // - workbench.panel.markers.resetViewContainerLocation // - workbench.panel.markers.view.focus // - workbench.panel.markers.view.removeView diff --git a/package.json b/package.json index edab97cd..f7478114 100644 --- a/package.json +++ b/package.json @@ -171,7 +171,7 @@ "args": { "command": "workbench.action.hideComment" }, - "when": "kb-macro.active && commentEditorFocused" + "when": "kb-macro.active && commentEditorFocused || kb-macro.active && commentFocused" }, { "key": "shift+escape", @@ -247,14 +247,6 @@ }, "when": "kb-macro.active && inQuickOpen" }, - { - "key": "shift+escape", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.chat.close" - }, - "when": "kb-macro.active && terminalChatFocus && terminalChatVisible" - }, { "key": "shift+escape", "command": "kb-macro.wrap", @@ -316,6 +308,14 @@ }, "when": "kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" }, + { + "key": "escape", + "command": "kb-macro.wrap", + "args": { + "command": "inlineChat.hideHint" + }, + "when": "kb-macro.active && inlineChatShowingHint" + }, { "key": "escape", "command": "kb-macro.wrap", @@ -467,7 +467,7 @@ "args": { "command": "workbench.action.hideComment" }, - "when": "kb-macro.active && commentEditorFocused" + "when": "kb-macro.active && commentEditorFocused || kb-macro.active && commentFocused" }, { "key": "escape", @@ -669,7 +669,7 @@ "args": { "command": "workbench.action.terminal.chat.close" }, - "when": "kb-macro.active && terminalChatFocus && terminalChatVisible" + "when": "kb-macro.active && terminalChatFocus && terminalChatVisible || kb-macro.active && terminalChatVisible && terminalFocus" }, { "key": "escape", @@ -781,7 +781,7 @@ "args": { "command": "workbench.action.chat.stopListening" }, - "when": "kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" + "when": "kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || kb-macro.active && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" }, { "key": "escape", @@ -869,6 +869,14 @@ }, "when": "kb-macro.active && editorHoverFocused" }, + { + "key": "cmd+down", + "command": "kb-macro.wrap", + "args": { + "command": "repl.input.focus" + }, + "when": "kb-macro.active && isCompositeNotebook && notebookEditorFocused" + }, { "key": "cmd+down", "command": "kb-macro.wrap", @@ -1095,14 +1103,6 @@ }, "when": "kb-macro.active && interactivePlaygroundFocus && !editorTextFocus" }, - { - "key": "down", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.chat.nextFromHistory" - }, - "when": "kb-macro.active && terminalChatFocus && !suggestWidgetVisible" - }, { "key": "down", "command": "kb-macro.wrap", @@ -2017,14 +2017,6 @@ }, "when": "kb-macro.active && interactivePlaygroundFocus && !editorTextFocus" }, - { - "key": "up", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.chat.previousFromHistory" - }, - "when": "kb-macro.active && terminalChatFocus && !suggestWidgetVisible" - }, { "key": "up", "command": "kb-macro.wrap", @@ -2184,6 +2176,14 @@ }, "when": "kb-macro.active && hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, + { + "key": "cmd+backspace", + "command": "kb-macro.wrap", + "args": { + "command": "chatEditor.action.reject" + }, + "when": "kb-macro.active && chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || kb-macro.active && chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" + }, { "key": "delete", "mac": "cmd+backspace", @@ -2298,7 +2298,7 @@ "args": { "command": "deleteFile" }, - "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus && !treeFindOpen" + "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus" }, { "key": "delete", @@ -2306,7 +2306,7 @@ "args": { "command": "moveFileToTrash" }, - "when": "kb-macro.active && explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" + "when": "kb-macro.active && explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "delete", @@ -2376,6 +2376,14 @@ }, "when": "kb-macro.active && chatIsEnabled && inChat && chatLocation != 'editing-session'" }, + { + "key": "ctrl+l", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.chat.newEditSession" + }, + "when": "kb-macro.active && chatEditingParticipantRegistered && chatIsEnabled && inChat && chatLocation == 'editing-session'" + }, { "key": "ctrl+down", "command": "kb-macro.wrap", @@ -2424,6 +2432,14 @@ }, "when": "kb-macro.active && !isMac && editorHoverFocused" }, + { + "key": "ctrl+down", + "command": "kb-macro.wrap", + "args": { + "command": "repl.input.focus" + }, + "when": "kb-macro.active && !isMac && isCompositeNotebook && notebookEditorFocused" + }, { "key": "ctrl+down", "command": "kb-macro.wrap", @@ -2621,15 +2637,6 @@ }, "when": "kb-macro.active && terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || kb-macro.active && terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" }, - { - "key": "ctrl+down", - "mac": "cmd+down", - "command": "kb-macro.wrap", - "args": { - "command": "interactive.input.focus" - }, - "when": "kb-macro.active && isCompositeNotebook && notebookEditorFocused" - }, { "key": "cmd+down", "command": "kb-macro.wrap", @@ -3022,7 +3029,7 @@ "command": "editor.action.inlineSuggest.commit", "record": "side-effect" }, - "when": "kb-macro.active && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && cursorAtInlineEdit && inlineEditIsVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && cursorAtInlineEdit && inlineEditIsVisible && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" + "when": "kb-macro.active && inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "tab", @@ -3030,7 +3037,7 @@ "args": { "command": "editor.action.inlineSuggest.jump" }, - "when": "kb-macro.active && inlineEditIsVisible && !cursorAtInlineEdit && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" + "when": "kb-macro.active && inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, { "key": "tab", @@ -3180,7 +3187,7 @@ "args": { "command": "interactive.execute" }, - "when": "kb-macro.active && activeEditor == 'workbench.editor.interactive'" + "when": "kb-macro.active && isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "ctrl+enter", @@ -3196,7 +3203,7 @@ "args": { "command": "notebook.cell.execute" }, - "when": "kb-macro.active && isMac && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isMac && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isMac && inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || kb-macro.active && isMac && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isMac && inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || kb-macro.active && isMac && inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" + "when": "kb-macro.active && isMac && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isMac && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && isMac && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "ctrl+enter", @@ -3213,7 +3220,7 @@ "args": { "command": "repl.execute" }, - "when": "kb-macro.active && activeEditor == 'workbench.editor.repl'" + "when": "kb-macro.active && isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "ctrl+enter", @@ -3282,19 +3289,18 @@ "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "debug.openBreakpointToSide" + "command": "chatEditor.action.accept" }, - "when": "kb-macro.active && breakpointsFocused" + "when": "kb-macro.active && chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || kb-macro.active && chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" }, { "key": "ctrl+enter", "mac": "cmd+enter", "command": "kb-macro.wrap", "args": { - "command": "editor.action.inlineSuggest.commit", - "record": "side-effect" + "command": "debug.openBreakpointToSide" }, - "when": "kb-macro.active && editorTextFocus && inlineEditIsVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || kb-macro.active && editorTextFocus && inlineEditIsVisible && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" + "when": "kb-macro.active && breakpointsFocused" }, { "key": "ctrl+enter", @@ -3404,7 +3410,7 @@ "args": { "command": "chat.inlineResourceAnchor.openToSide" }, - "when": "kb-macro.active && chatAnchorResource" + "when": "kb-macro.active && chatAttachmentResource" }, { "key": "ctrl+enter", @@ -3482,7 +3488,7 @@ "args": { "command": "notebook.cell.execute" }, - "when": "kb-macro.active && isWindows && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isWindows && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isWindows && inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || kb-macro.active && isWindows && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && isWindows && inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || kb-macro.active && isWindows && inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" + "when": "kb-macro.active && isWindows && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && isWindows && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && isWindows && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "ctrl+alt+enter", @@ -3517,7 +3523,7 @@ "args": { "command": "workbench.action.chat.sendToChatEditing" }, - "when": "kb-macro.active && chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session'" + "when": "kb-macro.active && chatEditingParticipantRegistered && chatInputHasText && chatIsEnabled && !chatInputHasAgent && !chatSessionRequestInProgress && chatLocation != 'editing-session' && chatLocation != 'editor'" }, { "key": "ctrl+alt+enter", @@ -3681,7 +3687,7 @@ "args": { "command": "interactive.execute" }, - "when": "kb-macro.active && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" + "when": "kb-macro.active && isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" }, { "key": "enter", @@ -3697,7 +3703,7 @@ "args": { "command": "repl.execute" }, - "when": "kb-macro.active && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" + "when": "kb-macro.active && isCompositeNotebook && !config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" }, { "key": "enter", @@ -3705,7 +3711,15 @@ "args": { "command": "workbench.action.chat.submit" }, - "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session' || kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" + "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation != 'editing-session'" + }, + { + "key": "enter", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.action.edits.submit" + }, + "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && !isApplyingChatEdits && chatLocation == 'editing-session'" }, { "key": "enter", @@ -3786,7 +3800,7 @@ "args": { "command": "notebook.cell.edit" }, - "when": "kb-macro.active && notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" + "when": "kb-macro.active && notebookCellListFocused && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" }, { "key": "enter", @@ -3836,14 +3850,6 @@ }, "when": "kb-macro.active && inSettingsEditor && settingsTocRowFocus" }, - { - "key": "enter", - "command": "kb-macro.wrap", - "args": { - "command": "workbench.action.terminal.chat.makeRequest" - }, - "when": "kb-macro.active && terminalChatFocus && terminalHasBeenCreated && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest || kb-macro.active && terminalChatFocus && terminalProcessSupported && !inlineChatEmpty && !suggestWidgetVisible && !terminalChatActiveRequest" - }, { "key": "enter", "command": "kb-macro.wrap", @@ -3927,7 +3933,7 @@ "args": { "command": "chatEditor.action.navigateNext" }, - "when": "kb-macro.active && chat.hasEditorModifications && editorFocus" + "when": "kb-macro.active && chat.hasEditorModifications && editorFocus || kb-macro.active && chat.hasNotebookEditorModifications && editorFocus" }, { "key": "alt+f5", @@ -3951,7 +3957,7 @@ "args": { "command": "chatEditor.action.navigatePrevious" }, - "when": "kb-macro.active && chat.hasEditorModifications && editorFocus" + "when": "kb-macro.active && chat.hasEditorModifications && editorFocus || kb-macro.active && chat.hasNotebookEditorModifications && editorFocus" }, { "key": "shift+alt+f5", @@ -4191,6 +4197,14 @@ }, "when": "kb-macro.active && !isMac && hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'" }, + { + "key": "ctrl+backspace", + "command": "kb-macro.wrap", + "args": { + "command": "chatEditor.action.reject" + }, + "when": "kb-macro.active && !isMac && chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || kb-macro.active && !isMac && chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress" + }, { "key": "ctrl+backspace", "mac": "alt+backspace", @@ -4366,7 +4380,7 @@ "args": { "command": "chat.inlineResourceAnchor.copyResource" }, - "when": "kb-macro.active && chatAnchorResource" + "when": "kb-macro.active && chatAttachmentResource" }, { "key": "ctrl+c", @@ -4462,7 +4476,7 @@ "args": { "command": "deleteFile" }, - "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" + "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "cmd+x", @@ -4499,7 +4513,7 @@ "args": { "command": "filesExplorer.cut" }, - "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus && !treeFindOpen" + "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "cmd+v", @@ -4562,7 +4576,7 @@ "args": { "command": "filesExplorer.paste" }, - "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" + "when": "kb-macro.active && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "ctrl+/", @@ -4739,7 +4753,7 @@ "args": { "command": "interactive.execute" }, - "when": "kb-macro.active && config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" + "when": "kb-macro.active && config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.interactive'" }, { "key": "shift+enter", @@ -4755,7 +4769,7 @@ "args": { "command": "repl.execute" }, - "when": "kb-macro.active && config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl'" + "when": "kb-macro.active && config.interactiveWindow.executeWithShiftEnter && isCompositeNotebook && activeEditor == 'workbench.editor.repl'" }, { "key": "shift+enter", @@ -5674,6 +5688,15 @@ }, "when": "kb-macro.active && fileMatchOrMatchFocus && searchViewletVisible" }, + { + "key": "ctrl+shift+l", + "mac": "shift+cmd+l", + "command": "kb-macro.wrap", + "args": { + "command": "notebook.selectAllFindMatches" + }, + "when": "kb-macro.active && config.notebook.multiCursor.enabled && notebookFindWidgetFocused || kb-macro.active && config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'" + }, { "key": "ctrl+shift+l", "mac": "shift+cmd+l", @@ -5837,29 +5860,29 @@ }, { "key": "ctrl+i", - "mac": "cmd+k i", + "mac": "cmd+i", "command": "kb-macro.wrap", "args": { "command": "inlineChat.start" }, - "when": "kb-macro.active && editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" + "when": "kb-macro.active && editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput" }, { - "key": "ctrl+i", - "mac": "cmd+k i", + "key": "cmd+k i", "command": "kb-macro.wrap", "args": { - "command": "notebook.cell.chat.start" + "command": "inlineChat.startWithCurrentLine" }, - "when": "kb-macro.active && config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || kb-macro.active && config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus" + "when": "kb-macro.active && inlineChatHasProvider && !editorReadonly && !inlineChatVisible" }, { - "key": "cmd+i", + "key": "ctrl+i", + "mac": "cmd+k i", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.start" + "command": "notebook.cell.chat.start" }, - "when": "kb-macro.active && editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" + "when": "kb-macro.active && config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || kb-macro.active && config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus" }, { "key": "cmd+i", @@ -5885,7 +5908,7 @@ "args": { "command": "workbench.action.chat.startVoiceChat" }, - "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest || kb-macro.active && chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress && !terminalChatActiveRequest" + "when": "kb-macro.active && chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || kb-macro.active && chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, { "key": "ctrl+i", @@ -5894,7 +5917,16 @@ "args": { "command": "workbench.action.chat.stopListeningAndSubmit" }, - "when": "kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" + "when": "kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || kb-macro.active && inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || kb-macro.active && inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" + }, + { + "key": "ctrl+i", + "mac": "cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "inlineChat.startWithCurrentLine" + }, + "when": "kb-macro.active && inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible" }, { "key": "ctrl+i", @@ -5947,12 +5979,9 @@ "key": "ctrl+space", "command": "kb-macro.wrap", "args": { - "command": "workbench.action.terminal.sendSequence", - "args": { - "text": "\u001b[24~e" - } + "command": "workbench.action.terminal.requestCompletions" }, - "when": "kb-macro.active && config.terminal.integrated.suggest.enabled && terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'" + "when": "kb-macro.active && config.terminal.integrated.suggest.enabled && terminalFocus && terminalProcessSupported && terminalShellIntegrationEnabled" }, { "key": "ctrl+k ctrl+x", @@ -6240,6 +6269,14 @@ }, "when": "kb-macro.active && view == 'workbench.panel.repl.view'" }, + { + "key": "alt+end alt+end", + "command": "kb-macro.wrap", + "args": { + "command": "repl.focusLastItemExecuted" + }, + "when": "kb-macro.active && isCompositeNotebook && mostRecentReplEditor || kb-macro.active && mostRecentReplEditor && !notebookCellListFocused" + }, { "key": "ctrl+shift+backspace", "mac": "shift+cmd+backspace", @@ -6249,6 +6286,15 @@ }, "when": "kb-macro.active && inSearchEditor" }, + { + "key": "ctrl+shift+backspace", + "mac": "shift+cmd+backspace", + "command": "kb-macro.wrap", + "args": { + "command": "chatEditor.action.undoHunk" + }, + "when": "kb-macro.active && editorFocus && hasUndecidedChatEditingResource && !chatSessionRequestInProgress" + }, { "key": "ctrl+k f2", "mac": "cmd+k f2", @@ -6273,7 +6319,7 @@ "args": { "command": "workbench.action.chat.submitWithoutDispatching" }, - "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" + "when": "kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'editor' || kb-macro.active && chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatLocation == 'panel'" }, { "key": "ctrl+shift+1", @@ -6907,6 +6953,15 @@ }, "when": "kb-macro.active && chatIsEnabled && inChat" }, + { + "key": "insert", + "mac": "alt+cmd+o", + "command": "kb-macro.wrap", + "args": { + "command": "editor.action.toggleOvertypeInsertMode" + }, + "when": "kb-macro.active" + }, { "key": "shift+f9", "command": "kb-macro.wrap", @@ -7042,9 +7097,9 @@ "key": "ctrl+k i", "command": "kb-macro.wrap", "args": { - "command": "inlineChat.start" + "command": "inlineChat.startWithCurrentLine" }, - "when": "kb-macro.active && !isMac && editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly" + "when": "kb-macro.active && !isMac && inlineChatHasProvider && !editorReadonly && !inlineChatVisible" }, { "key": "ctrl+k i", @@ -7412,7 +7467,7 @@ "args": { "command": "workbench.action.chat.open" }, - "when": "kb-macro.active && chatPanelParticipantRegistered" + "when": "kb-macro.active && chatPanelParticipantRegistered || kb-macro.active && chatSetupInstalled" }, { "key": "ctrl+alt+i", @@ -7431,6 +7486,14 @@ }, "when": "kb-macro.active && isWindows && chatEditingParticipantRegistered && chatIsEnabled && view != 'workbench.panel.chat.view.edits'" }, + { + "key": "ctrl+shift+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.panel.chatEditing" + }, + "when": "kb-macro.active && isWindows && workbench.panel.chat.view.edits.active" + }, { "key": "ctrl+shift+i", "command": "kb-macro.wrap", @@ -9041,6 +9104,14 @@ }, "when": "kb-macro.active && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'" }, + { + "key": "alt+home alt+home", + "command": "kb-macro.wrap", + "args": { + "command": "repl.input.focus" + }, + "when": "kb-macro.active && mostRecentReplEditor" + }, { "key": "shift+alt+f1", "command": "kb-macro.wrap", @@ -9799,7 +9870,7 @@ "args": { "command": "notebook.cell.execute" }, - "when": "kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || kb-macro.active && !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || kb-macro.active && inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" + "when": "kb-macro.active && notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || kb-macro.active && notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" }, { "key": "shift+alt+[IntlBackslash]", @@ -9945,6 +10016,14 @@ }, "when": "kb-macro.active && isLinux && chatEditingParticipantRegistered && chatIsEnabled && view != 'workbench.panel.chat.view.edits'" }, + { + "key": "ctrl+shift+alt+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.panel.chatEditing" + }, + "when": "kb-macro.active && isLinux && workbench.panel.chat.view.edits.active" + }, { "key": "ctrl+alt+-", "command": "kb-macro.wrap", @@ -10107,7 +10186,7 @@ "args": { "command": "moveFileToTrash" }, - "when": "kb-macro.active && explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus && !treeFindOpen" + "when": "kb-macro.active && explorerResourceMoveableToTrash && filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" }, { "key": "cmd+backspace", @@ -10406,6 +10485,14 @@ }, "when": "kb-macro.active && chatEditingParticipantRegistered && chatIsEnabled && view != 'workbench.panel.chat.view.edits'" }, + { + "key": "shift+cmd+i", + "command": "kb-macro.wrap", + "args": { + "command": "workbench.panel.chatEditing" + }, + "when": "kb-macro.active && workbench.panel.chat.view.edits.active" + }, { "key": "alt+cmd+t", "command": "kb-macro.wrap",