Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Defining key shortcut for completion engine via extension point
Defining key shortcut for completion engine via extension point [message #1796933] Mon, 22 October 2018 14:26
Eclipse UserFriend
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

Previous Topic:Generating final getters and setters
Next Topic:Eclipse 2018-09 SVN Plugins Not Working
Goto Forum:
  


Current Time: Mon Sep 16 22:22:59 GMT 2024

Powered by FUDForum. Page generated in 0.04041 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top