Update 1.89 keybindigs
This commit is contained in:
Родитель
d735d1e00f
Коммит
798790b9c3
|
@ -142,9 +142,9 @@
|
|||
{ "key": "enter", "command": "breakpointWidget.action.acceptInput",
|
||||
"when": "breakpointWidgetVisible && inBreakpointWidget" },
|
||||
{ "key": "ctrl+up", "command": "chat.action.focus",
|
||||
"when": "chatCursorAtTop && inChatInput" },
|
||||
"when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" },
|
||||
{ "key": "ctrl+up", "command": "chat.action.focus",
|
||||
"when": "inChatInput && isLinux || inChatInput && isWindows" },
|
||||
"when": "inChatInput && isLinux && chatLocation == 'panel' || inChatInput && isWindows && chatLocation == 'panel'" },
|
||||
{ "key": "shift+escape", "command": "closeBreakpointWidget",
|
||||
"when": "breakpointWidgetVisible && textInputFocus" },
|
||||
{ "key": "escape", "command": "closeBreakpointWidget",
|
||||
|
@ -224,7 +224,7 @@
|
|||
{ "key": "escape", "command": "editor.action.hideColorPicker",
|
||||
"when": "standaloneColorPickerVisible" },
|
||||
{ "key": "ctrl+shift+.", "command": "editor.action.inPlaceReplace.down",
|
||||
"when": "editorTextFocus && !editorReadonly" },
|
||||
"when": "editorTextFocus && !editorReadonly" },
|
||||
{ "key": "ctrl+shift+,", "command": "editor.action.inPlaceReplace.up",
|
||||
"when": "editorTextFocus && !editorReadonly" },
|
||||
{ "key": "ctrl+]", "command": "editor.action.indentLines",
|
||||
|
@ -492,10 +492,10 @@
|
|||
{ "key": "escape", "command": "welcome.goBack",
|
||||
"when": "inWelcome && activeEditor == 'gettingStartedPage'" },
|
||||
{ "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" },
|
||||
{ "key": "enter", "command": "workbench.action.chat.acceptInput",
|
||||
"when": "chatInputHasText && inChatInput" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
|
||||
"when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" },
|
||||
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
|
||||
{ "key": "enter", "command": "workbench.action.chat.submit",
|
||||
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent",
|
||||
"when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" },
|
||||
{ "key": "alt+f5", "command": "workbench.action.editor.nextChange",
|
||||
|
@ -545,15 +545,15 @@
|
|||
{ "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges",
|
||||
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" },
|
||||
{ "key": "tab", "command": "jumpToNextSnippetPlaceholder",
|
||||
"when": "editorTextFocus && hasNextTabstop && inSnippetMode" },
|
||||
"when": "hasNextTabstop && inSnippetMode && textInputFocus" },
|
||||
{ "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder",
|
||||
"when": "editorTextFocus && hasPrevTabstop && inSnippetMode" },
|
||||
"when": "hasPrevTabstop && inSnippetMode && textInputFocus" },
|
||||
{ "key": "escape", "command": "leaveEditorMessage",
|
||||
"when": "messageVisible" },
|
||||
{ "key": "shift+escape", "command": "leaveSnippet",
|
||||
"when": "editorTextFocus && inSnippetMode" },
|
||||
"when": "inSnippetMode && textInputFocus" },
|
||||
{ "key": "escape", "command": "leaveSnippet",
|
||||
"when": "editorTextFocus && inSnippetMode" },
|
||||
"when": "inSnippetMode && textInputFocus" },
|
||||
{ "key": "shift+escape", "command": "closeDirtyDiff",
|
||||
"when": "dirtyDiffVisible" },
|
||||
{ "key": "escape", "command": "closeDirtyDiff",
|
||||
|
@ -634,16 +634,12 @@
|
|||
"when": "editorFocus && renameInputVisible" },
|
||||
{ "key": "down", "command": "focusNextRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "tab", "command": "focusNextRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "up", "command": "focusPreviousRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "shift+tab", "command": "focusPreviousRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults",
|
||||
"when": "fileMatchOrMatchFocus && searchViewletVisible" },
|
||||
{ "key": "ctrl+shift+;", "command": "breadcrumbs.focus",
|
||||
"when": "breadcrumbsPossible && breadcrumbsVisible" },
|
||||
"when": "breadcrumbsPossible && breadcrumbsVisible" },
|
||||
{ "key": "ctrl+shift+.", "command": "breadcrumbs.focusAndSelect",
|
||||
"when": "breadcrumbsPossible && breadcrumbsVisible" },
|
||||
{ "key": "ctrl+right", "command": "breadcrumbs.focusNext",
|
||||
|
@ -708,8 +704,12 @@
|
|||
"when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" },
|
||||
{ "key": "alt+]", "command": "editor.action.accessibleViewNext",
|
||||
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" },
|
||||
{ "key": "ctrl+alt+pagedown", "command": "editor.action.accessibleViewNextCodeBlock",
|
||||
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" },
|
||||
{ "key": "alt+[", "command": "editor.action.accessibleViewPrevious",
|
||||
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" },
|
||||
{ "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock",
|
||||
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" },
|
||||
{ "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding" },
|
||||
{ "key": "tab", "command": "editor.action.inlineSuggest.commit",
|
||||
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
|
||||
|
@ -761,8 +761,6 @@
|
|||
"when": "inlineChatHasProvider && inlineChatVisible" },
|
||||
{ "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk",
|
||||
"when": "inlineChatHasProvider && inlineChatVisible" },
|
||||
{ "key": "escape", "command": "inlineChat.quickVoice.Cancel",
|
||||
"when": "hasSpeechProvider && inlineChat.quickChatInProgress" },
|
||||
{ "key": "ctrl+k i", "command": "inlineChat.start",
|
||||
"when": "editorFocus && inlineChatHasProvider && !editorReadonly" },
|
||||
{ "key": "ctrl+i", "command": "inlineChat.start",
|
||||
|
@ -817,7 +815,7 @@
|
|||
"when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" },
|
||||
{ "key": "f3", "command": "list.find",
|
||||
"when": "listFocus && listSupportsFind" },
|
||||
{ "key": "ctrl+f", "command": "list.find",
|
||||
{ "key": "ctrl+alt+f", "command": "list.find",
|
||||
"when": "listFocus && listSupportsFind" },
|
||||
{ "key": "alt+down", "command": "list.focusAnyDown",
|
||||
"when": "listFocus && !inputFocus && !treestickyScrollFocused" },
|
||||
|
@ -868,9 +866,9 @@
|
|||
{ "key": "ctrl+up", "command": "notebook.cell.chat.focusPreviousCell",
|
||||
"when": "inlineChatFocused && notebookCellChatFocused" },
|
||||
{ "key": "ctrl+k i", "command": "notebook.cell.chat.start",
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "ctrl+i", "command": "notebook.cell.chat.start",
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "alt+delete", "command": "notebook.cell.clearOutputs",
|
||||
"when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "ctrl+k ctrl+c", "command": "notebook.cell.collapseCellInput",
|
||||
|
@ -882,11 +880,11 @@
|
|||
{ "key": "shift+alt+up", "command": "notebook.cell.copyUp",
|
||||
"when": "notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "delete", "command": "notebook.cell.delete",
|
||||
"when": "notebookEditorFocused && !inputFocus" },
|
||||
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" },
|
||||
{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage",
|
||||
"when": "notebookCellEditable && notebookEditable" },
|
||||
{ "key": "enter", "command": "notebook.cell.edit",
|
||||
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" },
|
||||
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" },
|
||||
{ "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput",
|
||||
"when": "notebookCellInputIsCollapsed && notebookCellListFocused" },
|
||||
{ "key": "ctrl+k t", "command": "notebook.cell.expandCellOutput",
|
||||
|
@ -1106,30 +1104,30 @@
|
|||
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" },
|
||||
{ "key": "ctrl+up", "command": "widgetNavigation.focusPrevious",
|
||||
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
|
||||
{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel" },
|
||||
{ "key": "ctrl+down", "command": "workbench.action.chat.focusInput",
|
||||
"when": "inChat && !inChatInput" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView",
|
||||
"when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" },
|
||||
{ "key": "ctrl+l", "command": "workbench.action.chat.newChat",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open",
|
||||
"when": "hasChatProvider" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open" },
|
||||
{ "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "delete", "command": "workbench.action.chat.remove",
|
||||
"when": "inChat && !inChatInput" },
|
||||
{ "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat",
|
||||
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit",
|
||||
"when": "hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" },
|
||||
{ "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" },
|
||||
{ "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" },
|
||||
{ "key": "ctrl+k ctrl+shift+w", "command": "workbench.action.closeAllGroups" },
|
||||
|
@ -1269,7 +1267,7 @@
|
|||
{ "key": "ctrl+tab", "command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
|
||||
"when": "!activeEditorGroupEmpty" },
|
||||
{ "key": "ctrl+shift+alt+i", "command": "workbench.action.quickchat.toggle",
|
||||
"when": "hasChatProvider" },
|
||||
"when": "chatIsEnabled" },
|
||||
{ "key": "ctrl+q", "command": "workbench.action.quit" },
|
||||
{ "key": "ctrl+alt+o", "command": "workbench.action.remote.showMenu" },
|
||||
{ "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" },
|
||||
|
@ -1294,21 +1292,29 @@
|
|||
{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build",
|
||||
"when": "taskCommandsRegistered" },
|
||||
{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" },
|
||||
"when": "terminalChatFocus && terminalChatVisible" },
|
||||
{ "key": "escape", "command": "workbench.action.terminal.chat.close",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" },
|
||||
"when": "terminalChatFocus && terminalChatVisible" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.focusInput",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" },
|
||||
"when": "terminalChatFocus && !inlineChatFocused" },
|
||||
{ "key": "ctrl+up", "command": "workbench.action.terminal.chat.focusInput",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" },
|
||||
"when": "terminalChatFocus && !inlineChatFocused" },
|
||||
{ "key": "ctrl+down", "command": "workbench.action.terminal.chat.focusResponse",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" },
|
||||
"when": "terminalChatFocus" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" },
|
||||
"when": "inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runCommand",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "escape", "command": "workbench.action.terminal.clearSelection",
|
||||
"when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" },
|
||||
{ "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection",
|
||||
|
@ -1406,11 +1412,11 @@
|
|||
{ "key": "ctrl+shift+5", "command": "workbench.action.terminal.splitActiveTab",
|
||||
"when": "terminalProcessSupported && terminalTabsFocus" },
|
||||
{ "key": "alt+c", "command": "workbench.action.terminal.toggleFindCaseSensitive",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "alt+r", "command": "workbench.action.terminal.toggleFindRegex",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "alt+w", "command": "workbench.action.terminal.toggleFindWholeWord",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal",
|
||||
"when": "terminal.active" },
|
||||
{ "key": "ctrl+alt+b", "command": "workbench.action.toggleAuxiliaryBar" },
|
||||
|
@ -1479,6 +1485,10 @@
|
|||
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" },
|
||||
{ "key": "escape", "command": "breadcrumbs.selectEditor",
|
||||
"when": "breadcrumbsActive && breadcrumbsVisible" },
|
||||
{ "key": "down", "command": "notebook.cell.nullAction",
|
||||
"when": "notebookOutputInputFocused" },
|
||||
{ "key": "up", "command": "notebook.cell.nullAction",
|
||||
"when": "notebookOutputInputFocused" },
|
||||
{ "key": "ctrl+a", "command": "notebook.cell.output.selectAll",
|
||||
"when": "notebookEditorFocused && notebookOutputFocused" },
|
||||
{ "key": "ctrl+k down", "command": "views.moveViewDown",
|
||||
|
@ -1531,6 +1541,8 @@
|
|||
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" },
|
||||
{ "key": "delete", "command": "deleteFile",
|
||||
"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",
|
||||
"when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" },
|
||||
{ "key": "ctrl+shift+o", "command": "editor.action.accessibleViewGoToSymbol",
|
||||
|
@ -1612,22 +1624,18 @@
|
|||
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected" },
|
||||
{ "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools",
|
||||
"when": "isDevelopment" },
|
||||
{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.start",
|
||||
"when": "editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" },
|
||||
{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.stop",
|
||||
"when": "hasSpeechProvider && inlineChat.quickChatInProgress" },
|
||||
{ "key": "escape", "command": "notifications.hideToasts",
|
||||
"when": "notificationFocus && notificationToastsVisible" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListening",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInChatEditor",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInChatView",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.editorDictation.stop",
|
||||
"when": "editorDictation.inProgress" },
|
||||
{ "key": "f10", "command": "extension.node-debug.startWithStopOnEntry",
|
||||
|
@ -1653,9 +1661,9 @@
|
|||
{ "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
|
||||
"when": "editorHasCallHierarchyProvider" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock",
|
||||
"when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" },
|
||||
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.start",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" },
|
||||
{ "key": "ctrl+.", "command": "acceptSelectedCodeAction",
|
||||
"when": "codeActionMenuVisible" },
|
||||
{ "key": "enter", "command": "acceptSelectedCodeAction",
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
{ "key": "enter", "command": "breakpointWidget.action.acceptInput",
|
||||
"when": "breakpointWidgetVisible && inBreakpointWidget" },
|
||||
{ "key": "cmd+up", "command": "chat.action.focus",
|
||||
"when": "chatCursorAtTop && inChatInput" },
|
||||
"when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" },
|
||||
{ "key": "shift+escape", "command": "closeBreakpointWidget",
|
||||
"when": "breakpointWidgetVisible && textInputFocus" },
|
||||
{ "key": "escape", "command": "closeBreakpointWidget",
|
||||
|
@ -568,10 +568,10 @@
|
|||
{ "key": "escape", "command": "welcome.goBack",
|
||||
"when": "inWelcome && activeEditor == 'gettingStartedPage'" },
|
||||
{ "key": "cmd+k alt+cmd+c", "command": "workbench.action.addComment" },
|
||||
{ "key": "enter", "command": "workbench.action.chat.acceptInput",
|
||||
"when": "chatInputHasText && inChatInput" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
|
||||
"when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" },
|
||||
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
|
||||
{ "key": "enter", "command": "workbench.action.chat.submit",
|
||||
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
|
||||
{ "key": "cmd+enter", "command": "workbench.action.chat.submitSecondaryAgent",
|
||||
"when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" },
|
||||
{ "key": "alt+f5", "command": "workbench.action.editor.nextChange",
|
||||
|
@ -623,15 +623,15 @@
|
|||
{ "key": "cmd+enter", "command": "notebook.cell.chat.acceptChanges",
|
||||
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" },
|
||||
{ "key": "tab", "command": "jumpToNextSnippetPlaceholder",
|
||||
"when": "editorTextFocus && hasNextTabstop && inSnippetMode" },
|
||||
"when": "hasNextTabstop && inSnippetMode && textInputFocus" },
|
||||
{ "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder",
|
||||
"when": "editorTextFocus && hasPrevTabstop && inSnippetMode" },
|
||||
"when": "hasPrevTabstop && inSnippetMode && textInputFocus" },
|
||||
{ "key": "escape", "command": "leaveEditorMessage",
|
||||
"when": "messageVisible" },
|
||||
{ "key": "shift+escape", "command": "leaveSnippet",
|
||||
"when": "editorTextFocus && inSnippetMode" },
|
||||
"when": "inSnippetMode && textInputFocus" },
|
||||
{ "key": "escape", "command": "leaveSnippet",
|
||||
"when": "editorTextFocus && inSnippetMode" },
|
||||
"when": "inSnippetMode && textInputFocus" },
|
||||
{ "key": "shift+escape", "command": "closeDirtyDiff",
|
||||
"when": "dirtyDiffVisible" },
|
||||
{ "key": "escape", "command": "closeDirtyDiff",
|
||||
|
@ -720,12 +720,8 @@
|
|||
"when": "editorFocus && renameInputVisible" },
|
||||
{ "key": "down", "command": "focusNextRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "tab", "command": "focusNextRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "up", "command": "focusPreviousRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "shift+tab", "command": "focusPreviousRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "shift+cmd+l", "command": "addCursorsAtSearchResults",
|
||||
"when": "fileMatchOrMatchFocus && searchViewletVisible" },
|
||||
{ "key": "shift+cmd+;", "command": "breadcrumbs.focus",
|
||||
|
@ -791,8 +787,12 @@
|
|||
"when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" },
|
||||
{ "key": "alt+]", "command": "editor.action.accessibleViewNext",
|
||||
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" },
|
||||
{ "key": "alt+cmd+pagedown", "command": "editor.action.accessibleViewNextCodeBlock",
|
||||
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" },
|
||||
{ "key": "alt+[", "command": "editor.action.accessibleViewPrevious",
|
||||
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" },
|
||||
{ "key": "alt+cmd+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock",
|
||||
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" },
|
||||
{ "key": "cmd+k cmd+k", "command": "editor.action.defineKeybinding" },
|
||||
{ "key": "tab", "command": "editor.action.inlineSuggest.commit",
|
||||
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
|
||||
|
@ -844,8 +844,6 @@
|
|||
"when": "inlineChatHasProvider && inlineChatVisible" },
|
||||
{ "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk",
|
||||
"when": "inlineChatHasProvider && inlineChatVisible" },
|
||||
{ "key": "escape", "command": "inlineChat.quickVoice.Cancel",
|
||||
"when": "hasSpeechProvider && inlineChat.quickChatInProgress" },
|
||||
{ "key": "cmd+k i", "command": "inlineChat.start",
|
||||
"when": "editorFocus && inlineChatHasProvider && !editorReadonly" },
|
||||
{ "key": "cmd+i", "command": "inlineChat.start",
|
||||
|
@ -904,7 +902,7 @@
|
|||
"when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" },
|
||||
{ "key": "f3", "command": "list.find",
|
||||
"when": "listFocus && listSupportsFind" },
|
||||
{ "key": "cmd+f", "command": "list.find",
|
||||
{ "key": "alt+cmd+f", "command": "list.find",
|
||||
"when": "listFocus && listSupportsFind" },
|
||||
{ "key": "ctrl+alt+n", "command": "list.focusAnyDown",
|
||||
"when": "listFocus && !inputFocus && !treestickyScrollFocused" },
|
||||
|
@ -965,9 +963,9 @@
|
|||
{ "key": "cmd+up", "command": "notebook.cell.chat.focusPreviousCell",
|
||||
"when": "inlineChatFocused && notebookCellChatFocused" },
|
||||
{ "key": "cmd+k i", "command": "notebook.cell.chat.start",
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "cmd+i", "command": "notebook.cell.chat.start",
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "alt+delete", "command": "notebook.cell.clearOutputs",
|
||||
"when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "cmd+k cmd+c", "command": "notebook.cell.collapseCellInput",
|
||||
|
@ -979,11 +977,11 @@
|
|||
{ "key": "shift+alt+up", "command": "notebook.cell.copyUp",
|
||||
"when": "notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "cmd+backspace", "command": "notebook.cell.delete",
|
||||
"when": "notebookEditorFocused && !inputFocus" },
|
||||
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" },
|
||||
{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage",
|
||||
"when": "notebookCellEditable && notebookEditable" },
|
||||
{ "key": "enter", "command": "notebook.cell.edit",
|
||||
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" },
|
||||
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" },
|
||||
{ "key": "cmd+k cmd+c", "command": "notebook.cell.expandCellInput",
|
||||
"when": "notebookCellInputIsCollapsed && notebookCellListFocused" },
|
||||
{ "key": "cmd+k t", "command": "notebook.cell.expandCellOutput",
|
||||
|
@ -1214,30 +1212,30 @@
|
|||
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" },
|
||||
{ "key": "cmd+up", "command": "widgetNavigation.focusPrevious",
|
||||
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
|
||||
{ "key": "cmd+escape", "command": "workbench.action.chat.cancel" },
|
||||
{ "key": "cmd+down", "command": "workbench.action.chat.focusInput",
|
||||
"when": "inChat && !inChatInput" },
|
||||
{ "key": "cmd+i", "command": "workbench.action.chat.holdToVoiceChatInChatView",
|
||||
"when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" },
|
||||
{ "key": "ctrl+l", "command": "workbench.action.chat.newChat",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "alt+cmd+pagedown", "command": "workbench.action.chat.nextCodeBlock",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "cmd+f9", "command": "workbench.action.chat.nextFileTree",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
{ "key": "ctrl+cmd+i", "command": "workbench.action.chat.open",
|
||||
"when": "hasChatProvider" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+cmd+i", "command": "workbench.action.chat.open" },
|
||||
{ "key": "alt+cmd+pageup", "command": "workbench.action.chat.previousCodeBlock",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "shift+cmd+f9", "command": "workbench.action.chat.previousFileTree",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "cmd+backspace", "command": "workbench.action.chat.remove",
|
||||
"when": "inChat && !inChatInput" },
|
||||
{ "key": "shift+cmd+enter", "command": "workbench.action.chat.sendToNewChat",
|
||||
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
|
||||
{ "key": "cmd+i", "command": "workbench.action.chat.startVoiceChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" },
|
||||
{ "key": "cmd+i", "command": "workbench.action.chat.stopListeningAndSubmit",
|
||||
"when": "hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" },
|
||||
{ "key": "cmd+w", "command": "workbench.action.closeActiveEditor" },
|
||||
{ "key": "cmd+k cmd+w", "command": "workbench.action.closeAllEditors" },
|
||||
{ "key": "cmd+k shift+cmd+w", "command": "workbench.action.closeAllGroups" },
|
||||
|
@ -1377,7 +1375,7 @@
|
|||
"when": "!activeEditorGroupEmpty" },
|
||||
{ "key": "ctrl+q", "command": "workbench.action.quickOpenView" },
|
||||
{ "key": "shift+cmd+i", "command": "workbench.action.quickchat.toggle",
|
||||
"when": "hasChatProvider" },
|
||||
"when": "chatIsEnabled" },
|
||||
{ "key": "cmd+q", "command": "workbench.action.quit" },
|
||||
{ "key": "alt+cmd+o", "command": "workbench.action.remote.showMenu" },
|
||||
{ "key": "shift+cmd+t", "command": "workbench.action.reopenClosedEditor" },
|
||||
|
@ -1403,21 +1401,29 @@
|
|||
{ "key": "shift+cmd+b", "command": "workbench.action.tasks.build",
|
||||
"when": "taskCommandsRegistered" },
|
||||
{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" },
|
||||
"when": "terminalChatFocus && terminalChatVisible" },
|
||||
{ "key": "escape", "command": "workbench.action.terminal.chat.close",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" },
|
||||
"when": "terminalChatFocus && terminalChatVisible" },
|
||||
{ "key": "cmd+i", "command": "workbench.action.terminal.chat.focusInput",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" },
|
||||
"when": "terminalChatFocus && !inlineChatFocused" },
|
||||
{ "key": "cmd+up", "command": "workbench.action.terminal.chat.focusInput",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" },
|
||||
"when": "terminalChatFocus && !inlineChatFocused" },
|
||||
{ "key": "cmd+down", "command": "workbench.action.terminal.chat.focusResponse",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" },
|
||||
"when": "terminalChatFocus" },
|
||||
{ "key": "alt+cmd+enter", "command": "workbench.action.terminal.chat.insertCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "alt+cmd+enter", "command": "workbench.action.terminal.chat.insertFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" },
|
||||
"when": "inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" },
|
||||
{ "key": "cmd+enter", "command": "workbench.action.terminal.chat.runCommand",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "cmd+enter", "command": "workbench.action.terminal.chat.runFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "escape", "command": "workbench.action.terminal.clearSelection",
|
||||
"when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" },
|
||||
{ "key": "cmd+c", "command": "workbench.action.terminal.copySelection",
|
||||
|
@ -1472,8 +1478,6 @@
|
|||
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated || terminalEditorFocus && terminalFocus && terminalProcessSupported" },
|
||||
{ "key": "ctrl+shift+`", "command": "workbench.action.terminal.new",
|
||||
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" },
|
||||
{ "key": "ctrl+shift+`", "command": "workbench.action.terminal.new",
|
||||
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" },
|
||||
{ "key": "shift+cmd+c", "command": "workbench.action.terminal.openNativeConsole",
|
||||
"when": "!terminalFocus" },
|
||||
{ "key": "cmd+v", "command": "workbench.action.terminal.paste",
|
||||
|
@ -1531,13 +1535,11 @@
|
|||
{ "key": "cmd+\\", "command": "workbench.action.terminal.splitActiveTab",
|
||||
"when": "terminalProcessSupported && terminalTabsFocus" },
|
||||
{ "key": "alt+cmd+c", "command": "workbench.action.terminal.toggleFindCaseSensitive",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "alt+cmd+r", "command": "workbench.action.terminal.toggleFindRegex",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "alt+cmd+w", "command": "workbench.action.terminal.toggleFindWholeWord",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
{ "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal",
|
||||
"when": "terminal.active" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal",
|
||||
"when": "terminal.active" },
|
||||
{ "key": "alt+cmd+b", "command": "workbench.action.toggleAuxiliaryBar" },
|
||||
|
@ -1607,6 +1609,10 @@
|
|||
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" },
|
||||
{ "key": "escape", "command": "breadcrumbs.selectEditor",
|
||||
"when": "breadcrumbsActive && breadcrumbsVisible" },
|
||||
{ "key": "down", "command": "notebook.cell.nullAction",
|
||||
"when": "notebookOutputInputFocused" },
|
||||
{ "key": "up", "command": "notebook.cell.nullAction",
|
||||
"when": "notebookOutputInputFocused" },
|
||||
{ "key": "cmd+a", "command": "notebook.cell.output.selectAll",
|
||||
"when": "notebookEditorFocused && notebookOutputFocused" },
|
||||
{ "key": "cmd+k down", "command": "views.moveViewDown",
|
||||
|
@ -1754,22 +1760,18 @@
|
|||
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected" },
|
||||
{ "key": "alt+cmd+i", "command": "workbench.action.toggleDevTools",
|
||||
"when": "isDevelopment" },
|
||||
{ "key": "cmd+k i", "command": "inlineChat.quickVoice.start",
|
||||
"when": "editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" },
|
||||
{ "key": "cmd+k i", "command": "inlineChat.quickVoice.stop",
|
||||
"when": "hasSpeechProvider && inlineChat.quickChatInProgress" },
|
||||
{ "key": "escape", "command": "notifications.hideToasts",
|
||||
"when": "notificationFocus && notificationToastsVisible" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListening",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInChatEditor",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInChatView",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.editorDictation.stop",
|
||||
"when": "editorDictation.inProgress" },
|
||||
{ "key": "f10", "command": "extension.node-debug.startWithStopOnEntry",
|
||||
|
@ -1795,9 +1797,9 @@
|
|||
{ "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
|
||||
"when": "editorHasCallHierarchyProvider" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock",
|
||||
"when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" },
|
||||
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
|
||||
{ "key": "cmd+i", "command": "workbench.action.terminal.chat.start",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" },
|
||||
{ "key": "cmd+.", "command": "acceptSelectedCodeAction",
|
||||
"when": "codeActionMenuVisible" },
|
||||
{ "key": "enter", "command": "acceptSelectedCodeAction",
|
||||
|
|
|
@ -97,6 +97,18 @@
|
|||
{ "key": "tab", "command": "tab",
|
||||
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" },
|
||||
{ "key": "ctrl+z", "command": "undo" },
|
||||
{ "key": "shift+down", "command": "cursorColumnSelectDown",
|
||||
"when": "editorColumnSelection && textInputFocus" },
|
||||
{ "key": "shift+left", "command": "cursorColumnSelectLeft",
|
||||
"when": "editorColumnSelection && textInputFocus" },
|
||||
{ "key": "shift+pagedown", "command": "cursorColumnSelectPageDown",
|
||||
"when": "editorColumnSelection && textInputFocus" },
|
||||
{ "key": "shift+pageup", "command": "cursorColumnSelectPageUp",
|
||||
"when": "editorColumnSelection && textInputFocus" },
|
||||
{ "key": "shift+right", "command": "cursorColumnSelectRight",
|
||||
"when": "editorColumnSelection && textInputFocus" },
|
||||
{ "key": "shift+up", "command": "cursorColumnSelectUp",
|
||||
"when": "editorColumnSelection && textInputFocus" },
|
||||
{ "key": "shift+escape", "command": "removeSecondaryCursors",
|
||||
"when": "editorHasMultipleSelections && textInputFocus" },
|
||||
{ "key": "escape", "command": "removeSecondaryCursors",
|
||||
|
@ -146,9 +158,9 @@
|
|||
{ "key": "enter", "command": "breakpointWidget.action.acceptInput",
|
||||
"when": "breakpointWidgetVisible && inBreakpointWidget" },
|
||||
{ "key": "ctrl+up", "command": "chat.action.focus",
|
||||
"when": "chatCursorAtTop && inChatInput" },
|
||||
"when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" },
|
||||
{ "key": "ctrl+up", "command": "chat.action.focus",
|
||||
"when": "inChatInput && isLinux || inChatInput && isWindows" },
|
||||
"when": "inChatInput && isLinux && chatLocation == 'panel' || inChatInput && isWindows && chatLocation == 'panel'" },
|
||||
{ "key": "shift+escape", "command": "closeBreakpointWidget",
|
||||
"when": "breakpointWidgetVisible && textInputFocus" },
|
||||
{ "key": "escape", "command": "closeBreakpointWidget",
|
||||
|
@ -494,10 +506,10 @@
|
|||
{ "key": "escape", "command": "welcome.goBack",
|
||||
"when": "inWelcome && activeEditor == 'gettingStartedPage'" },
|
||||
{ "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" },
|
||||
{ "key": "enter", "command": "workbench.action.chat.acceptInput",
|
||||
"when": "chatInputHasText && inChatInput" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
|
||||
"when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat" },
|
||||
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
|
||||
{ "key": "enter", "command": "workbench.action.chat.submit",
|
||||
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitSecondaryAgent",
|
||||
"when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" },
|
||||
{ "key": "alt+f5", "command": "workbench.action.editor.nextChange",
|
||||
|
@ -547,15 +559,15 @@
|
|||
{ "key": "ctrl+enter", "command": "notebook.cell.chat.acceptChanges",
|
||||
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" },
|
||||
{ "key": "tab", "command": "jumpToNextSnippetPlaceholder",
|
||||
"when": "editorTextFocus && hasNextTabstop && inSnippetMode" },
|
||||
"when": "hasNextTabstop && inSnippetMode && textInputFocus" },
|
||||
{ "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder",
|
||||
"when": "editorTextFocus && hasPrevTabstop && inSnippetMode" },
|
||||
"when": "hasPrevTabstop && inSnippetMode && textInputFocus" },
|
||||
{ "key": "escape", "command": "leaveEditorMessage",
|
||||
"when": "messageVisible" },
|
||||
{ "key": "shift+escape", "command": "leaveSnippet",
|
||||
"when": "editorTextFocus && inSnippetMode" },
|
||||
"when": "inSnippetMode && textInputFocus" },
|
||||
{ "key": "escape", "command": "leaveSnippet",
|
||||
"when": "editorTextFocus && inSnippetMode" },
|
||||
"when": "inSnippetMode && textInputFocus" },
|
||||
{ "key": "shift+escape", "command": "closeDirtyDiff",
|
||||
"when": "dirtyDiffVisible" },
|
||||
{ "key": "escape", "command": "closeDirtyDiff",
|
||||
|
@ -636,12 +648,8 @@
|
|||
"when": "editorFocus && renameInputVisible" },
|
||||
{ "key": "down", "command": "focusNextRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "tab", "command": "focusNextRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "up", "command": "focusPreviousRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "shift+tab", "command": "focusPreviousRenameSuggestion",
|
||||
"when": "renameInputVisible" },
|
||||
{ "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults",
|
||||
"when": "fileMatchOrMatchFocus && searchViewletVisible" },
|
||||
{ "key": "ctrl+shift+;", "command": "breadcrumbs.focus",
|
||||
|
@ -707,8 +715,12 @@
|
|||
"when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" },
|
||||
{ "key": "alt+]", "command": "editor.action.accessibleViewNext",
|
||||
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" },
|
||||
{ "key": "ctrl+alt+pagedown", "command": "editor.action.accessibleViewNextCodeBlock",
|
||||
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" },
|
||||
{ "key": "alt+[", "command": "editor.action.accessibleViewPrevious",
|
||||
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" },
|
||||
{ "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock",
|
||||
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" },
|
||||
{ "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding" },
|
||||
{ "key": "tab", "command": "editor.action.inlineSuggest.commit",
|
||||
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
|
||||
|
@ -760,8 +772,6 @@
|
|||
"when": "inlineChatHasProvider && inlineChatVisible" },
|
||||
{ "key": "shift+f7", "command": "inlineChat.moveToPreviousHunk",
|
||||
"when": "inlineChatHasProvider && inlineChatVisible" },
|
||||
{ "key": "escape", "command": "inlineChat.quickVoice.Cancel",
|
||||
"when": "hasSpeechProvider && inlineChat.quickChatInProgress" },
|
||||
{ "key": "ctrl+k i", "command": "inlineChat.start",
|
||||
"when": "editorFocus && inlineChatHasProvider && !editorReadonly" },
|
||||
{ "key": "ctrl+i", "command": "inlineChat.start",
|
||||
|
@ -816,7 +826,7 @@
|
|||
"when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" },
|
||||
{ "key": "f3", "command": "list.find",
|
||||
"when": "listFocus && listSupportsFind" },
|
||||
{ "key": "ctrl+f", "command": "list.find",
|
||||
{ "key": "ctrl+alt+f", "command": "list.find",
|
||||
"when": "listFocus && listSupportsFind" },
|
||||
{ "key": "alt+down", "command": "list.focusAnyDown",
|
||||
"when": "listFocus && !inputFocus && !treestickyScrollFocused" },
|
||||
|
@ -867,9 +877,9 @@
|
|||
{ "key": "ctrl+up", "command": "notebook.cell.chat.focusPreviousCell",
|
||||
"when": "inlineChatFocused && notebookCellChatFocused" },
|
||||
{ "key": "ctrl+k i", "command": "notebook.cell.chat.start",
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "ctrl+i", "command": "notebook.cell.chat.start",
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
"when": "config.notebook.experimental.cellChat && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && inlineChatHasProvider && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "alt+delete", "command": "notebook.cell.clearOutputs",
|
||||
"when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "ctrl+k ctrl+c", "command": "notebook.cell.collapseCellInput",
|
||||
|
@ -881,11 +891,11 @@
|
|||
{ "key": "shift+alt+up", "command": "notebook.cell.copyUp",
|
||||
"when": "notebookEditorFocused && !inputFocus" },
|
||||
{ "key": "delete", "command": "notebook.cell.delete",
|
||||
"when": "notebookEditorFocused && !inputFocus" },
|
||||
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" },
|
||||
{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage",
|
||||
"when": "notebookCellEditable && notebookEditable" },
|
||||
{ "key": "enter", "command": "notebook.cell.edit",
|
||||
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus" },
|
||||
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" },
|
||||
{ "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput",
|
||||
"when": "notebookCellInputIsCollapsed && notebookCellListFocused" },
|
||||
{ "key": "ctrl+k t", "command": "notebook.cell.expandCellOutput",
|
||||
|
@ -1106,30 +1116,30 @@
|
|||
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" },
|
||||
{ "key": "ctrl+up", "command": "widgetNavigation.focusPrevious",
|
||||
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
|
||||
{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel" },
|
||||
{ "key": "ctrl+down", "command": "workbench.action.chat.focusInput",
|
||||
"when": "inChat && !inChatInput" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView",
|
||||
"when": "hasChatProvider && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused" },
|
||||
{ "key": "ctrl+l", "command": "workbench.action.chat.newChat",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open",
|
||||
"when": "hasChatProvider" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open" },
|
||||
{ "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree",
|
||||
"when": "hasChatProvider && inChat" },
|
||||
"when": "chatIsEnabled && inChat" },
|
||||
{ "key": "delete", "command": "workbench.action.chat.remove",
|
||||
"when": "inChat && !inChatInput" },
|
||||
{ "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat",
|
||||
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !inlineChatHasActiveRequest && !inlineVoiceChatInProgress && !notebookEditorFocused && !quickVoiceChatInProgress && !terminalChatActiveRequest && !terminalVoiceChatInProgress && !voiceChatGettingReady && !voiceChatInEditorInProgress && !voiceChatInViewInProgress" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit",
|
||||
"when": "hasChatProvider && hasSpeechProvider && inChatInput && voiceChatInProgress || hasChatProvider && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && voiceChatInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && voiceChatInProgress" },
|
||||
{ "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" },
|
||||
{ "key": "ctrl+f4", "command": "workbench.action.closeActiveEditor" },
|
||||
{ "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" },
|
||||
|
@ -1273,7 +1283,7 @@
|
|||
"when": "!activeEditorGroupEmpty" },
|
||||
{ "key": "ctrl+q", "command": "workbench.action.quickOpenView" },
|
||||
{ "key": "ctrl+shift+i", "command": "workbench.action.quickchat.toggle",
|
||||
"when": "hasChatProvider" },
|
||||
"when": "chatIsEnabled" },
|
||||
{ "key": "ctrl+alt+o", "command": "workbench.action.remote.showMenu" },
|
||||
{ "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" },
|
||||
{ "key": "ctrl+shift+h", "command": "workbench.action.replaceInFiles" },
|
||||
|
@ -1297,21 +1307,29 @@
|
|||
{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build",
|
||||
"when": "taskCommandsRegistered" },
|
||||
{ "key": "shift+escape", "command": "workbench.action.terminal.chat.close",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" },
|
||||
"when": "terminalChatFocus && terminalChatVisible" },
|
||||
{ "key": "escape", "command": "workbench.action.terminal.chat.close",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && terminalChatVisible" },
|
||||
"when": "terminalChatFocus && terminalChatVisible" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.focusInput",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" },
|
||||
"when": "terminalChatFocus && !inlineChatFocused" },
|
||||
{ "key": "ctrl+up", "command": "workbench.action.terminal.chat.focusInput",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus && !inlineChatFocused" },
|
||||
"when": "terminalChatFocus && !inlineChatFocused" },
|
||||
{ "key": "ctrl+down", "command": "workbench.action.terminal.chat.focusResponse",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatFocus" },
|
||||
"when": "terminalChatFocus" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "alt+enter", "command": "workbench.action.terminal.chat.insertFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "enter", "command": "workbench.action.terminal.chat.makeRequest",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" },
|
||||
"when": "inlineChatFocused && terminalChatAgentRegistered && terminalHasBeenCreated && !inlineChatEmpty && !terminalChatActiveRequest || inlineChatFocused && terminalChatAgentRegistered && terminalProcessSupported && !inlineChatEmpty && !terminalChatActiveRequest" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runCommand",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest || config.terminal.integrated.experimentalInlineChat && terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || terminalChatAgentRegistered && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.terminal.chat.runFirstCommand",
|
||||
"when": "terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalHasBeenCreated && !terminalChatActiveRequest || terminalChatAgentRegistered && terminalChatResponseContainsMultipleCodeBlocks && terminalProcessSupported && !terminalChatActiveRequest" },
|
||||
{ "key": "escape", "command": "workbench.action.terminal.clearSelection",
|
||||
"when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible" },
|
||||
{ "key": "ctrl+c", "command": "workbench.action.terminal.copyAndClearSelection",
|
||||
|
@ -1409,11 +1427,11 @@
|
|||
{ "key": "ctrl+shift+5", "command": "workbench.action.terminal.splitActiveTab",
|
||||
"when": "terminalProcessSupported && terminalTabsFocus" },
|
||||
{ "key": "alt+c", "command": "workbench.action.terminal.toggleFindCaseSensitive",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "alt+r", "command": "workbench.action.terminal.toggleFindRegex",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "alt+w", "command": "workbench.action.terminal.toggleFindWholeWord",
|
||||
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocusInAny && terminalHasBeenCreated || terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported" },
|
||||
{ "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal",
|
||||
"when": "terminal.active" },
|
||||
{ "key": "ctrl+alt+b", "command": "workbench.action.toggleAuxiliaryBar" },
|
||||
|
@ -1483,6 +1501,10 @@
|
|||
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus && !treestickyScrollFocused" },
|
||||
{ "key": "escape", "command": "breadcrumbs.selectEditor",
|
||||
"when": "breadcrumbsActive && breadcrumbsVisible" },
|
||||
{ "key": "down", "command": "notebook.cell.nullAction",
|
||||
"when": "notebookOutputInputFocused" },
|
||||
{ "key": "up", "command": "notebook.cell.nullAction",
|
||||
"when": "notebookOutputInputFocused" },
|
||||
{ "key": "ctrl+a", "command": "notebook.cell.output.selectAll",
|
||||
"when": "notebookEditorFocused && notebookOutputFocused" },
|
||||
{ "key": "ctrl+k down", "command": "views.moveViewDown",
|
||||
|
@ -1620,22 +1642,18 @@
|
|||
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected" },
|
||||
{ "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools",
|
||||
"when": "isDevelopment" },
|
||||
{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.start",
|
||||
"when": "editorFocus && hasSpeechProvider && !inlineChat.quickChatInProgress" },
|
||||
{ "key": "ctrl+k i", "command": "inlineChat.quickVoice.stop",
|
||||
"when": "hasSpeechProvider && inlineChat.quickChatInProgress" },
|
||||
{ "key": "escape", "command": "notifications.hideToasts",
|
||||
"when": "notificationFocus && notificationToastsVisible" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListening",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInChatEditor",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInEditorInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInEditorInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInChatView",
|
||||
"when": "hasChatProvider && hasSpeechProvider && voiceChatInViewInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && voiceChatInViewInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInQuickChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && quickVoiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && quickVoiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.chat.stopListeningInTerminalChat",
|
||||
"when": "hasChatProvider && hasSpeechProvider && terminalVoiceChatInProgress" },
|
||||
"when": "chatIsEnabled && hasSpeechProvider && terminalVoiceChatInProgress" },
|
||||
{ "key": "escape", "command": "workbench.action.editorDictation.stop",
|
||||
"when": "editorDictation.inProgress" },
|
||||
{ "key": "f10", "command": "extension.node-debug.startWithStopOnEntry",
|
||||
|
@ -1661,9 +1679,9 @@
|
|||
{ "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
|
||||
"when": "editorHasCallHierarchyProvider" },
|
||||
{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock",
|
||||
"when": "accessibleViewInCodeBlock && hasChatProvider || hasChatProvider && inChat && !inChatInput" },
|
||||
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
|
||||
{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.start",
|
||||
"when": "config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || config.terminal.integrated.experimentalInlineChat && inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" },
|
||||
"when": "inlineChatHasProvider && terminalFocusInAny && terminalHasBeenCreated || inlineChatHasProvider && terminalFocusInAny && terminalProcessSupported" },
|
||||
{ "key": "ctrl+.", "command": "acceptSelectedCodeAction",
|
||||
"when": "codeActionMenuVisible" },
|
||||
{ "key": "enter", "command": "acceptSelectedCodeAction",
|
||||
|
|
Загрузка…
Ссылка в новой задаче