mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
feat(keybindings): add extra keybindings for various peek operations
This commit is contained in:
@@ -547,11 +547,26 @@
|
||||
"key": "alt+g alt+b",
|
||||
"command": "workbench.action.navigateBack"
|
||||
},
|
||||
{ // Peek definition.
|
||||
"key": "alt+shift+;",
|
||||
"command": "editor.action.peekDefinition",
|
||||
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
||||
},
|
||||
{ // Peek symbol references.
|
||||
"key": "alt+shift+/",
|
||||
"command": "editor.action.referenceSearch.trigger",
|
||||
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
||||
},
|
||||
{ // Peek symbol implementations.
|
||||
"key": "alt+shift+\\",
|
||||
"command": "editor.action.peekImplementation",
|
||||
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
||||
},
|
||||
{ // Peek call hierarchy.
|
||||
"key": "alt+shift+'",
|
||||
"command": "editor.showCallHierarchy",
|
||||
"when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor"
|
||||
},
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: Emacs-like behavior
|
||||
|
||||
Reference in New Issue
Block a user