Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keybinding to extension wont work #3783

Open
jstaursky opened this issue Jul 23, 2021 · 0 comments
Open

keybinding to extension wont work #3783

jstaursky opened this issue Jul 23, 2021 · 0 comments

Comments

@jstaursky
Copy link

Im probably missing something but why does the following not work when I set it in keybindings.json?

{ "key": "shift+alt+a",           "command": "editor.action.referenceSearch.trigger",
                                     "when": "editorTextFocus && editorLangId == 'C++'" },

I'm trying to bind clangd's "find all references" to a key--so does this not work because its originates from an extension?
tbh Im no expert in vscode either and understanding what commands are available to put into the command and when fields I'm not super clear on.

bryphe added a commit that referenced this issue Aug 22, 2021
* Add entry about 'editorLangId'
* Add editor lang id context key
* Add some missing key bindings for language features to docs
* Add CHANGES entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant