|
1 | | -// Default Keybindings of Visual Studio Code 1.106.3 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.107.0 for Linux |
2 | 2 |
|
3 | 3 | [ |
4 | 4 | { "key": "escape escape", "command": "workbench.action.exitZenMode", |
|
116 | 116 | "when": "inReferenceSearchEditor || referenceSearchVisible" }, |
117 | 117 | { "key": "shift+f4", "command": "goToPreviousReference", |
118 | 118 | "when": "inReferenceSearchEditor || referenceSearchVisible" }, |
119 | | - { "key": "escape", "command": "inlineChat.hideHint", |
120 | | - "when": "inlineChatShowingHint" }, |
121 | 119 | { "key": "ctrl+enter", "command": "refactorPreview.apply", |
122 | 120 | "when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" }, |
123 | 121 | { "key": "alt+enter", "command": "testing.editFocusedTest", |
|
537 | 535 | { "key": "enter", "command": "workbench.action.chat.submit", |
538 | 536 | "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" }, |
539 | 537 | { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", |
540 | | - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" }, |
| 538 | + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, |
541 | 539 | { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", |
542 | | - "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, |
| 540 | + "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatAgentKind == 'ask'" }, |
543 | 541 | { "key": "alt+f5", "command": "workbench.action.editor.nextChange", |
544 | 542 | "when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" }, |
545 | 543 | { "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange", |
|
845 | 843 | "when": "inlineChatHasNotebookInline && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, |
846 | 844 | { "key": "ctrl+i", "command": "inlineChat.start", |
847 | 845 | "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasProvider && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor != 'workbench.editor.notebook'" }, |
848 | | - { "key": "ctrl+k i", "command": "inlineChat.startWithCurrentLine", |
849 | | - "when": "inlineChatHasNotebookInline && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, |
850 | 846 | { "key": "ctrl+z", "command": "inlineChat.unstash", |
851 | 847 | "when": "inlineChatHasStashedSession && !editorReadonly" }, |
852 | 848 | { "key": "ctrl+down", "command": "inlineChat.viewInChat", |
|
1251 | 1247 | "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'bottom'" }, |
1252 | 1248 | { "key": "ctrl+up", "command": "widgetNavigation.focusPrevious", |
1253 | 1249 | "when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" }, |
1254 | | - { "key": "ctrl+alt+/", "command": "workbench.action.chat.attach.instructions", |
1255 | | - "when": "chatIsEnabled" }, |
1256 | 1250 | { "key": "ctrl+escape", "command": "workbench.action.chat.cancel" }, |
1257 | 1251 | { "key": "enter", "command": "workbench.action.chat.editRequests", |
1258 | 1252 | "when": "inChat && !textInputFocus" }, |
|
1293 | 1287 | { "key": "alt+meta+/", "command": "workbench.action.chat.run.prompt.current", |
1294 | 1288 | "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, |
1295 | 1289 | { "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat", |
1296 | | - "when": "chatInputHasText && inChatInput || chatPromptFileAttached && inChatInput" }, |
| 1290 | + "when": "chatInputHasText && inChatInput" }, |
1297 | 1291 | { "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat", |
1298 | 1292 | "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" }, |
1299 | 1293 | { "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit", |
|
1471 | 1465 | "when": "taskTerminalActive && terminalFocus" }, |
1472 | 1466 | { "key": "escape", "command": "workbench.action.terminal.chat.close", |
1473 | 1467 | "when": "chatIsEnabled && terminalChatFocus && terminalChatVisible || chatIsEnabled && terminalChatVisible && terminalFocus" }, |
| 1468 | + { "key": "ctrl+shift+alt+t", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminal", |
| 1469 | + "when": "inChat" }, |
| 1470 | + { "key": "ctrl+shift+alt+o", "command": "workbench.action.terminal.chat.focusMostRecentChatTerminalOutput", |
| 1471 | + "when": "inChat" }, |
1474 | 1472 | { "key": "ctrl+alt+enter", "command": "workbench.action.terminal.chat.insertCommand", |
1475 | 1473 | "when": "chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalHasBeenCreated && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks || chatIsEnabled && terminalChatResponseContainsCodeBlock && terminalProcessSupported && !terminalChatActiveRequest && !terminalChatResponseContainsMultipleCodeBlocks" }, |
1476 | 1474 | { "key": "alt+enter", "command": "workbench.action.terminal.chat.insertCommand", |
|
1707 | 1705 | "when": "chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && editorFocus && !chatEdits.isCurrentlyBeingModified || chatEdits.cursorInChangeRange && chatEdits.hasEditorModifications && notebookCellListFocused && !chatEdits.isCurrentlyBeingModified" }, |
1708 | 1706 | { "key": "tab", "command": "editor.action.inlineSuggest.jump", |
1709 | 1707 | "when": "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" }, |
1710 | | - { "key": "ctrl+i", "command": "inlineChat.startWithCurrentLine", |
1711 | | - "when": "inlineChatHasNotebookInline && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor == 'workbench.editor.notebook' || inlineChatHasProvider && inlineChatShowingHint && !editorReadonly && !inlineChatVisible && activeEditor != 'workbench.editor.notebook'" }, |
1712 | 1708 | { "key": "escape", "command": "inlineChat2.close", |
1713 | 1709 | "when": "chatInputHasFocus && inlineChatHasEditsAgent && inlineChatVisible && activeEditor != 'workbench.editor.notebook' || chatInputHasFocus && inlineChatHasNotebookAgent && inlineChatVisible && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor != 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookAgent && inlineChatVisible && !chatEdits.hasEditorModifications && activeEditor == 'workbench.editor.notebook'" }, |
1714 | 1710 | { "key": "f3", "command": "list.find.replInputFocus", |
|
1741 | 1737 | "when": "focusedView != ''" }, |
1742 | 1738 | { "key": "ctrl+k up", "command": "views.moveViewUp", |
1743 | 1739 | "when": "focusedView != ''" }, |
| 1740 | + { "key": "ctrl+enter", "command": "workbench.action.chat.acceptElicitation", |
| 1741 | + "when": "chatHasElicitationRequest && inChat" }, |
1744 | 1742 | { "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool", |
1745 | 1743 | "when": "chatHasToolConfirmation && inChat" }, |
1746 | 1744 | { "key": "ctrl+l", "command": "workbench.action.chat.newChat", |
|
1797 | 1795 | "when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" }, |
1798 | 1796 | { "key": "up", "command": "workbench.action.terminal.hideSuggestWidgetAndNavigateHistory", |
1799 | 1797 | "when": "config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated || config.terminal.integrated.suggest.upArrowNavigatesHistory && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetHasNavigated" }, |
| 1798 | + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", |
| 1799 | + "when": "inInlineEditsPreviewEditor" }, |
| 1800 | + { "key": "shift+tab", "command": "editor.action.inlineSuggest.commitAlternativeAction", |
| 1801 | + "when": "inlineEditIsVisible && inlineSuggestionAlternativeActionVisible" }, |
1800 | 1802 | { "key": "f2", "command": "debug.renameWatchExpression", |
1801 | 1803 | "when": "watchExpressionsFocused" }, |
1802 | 1804 | { "key": "f2", "command": "debug.setVariable", |
|
0 commit comments