Skip to content

Commit c7d6bcb

Browse files
author
gh-workflow
committed
Update for VSCode 1.92.0
1 parent 601244c commit c7d6bcb

6 files changed

+60
-24
lines changed

linux.keybindings.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.91.1 for Linux
1+
// Default Keybindings of Visual Studio Code 1.92.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -513,7 +513,7 @@
513513
"when": "inWelcome && activeEditor == 'gettingStartedPage'" },
514514
{ "key": "ctrl+k ctrl+alt+c", "command": "workbench.action.addComment" },
515515
{ "key": "ctrl+/", "command": "workbench.action.chat.attachContext",
516-
"when": "inChatInput" },
516+
"when": "config.chat.experimental.variables.editor && inChatInput && chatLocation == 'editor' || config.chat.experimental.variables.notebook && inChatInput && chatLocation == 'notebook' || config.chat.experimental.variables.terminal && inChatInput && chatLocation == 'terminal' || inChatInput && !quickChatHasFocus && chatLocation == 'panel'" },
517517
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
518518
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
519519
{ "key": "enter", "command": "workbench.action.chat.submit",
@@ -722,8 +722,10 @@
722722
"when": "!accessibilityHelpIsShown" },
723723
{ "key": "shift+alt+f1", "command": "editor.action.accessibilityHelp",
724724
"when": "!accessibilityHelpIsShown" },
725+
{ "key": "alt+a", "command": "editor.action.accessibilityHelpConfigureAssignedKeybindings",
726+
"when": "accessibilityHelpIsShown && accessibleViewHasAssignedKeybindings" },
725727
{ "key": "alt+k", "command": "editor.action.accessibilityHelpConfigureKeybindings",
726-
"when": "accessibilityHelpIsShown" },
728+
"when": "accessibilityHelpIsShown && accessibleViewHasUnassignedKeybindings" },
727729
{ "key": "alt+h", "command": "editor.action.accessibilityHelpOpenHelpLink",
728730
"when": "accessibilityHelpIsShown" },
729731
{ "key": "alt+f2", "command": "editor.action.accessibleView" },
@@ -958,6 +960,8 @@
958960
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus" },
959961
{ "key": "ctrl+l", "command": "notebook.centerActiveCell",
960962
"when": "notebookEditorFocused" },
963+
{ "key": "ctrl+/", "command": "notebook.commentSelectedCells",
964+
"when": "notebookEditable && notebookEditorFocused && !inputFocus" },
961965
{ "key": "alt+f3", "command": "notebook.diff.action.next",
962966
"when": "activeEditor == 'workbench.editor.notebookTextDiffEditor'" },
963967
{ "key": "shift+alt+f3", "command": "notebook.diff.action.previous",
@@ -1626,7 +1630,7 @@
16261630
"when": "inDebugRepl" },
16271631
{ "key": "tab", "command": "workbench.action.terminal.acceptSelectedSuggestion",
16281632
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
1629-
{ "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestion",
1633+
{ "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestionEnter",
16301634
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
16311635
{ "key": "escape", "command": "workbench.action.terminal.hideSuggestWidget",
16321636
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
@@ -1785,6 +1789,8 @@
17851789
"when": "reference-list.hasResult && references-view.canNavigate" },
17861790
{ "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
17871791
"when": "editorHasCallHierarchyProvider" },
1792+
{ "key": "ctrl+enter", "command": "workbench.action.chat.applyInEditor",
1793+
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
17881794
{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock",
17891795
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
17901796
{ "key": "ctrl+i", "command": "workbench.action.terminal.chat.start",

linux.negative.keybindings.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.91.1 for Linux
1+
// Default Keybindings of Visual Studio Code 1.92.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "-workbench.action.exitZenMode",
@@ -513,7 +513,7 @@
513513
"when": "inWelcome && activeEditor == 'gettingStartedPage'" },
514514
{ "key": "ctrl+k ctrl+alt+c", "command": "-workbench.action.addComment" },
515515
{ "key": "ctrl+/", "command": "-workbench.action.chat.attachContext",
516-
"when": "inChatInput" },
516+
"when": "config.chat.experimental.variables.editor && inChatInput && chatLocation == 'editor' || config.chat.experimental.variables.notebook && inChatInput && chatLocation == 'notebook' || config.chat.experimental.variables.terminal && inChatInput && chatLocation == 'terminal' || inChatInput && !quickChatHasFocus && chatLocation == 'panel'" },
517517
{ "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal",
518518
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
519519
{ "key": "enter", "command": "-workbench.action.chat.submit",
@@ -722,8 +722,10 @@
722722
"when": "!accessibilityHelpIsShown" },
723723
{ "key": "shift+alt+f1", "command": "-editor.action.accessibilityHelp",
724724
"when": "!accessibilityHelpIsShown" },
725+
{ "key": "alt+a", "command": "-editor.action.accessibilityHelpConfigureAssignedKeybindings",
726+
"when": "accessibilityHelpIsShown && accessibleViewHasAssignedKeybindings" },
725727
{ "key": "alt+k", "command": "-editor.action.accessibilityHelpConfigureKeybindings",
726-
"when": "accessibilityHelpIsShown" },
728+
"when": "accessibilityHelpIsShown && accessibleViewHasUnassignedKeybindings" },
727729
{ "key": "alt+h", "command": "-editor.action.accessibilityHelpOpenHelpLink",
728730
"when": "accessibilityHelpIsShown" },
729731
{ "key": "alt+f2", "command": "-editor.action.accessibleView" },
@@ -958,6 +960,8 @@
958960
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus" },
959961
{ "key": "ctrl+l", "command": "-notebook.centerActiveCell",
960962
"when": "notebookEditorFocused" },
963+
{ "key": "ctrl+/", "command": "-notebook.commentSelectedCells",
964+
"when": "notebookEditable && notebookEditorFocused && !inputFocus" },
961965
{ "key": "alt+f3", "command": "-notebook.diff.action.next",
962966
"when": "activeEditor == 'workbench.editor.notebookTextDiffEditor'" },
963967
{ "key": "shift+alt+f3", "command": "-notebook.diff.action.previous",
@@ -1626,7 +1630,7 @@
16261630
"when": "inDebugRepl" },
16271631
{ "key": "tab", "command": "-workbench.action.terminal.acceptSelectedSuggestion",
16281632
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
1629-
{ "key": "enter", "command": "-workbench.action.terminal.acceptSelectedSuggestion",
1633+
{ "key": "enter", "command": "-workbench.action.terminal.acceptSelectedSuggestionEnter",
16301634
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
16311635
{ "key": "escape", "command": "-workbench.action.terminal.hideSuggestWidget",
16321636
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
@@ -1785,6 +1789,8 @@
17851789
"when": "reference-list.hasResult && references-view.canNavigate" },
17861790
{ "key": "shift+alt+h", "command": "-references-view.showCallHierarchy",
17871791
"when": "editorHasCallHierarchyProvider" },
1792+
{ "key": "ctrl+enter", "command": "-workbench.action.chat.applyInEditor",
1793+
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
17881794
{ "key": "ctrl+enter", "command": "-workbench.action.chat.insertCodeBlock",
17891795
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
17901796
{ "key": "ctrl+i", "command": "-workbench.action.terminal.chat.start",

macos.keybindings.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.91.1 for macOS
1+
// Default Keybindings of Visual Studio Code 1.92.0 for macOS
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -585,7 +585,7 @@
585585
"when": "inWelcome && activeEditor == 'gettingStartedPage'" },
586586
{ "key": "cmd+k alt+cmd+c", "command": "workbench.action.addComment" },
587587
{ "key": "cmd+/", "command": "workbench.action.chat.attachContext",
588-
"when": "inChatInput" },
588+
"when": "config.chat.experimental.variables.editor && inChatInput && chatLocation == 'editor' || config.chat.experimental.variables.notebook && inChatInput && chatLocation == 'notebook' || config.chat.experimental.variables.terminal && inChatInput && chatLocation == 'terminal' || inChatInput && !quickChatHasFocus && chatLocation == 'panel'" },
589589
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
590590
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
591591
{ "key": "enter", "command": "workbench.action.chat.submit",
@@ -798,8 +798,10 @@
798798
"when": "inSearchEditor" },
799799
{ "key": "alt+f1", "command": "editor.action.accessibilityHelp",
800800
"when": "!accessibilityHelpIsShown" },
801+
{ "key": "alt+a", "command": "editor.action.accessibilityHelpConfigureAssignedKeybindings",
802+
"when": "accessibilityHelpIsShown && accessibleViewHasAssignedKeybindings" },
801803
{ "key": "alt+k", "command": "editor.action.accessibilityHelpConfigureKeybindings",
802-
"when": "accessibilityHelpIsShown" },
804+
"when": "accessibilityHelpIsShown && accessibleViewHasUnassignedKeybindings" },
803805
{ "key": "alt+h", "command": "editor.action.accessibilityHelpOpenHelpLink",
804806
"when": "accessibilityHelpIsShown" },
805807
{ "key": "alt+f2", "command": "editor.action.accessibleView" },
@@ -1047,6 +1049,8 @@
10471049
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus" },
10481050
{ "key": "ctrl+l", "command": "notebook.centerActiveCell",
10491051
"when": "notebookEditorFocused" },
1052+
{ "key": "cmd+/", "command": "notebook.commentSelectedCells",
1053+
"when": "notebookEditable && notebookEditorFocused && !inputFocus" },
10501054
{ "key": "alt+f3", "command": "notebook.diff.action.next",
10511055
"when": "activeEditor == 'workbench.editor.notebookTextDiffEditor'" },
10521056
{ "key": "shift+alt+f3", "command": "notebook.diff.action.previous",
@@ -1789,7 +1793,7 @@
17891793
"when": "inDebugRepl" },
17901794
{ "key": "tab", "command": "workbench.action.terminal.acceptSelectedSuggestion",
17911795
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
1792-
{ "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestion",
1796+
{ "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestionEnter",
17931797
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
17941798
{ "key": "cmd+k", "command": "workbench.action.terminal.clear",
17951799
"when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled || accessibilityModeEnabled && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibilityModeEnabled && accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" },
@@ -1968,6 +1972,8 @@
19681972
"when": "reference-list.hasResult && references-view.canNavigate" },
19691973
{ "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
19701974
"when": "editorHasCallHierarchyProvider" },
1975+
{ "key": "ctrl+enter", "command": "workbench.action.chat.applyInEditor",
1976+
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
19711977
{ "key": "ctrl+enter", "command": "workbench.action.chat.insertCodeBlock",
19721978
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat && !inChatInput" },
19731979
{ "key": "cmd+i", "command": "workbench.action.terminal.chat.start",

0 commit comments

Comments
 (0)