Defining key shortcut for completion engine via extension point [message #1796933] |
Mon, 22 October 2018 14:26 |
Eclipse User |
|
|
|
HI,
I'm looking for a way to specify a key shortcut for a completion engine via extension points.
In preference page > General > Keys I can specify shortcuts like "Ctrl+Shift+Space" which triggers the completion in my current editor. But how can I do that if I want to preconfigure this shortcut as plug-in developer?
I tried:
<extension point="org.eclipse.ui.bindings"> https://www.minimilitia.mobi/ https://www.applock.ooo/ https://www.7zip.vip/
<key sequence="Ctrl+7"
commandId="org.eclipse.recommenders.completion.rcp.chain.category"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
contextId="org.eclipse.jdt.ui.javaEditorScope"/>
</extension>
but giving the completion context id as commandId does not work. I assume that I have to specify a command before. But how do I specify that this command is bound to the particular code completion?
Thanks in advance for some hints.
[Updated on: Mon, 22 October 2018 19:32] by Moderator Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04041 seconds