Update 1.42 Windows keybindings
This commit is contained in:
Родитель
1fe18d4249
Коммит
3de97748f8
|
@ -1,9 +1,9 @@
|
|||
[
|
||||
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
|
||||
"when": "inZenMode" },
|
||||
{ "key": "shift+escape", "command": "closeReferenceSearchEditor",
|
||||
{ "key": "shift+escape", "command": "closeReferenceSearch",
|
||||
"when": "inReferenceSearchEditor && !config.editor.stablePeek" },
|
||||
{ "key": "escape", "command": "closeReferenceSearchEditor",
|
||||
{ "key": "escape", "command": "closeReferenceSearch",
|
||||
"when": "inReferenceSearchEditor && !config.editor.stablePeek" },
|
||||
{ "key": "shift+escape", "command": "cancelSelection",
|
||||
"when": "editorHasSelection && textInputFocus" },
|
||||
|
@ -97,6 +97,16 @@
|
|||
"when": "editorHasMultipleSelections && textInputFocus" },
|
||||
{ "key": "escape", "command": "removeSecondaryCursors",
|
||||
"when": "editorHasMultipleSelections && textInputFocus" },
|
||||
{ "key": "f12", "command": "goToNextReference",
|
||||
"when": "inReferenceSearchEditor || referenceSearchVisible" },
|
||||
{ "key": "f4", "command": "goToNextReference",
|
||||
"when": "inReferenceSearchEditor || referenceSearchVisible" },
|
||||
{ "key": "shift+f12", "command": "goToPreviousReference",
|
||||
"when": "inReferenceSearchEditor || referenceSearchVisible" },
|
||||
{ "key": "shift+f4", "command": "goToPreviousReference",
|
||||
"when": "inReferenceSearchEditor || referenceSearchVisible" },
|
||||
{ "key": "shift+enter", "command": "refactorPreview.apply",
|
||||
"when": "refactorPreview.enabled && refactorPreview.enabled && activePanel == 'refactorPreview'" },
|
||||
{ "key": "ctrl+f", "command": "actions.find" },
|
||||
{ "key": "enter", "command": "breakpointWidget.action.acceptInput",
|
||||
"when": "breakpointWidgetVisible && inBreakpointWidget" },
|
||||
|
@ -199,11 +209,11 @@
|
|||
{ "key": "ctrl+shift+\\", "command": "editor.action.jumpToBracket",
|
||||
"when": "editorTextFocus" },
|
||||
{ "key": "alt+f8", "command": "editor.action.marker.next",
|
||||
"when": "editorTextFocus && !editorReadonly" },
|
||||
"when": "editorFocus && !editorReadonly" },
|
||||
{ "key": "f8", "command": "editor.action.marker.nextInFiles",
|
||||
"when": "editorFocus && !editorReadonly" },
|
||||
{ "key": "shift+alt+f8", "command": "editor.action.marker.prev",
|
||||
"when": "editorTextFocus && !editorReadonly" },
|
||||
"when": "editorFocus && !editorReadonly" },
|
||||
{ "key": "shift+f8", "command": "editor.action.marker.prevInFiles",
|
||||
"when": "editorFocus && !editorReadonly" },
|
||||
{ "key": "alt+down", "command": "editor.action.moveLinesDownAction",
|
||||
|
@ -312,7 +322,7 @@
|
|||
{ "key": "ctrl+k ctrl+[", "command": "editor.foldRecursively",
|
||||
"when": "editorTextFocus && foldingEnabled" },
|
||||
{ "key": "f12", "command": "editor.gotoNextSymbolFromResult",
|
||||
"when": "hasSymbols && config.editor.gotoLocation.multiple == 'goto'" },
|
||||
"when": "hasSymbols" },
|
||||
{ "key": "escape", "command": "editor.gotoNextSymbolFromResult.cancel",
|
||||
"when": "hasSymbols" },
|
||||
{ "key": "ctrl+k ctrl+l", "command": "editor.toggleFold",
|
||||
|
@ -347,6 +357,8 @@
|
|||
"when": "inSettingsEditor" },
|
||||
{ "key": "ctrl+/", "command": "toggleExplainMode",
|
||||
"when": "suggestWidgetVisible" },
|
||||
{ "key": "ctrl+k f2", "command": "togglePeekWidgetFocus",
|
||||
"when": "inReferenceSearchEditor || referenceSearchVisible" },
|
||||
{ "key": "alt+f5", "command": "workbench.action.editor.nextChange",
|
||||
"when": "editorTextFocus" },
|
||||
{ "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange",
|
||||
|
@ -403,14 +415,6 @@
|
|||
"when": "editorFocus && markersNavigationVisible" },
|
||||
{ "key": "escape", "command": "closeMarkersNavigation",
|
||||
"when": "editorFocus && markersNavigationVisible" },
|
||||
{ "key": "f12", "command": "goToNextReferenceFromEmbeddedEditor",
|
||||
"when": "inReferenceSearchEditor" },
|
||||
{ "key": "f4", "command": "goToNextReferenceFromEmbeddedEditor",
|
||||
"when": "inReferenceSearchEditor" },
|
||||
{ "key": "shift+f12", "command": "goToPreviousReferenceFromEmbeddedEditor",
|
||||
"when": "inReferenceSearchEditor" },
|
||||
{ "key": "shift+f4", "command": "goToPreviousReferenceFromEmbeddedEditor",
|
||||
"when": "inReferenceSearchEditor" },
|
||||
{ "key": "shift+escape", "command": "closeParameterHints",
|
||||
"when": "editorFocus && parameterHintsVisible" },
|
||||
{ "key": "escape", "command": "closeParameterHints",
|
||||
|
@ -423,14 +427,14 @@
|
|||
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" },
|
||||
{ "key": "up", "command": "showPrevParameterHint",
|
||||
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" },
|
||||
{ "key": "shift+enter", "command": "acceptSelectedSuggestion",
|
||||
"when": "suggestWidgetVisible && textInputFocus" },
|
||||
{ "key": "shift+tab", "command": "acceptAlternativeSelectedSuggestion",
|
||||
"when": "suggestWidgetVisible && textInputFocus && textInputFocus" },
|
||||
{ "key": "shift+enter", "command": "acceptAlternativeSelectedSuggestion",
|
||||
"when": "suggestWidgetVisible && textInputFocus && textInputFocus" },
|
||||
{ "key": "tab", "command": "acceptSelectedSuggestion",
|
||||
"when": "suggestWidgetVisible && textInputFocus" },
|
||||
{ "key": "enter", "command": "acceptSelectedSuggestion",
|
||||
"when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" },
|
||||
{ "key": "shift+tab", "command": "acceptSelectedSuggestion",
|
||||
"when": "suggestWidgetVisible && textInputFocus" },
|
||||
{ "key": "shift+escape", "command": "hideSuggestWidget",
|
||||
"when": "suggestWidgetVisible && textInputFocus" },
|
||||
{ "key": "escape", "command": "hideSuggestWidget",
|
||||
|
@ -463,6 +467,8 @@
|
|||
"when": "suggestWidgetVisible && textInputFocus" },
|
||||
{ "key": "enter", "command": "acceptRenameInput",
|
||||
"when": "editorFocus && renameInputVisible" },
|
||||
{ "key": "shift+enter", "command": "acceptRenameInputWithPreview",
|
||||
"when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible" },
|
||||
{ "key": "shift+escape", "command": "cancelRenameInput",
|
||||
"when": "editorFocus && renameInputVisible" },
|
||||
{ "key": "escape", "command": "cancelRenameInput",
|
||||
|
@ -516,7 +522,7 @@
|
|||
{ "key": "shift+enter", "command": "editor.refocusCallHierarchy",
|
||||
"when": "callHierarchyVisible" },
|
||||
{ "key": "shift+alt+h", "command": "editor.showCallHierarchy",
|
||||
"when": "editorHasCallHierarchyProvider && editorTextFocus && !callHierarchyVisible && !inReferenceSearchEditor" },
|
||||
"when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor" },
|
||||
{ "key": "shift+alt+h", "command": "editor.toggleCallHierarchy",
|
||||
"when": "callHierarchyVisible" },
|
||||
{ "key": "ctrl+enter", "command": "explorer.openToSide",
|
||||
|
@ -615,6 +621,14 @@
|
|||
"when": "problemFocus" },
|
||||
{ "key": "ctrl+.", "command": "problems.action.showQuickFixes",
|
||||
"when": "problemFocus" },
|
||||
{ "key": "space", "command": "refactorPreview.toggleCheckedState",
|
||||
"when": "listFocus && refactorPreview.enabled && !inputFocus" },
|
||||
{ "key": "delete", "command": "remote.tunnel.closeInline",
|
||||
"when": "tunnelCloseable && tunnelViewFocus" },
|
||||
{ "key": "ctrl+c", "command": "remote.tunnel.copyAddressInline",
|
||||
"when": "tunnelViewFocus && tunnelType == 'Detected' || tunnelViewFocus && tunnelType == 'Forwarded'" },
|
||||
{ "key": "f2", "command": "remote.tunnel.label",
|
||||
"when": "tunnelViewFocus && tunnelType == 'Forwarded'" },
|
||||
{ "key": "shift+alt+r", "command": "revealFileInOS",
|
||||
"when": "!editorFocus" },
|
||||
{ "key": "ctrl+enter", "command": "scm.acceptInput",
|
||||
|
@ -647,12 +661,10 @@
|
|||
"when": "folderMatchFocus && replaceActive && searchViewletVisible" },
|
||||
{ "key": "ctrl+shift+1", "command": "search.action.replaceAllInFolder",
|
||||
"when": "folderMatchFocus && replaceActive && searchViewletVisible" },
|
||||
{ "key": "ctrl+shift+r", "command": "search.action.rerunEditorSearch",
|
||||
"when": "editorLangId == 'search-result' && editorLangId == 'search-result'" },
|
||||
{ "key": "ctrl+down", "command": "search.focus.nextInputBox",
|
||||
"when": "inputBoxFocus && searchViewletVisible" },
|
||||
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible" },
|
||||
{ "key": "ctrl+up", "command": "search.focus.previousInputBox",
|
||||
"when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" },
|
||||
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" },
|
||||
{ "key": "down", "command": "settings.action.focusSettingsFromSearch",
|
||||
"when": "inSettingsSearch && !suggestWidgetVisible" },
|
||||
{ "key": "enter", "command": "settings.action.focusSettingsList",
|
||||
|
@ -661,6 +673,14 @@
|
|||
"when": "inSettingsEditor" },
|
||||
{ "key": "alt+c", "command": "toggleSearchCaseSensitive",
|
||||
"when": "searchViewletFocus && searchViewletVisible && !fileMatchOrFolderMatchFocus" },
|
||||
{ "key": "alt+c", "command": "toggleSearchEditorCaseSensitive",
|
||||
"when": "inSearchEditor && searchInputBoxFocus" },
|
||||
{ "key": "alt+l", "command": "toggleSearchEditorContextLines",
|
||||
"when": "inSearchEditor" },
|
||||
{ "key": "alt+r", "command": "toggleSearchEditorRegex",
|
||||
"when": "inSearchEditor && searchInputBoxFocus" },
|
||||
{ "key": "alt+w", "command": "toggleSearchEditorWholeWord",
|
||||
"when": "inSearchEditor && searchInputBoxFocus" },
|
||||
{ "key": "alt+r", "command": "toggleSearchRegex",
|
||||
"when": "searchViewletFocus && searchViewletVisible" },
|
||||
{ "key": "alt+w", "command": "toggleSearchWholeWord",
|
||||
|
@ -764,6 +784,7 @@
|
|||
{ "key": "ctrl+k ctrl+q", "command": "workbench.action.navigateToLastEditLocation" },
|
||||
{ "key": "ctrl+shift+n", "command": "workbench.action.newWindow" },
|
||||
{ "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" },
|
||||
{ "key": "ctrl+k ctrl+pagedown", "command": "workbench.action.nextEditorInGroup" },
|
||||
{ "key": "alt+1", "command": "workbench.action.openEditorAtIndex1" },
|
||||
{ "key": "alt+2", "command": "workbench.action.openEditorAtIndex2" },
|
||||
{ "key": "alt+3", "command": "workbench.action.openEditorAtIndex3" },
|
||||
|
@ -774,14 +795,15 @@
|
|||
{ "key": "alt+8", "command": "workbench.action.openEditorAtIndex8" },
|
||||
{ "key": "alt+9", "command": "workbench.action.openEditorAtIndex9" },
|
||||
{ "key": "ctrl+k ctrl+s", "command": "workbench.action.openGlobalKeybindings" },
|
||||
{ "key": "ctrl+tab", "command": "workbench.action.openNextRecentlyUsedEditorInGroup" },
|
||||
{ "key": "ctrl+shift+tab", "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup" },
|
||||
{ "key": "ctrl+r", "command": "workbench.action.openRecent" },
|
||||
{ "key": "ctrl+,", "command": "workbench.action.openSettings" },
|
||||
{ "key": "ctrl+shift+u", "command": "workbench.action.output.toggleOutput" },
|
||||
{ "key": "ctrl+pageup", "command": "workbench.action.previousEditor" },
|
||||
{ "key": "ctrl+k ctrl+pageup", "command": "workbench.action.previousEditorInGroup" },
|
||||
{ "key": "ctrl+e", "command": "workbench.action.quickOpen" },
|
||||
{ "key": "ctrl+p", "command": "workbench.action.quickOpen" },
|
||||
{ "key": "ctrl+shift+tab", "command": "workbench.action.quickOpenLeastRecentlyUsedEditorInGroup" },
|
||||
{ "key": "ctrl+tab", "command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup" },
|
||||
{ "key": "ctrl+q", "command": "workbench.action.quickOpenView" },
|
||||
{ "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" },
|
||||
{ "key": "ctrl+shift+h", "command": "workbench.action.replaceInFiles" },
|
||||
|
@ -943,19 +965,11 @@
|
|||
{ "key": "f2", "command": "renameFile",
|
||||
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" },
|
||||
{ "key": "f11", "command": "workbench.action.debug.stepInto",
|
||||
"when": "debugState == 'stopped'" },
|
||||
"when": "debugState != 'inactive'" },
|
||||
{ "key": "shift+escape", "command": "closeReferenceSearch",
|
||||
"when": "referenceSearchVisible && !config.editor.stablePeek" },
|
||||
{ "key": "escape", "command": "closeReferenceSearch",
|
||||
"when": "referenceSearchVisible && !config.editor.stablePeek" },
|
||||
{ "key": "f12", "command": "goToNextReference",
|
||||
"when": "referenceSearchVisible" },
|
||||
{ "key": "f4", "command": "goToNextReference",
|
||||
"when": "referenceSearchVisible" },
|
||||
{ "key": "shift+f12", "command": "goToPreviousReference",
|
||||
"when": "referenceSearchVisible" },
|
||||
{ "key": "shift+f4", "command": "goToPreviousReference",
|
||||
"when": "referenceSearchVisible" },
|
||||
{ "key": "escape", "command": "notifications.hideList",
|
||||
"when": "notificationCenterVisible" },
|
||||
{ "key": "escape", "command": "notifications.hideToasts",
|
||||
|
|
|
@ -499,7 +499,7 @@ Key|Command|Command id
|
|||
`kb(editor.action.marker.nextInFiles)`|Go to Next Error or Warning|`editor.action.marker.nextInFiles`
|
||||
`kb(editor.action.marker.prevInFiles)`|Go to Previous Error or Warning|`editor.action.marker.prevInFiles`
|
||||
`kb(workbench.action.showCommands)` or `kbstyle(F1)`|Show All Commands|`workbench.action.showCommands`
|
||||
`kb(workbench.action.openPreviousRecentlyUsedEditorInGroup)`|Navigate Editor Group History|`workbench.action.openPreviousRecentlyUsedEditorInGroup`
|
||||
`kb(workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup)`|Navigate Editor Group History|`workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup`
|
||||
`kb(workbench.action.navigateBack)`|Go Back|`workbench.action.navigateBack`
|
||||
`kb(workbench.action.quickInputBack)`|Go back in Quick Input|`workbench.action.quickInputBack`
|
||||
`kb(workbench.action.navigateForward)`|Go Forward|`workbench.action.navigateForward`
|
||||
|
@ -544,8 +544,6 @@ Key|Command|Command id
|
|||
`kb(workbench.action.closeAllEditors)`|Close All|`workbench.action.closeAllEditors`
|
||||
`kb(workbench.action.reopenClosedEditor)`|Reopen Closed Editor|`workbench.action.reopenClosedEditor`
|
||||
`kb(workbench.action.keepEditor)`|Keep Open|`workbench.action.keepEditor`
|
||||
`kb(workbench.action.openNextRecentlyUsedEditorInGroup)`|Open Next|`workbench.action.openNextRecentlyUsedEditorInGroup`
|
||||
`kb(workbench.action.openPreviousRecentlyUsedEditorInGroup)`|Open Previous|`workbench.action.openPreviousRecentlyUsedEditorInGroup`
|
||||
`kb(workbench.action.files.copyPathOfActiveFile)`|Copy Path of Active File|`workbench.action.files.copyPathOfActiveFile`
|
||||
`kb(workbench.action.files.revealActiveFileInWindows)`|Reveal Active File in Windows|`workbench.action.files.revealActiveFileInWindows`
|
||||
`kb(workbench.action.files.showOpenedFileInNewWindow)`|Show Opened File in New Window|`workbench.action.files.showOpenedFileInNewWindow`
|
||||
|
|
|
@ -436,7 +436,7 @@ Keyboard Shortcut: `kb(workbench.action.closeActiveEditor)`
|
|||
|
||||
### Navigation history
|
||||
|
||||
Navigate entire history: `kb(workbench.action.openNextRecentlyUsedEditorInGroup)`
|
||||
Navigate entire history: `kb(wworkbench.action.quickOpenPreviousRecentlyUsedEditorInGroup)`
|
||||
|
||||
Navigate back: `kb(workbench.action.navigateBack)`
|
||||
|
||||
|
|
|
@ -177,7 +177,7 @@ VS Code is equally accessible from the keyboard. The most important key combinat
|
|||
The **Command Palette** provides access to many commands. You can execute editor commands, open files, search for symbols, and see a quick outline of a file, all using the same interactive window. Here are a few tips:
|
||||
|
||||
* `kb(workbench.action.quickOpen)` will let you navigate to any file or symbol by typing its name
|
||||
* `kb(workbench.action.openPreviousRecentlyUsedEditorInGroup)` will cycle you through the last set of files opened
|
||||
* `kb(workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup)` will cycle you through the last set of files opened
|
||||
* `kb(workbench.action.showCommands)` will bring you directly to the editor commands
|
||||
* `kb(workbench.action.gotoSymbol)` will let you navigate to a specific symbol in a file
|
||||
* `kb(workbench.action.gotoLine)` will let you navigate to a specific line in a file
|
||||
|
@ -306,8 +306,7 @@ Here are some handy keyboard shortcuts to quickly navigate between editors and e
|
|||
|
||||
* `kb(workbench.action.nextEditor)` go to the right editor.
|
||||
* `kb(workbench.action.previousEditor)` go to the left editor.
|
||||
* `kb(workbench.action.openNextRecentlyUsedEditorInGroup)` open the next editor in the editor group MRU list.
|
||||
* `kb(workbench.action.openPreviousRecentlyUsedEditorInGroup)` open the previous editor in the editor group MRU list.
|
||||
* `kb(workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup)` open the previous editor in the editor group MRU list.
|
||||
* `kb(workbench.action.focusFirstEditorGroup)` go to the leftmost editor group.
|
||||
* `kb(workbench.action.focusSecondEditorGroup)` go to the center editor group.
|
||||
* `kb(workbench.action.focusThirdEditorGroup)` go to the rightmost editor group.
|
||||
|
|
|
@ -79,7 +79,7 @@ With editor **stacks**, we've tried to address these issues:
|
|||
* Closing an editor from a group reveals the editor that was previously opened in that group until the last editor closes and the group hides.
|
||||
* You get prompted to save for dirty editors.
|
||||
|
||||
Use `kb(workbench.action.openPreviousRecentlyUsedEditorInGroup)` to bring up a list of most recently used editors of a group for navigation. Use the **View: Show All Editors** command to show a list of all open editors across all groups.
|
||||
Use `kb(workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup)` to bring up a list of most recently used editors of a group for navigation. Use the **View: Show All Editors** command to show a list of all open editors across all groups.
|
||||
|
||||
![Editor Stacks](images/June_2016/stacks.png)
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# January 2020 (version 1.42)
|
||||
|
||||
## VS Code Remote Core
|
||||
|
||||
## SSH
|
||||
|
||||
## WSL
|
||||
|
||||
## Containers
|
||||
|
||||
## Remote extension authoring
|
Загрузка…
Ссылка в новой задаче