onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.83k stars 281 forks source link

keybinding to extension wont work #3783

Open jstaursky opened 3 years ago

jstaursky commented 3 years ago

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.