Last active
December 5, 2023 10:16
-
-
Save DoubleDeez/ac3ff43ccf1a6913bc3c717dfde76ac6 to your computer and use it in GitHub Desktop.
VSCode Visual Assist Key Bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "alt+g", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "alt+m", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "editor.action.organizeImports", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "shift+alt+o", | |
"command": "-editor.action.organizeImports", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "shift+alt+o", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "shift+alt+s", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-filesExplorer.findInFolder", | |
"when": "explorerResourceIsFolder && explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "editor.action.goToReferences", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "-editor.action.goToReferences", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.zoomOut" | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "-revealFileInOS", | |
"when": "!editorFocus" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment