Ctrl doesn't work defining an keyschema [message #337055] |
Fri, 24 July 2009 22:59 |
|
Hi,
Two examples from my plugin.xml.....
the first one works fine, the second with the M1(Ctrl) doesn't work at
all.
I tried it also with Alt, this works fine, too.
What's wrong with my example - or is this an bug in eclipse???????
<key sequence="M3+K" commandId="org.eclipse.ui.newWizard"
schemeId="xxx.keys.idea.id">
<parameter id="newWizardId"
value="org.eclipse.jdt.ui.wizards.NewClassCreationWizard"/ >
</key>
<key commandId="org.eclipse.jdt.ui.navigate.open.type"
schemeId="vsa.keys.idea.id" sequence="M1+N"/>
Greetings
Markus
|
|
|
Re: Ctrl doesn't work defining an keyschema [message #337056 is a reply to message #337055] |
Sat, 25 July 2009 06:56 |
|
Hi,
this key might already be used. Please see
http://www.vogella.de/articles/EclipseCommands/article.html# keybinding
to see how to define your own keybinding schema.
Best regards, Lars
Markus Oley wrote:
> Hi,
> Two examples from my plugin.xml.....
> the first one works fine, the second with the M1(Ctrl) doesn't work at
> all. I tried it also with Alt, this works fine, too.
> What's wrong with my example - or is this an bug in eclipse???????
>
> <key sequence="M3+K" commandId="org.eclipse.ui.newWizard"
> schemeId="xxx.keys.idea.id">
> <parameter id="newWizardId"
> value="org.eclipse.jdt.ui.wizards.NewClassCreationWizard"/ >
> </key>
>
> <key commandId="org.eclipse.jdt.ui.navigate.open.type"
> schemeId="vsa.keys.idea.id" sequence="M1+N"/>
>
> Greetings
> Markus
>
>
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
|
|
|
Re: Ctrl doesn't work defining an keyschema [message #337058 is a reply to message #337056] |
Sat, 25 July 2009 08:49 |
|
Hi Lars,
Thank you for your fast answer and your link....
I want to define an keyscheme to simulate Intellij-Keymap.
So I downloaded an older plugin from net, which does this things and
wanted to edit this.
My key-binding-sheme doesn't inherit another scheme, I didn't define a
parentID.
Can it also be, that this key is defined already?
When I press the Ctrl+N nothing happens ;-(((.
Also in the keybindings-preference-page there's nothing found when I
search for this shortcut. None of my shortcuts that start with Ctrl are
found...
I use openSuSE 11.0 32bit..... , my LANG is set to de_DE@ISO-8859-15.
Best Regards
Markus
|
|
|
Re: Ctrl doesn't work defining an keyschema [message #337065 is a reply to message #337058] |
Sat, 25 July 2009 21:01 |
|
Hi Markus,
I believe if you using -consoleLog you should see if their is a conflict
in the keybindings. Or you can turn the tracing for keybindings as
described here:
http://www.vogella.de/articles/EclipseCodeAccess/article.htm l#keybindings
Best regards, Lars
Markus Oley wrote:
> Hi Lars,
> Thank you for your fast answer and your link....
> I want to define an keyscheme to simulate Intellij-Keymap. So I
> downloaded an older plugin from net, which does this things and wanted
> to edit this.
> My key-binding-sheme doesn't inherit another scheme, I didn't define a
> parentID. Can it also be, that this key is defined already? When I press
> the Ctrl+N nothing happens ;-(((. Also in the
> keybindings-preference-page there's nothing found when I search for this
> shortcut. None of my shortcuts that start with Ctrl are found...
>
> I use openSuSE 11.0 32bit..... , my LANG is set to de_DE@ISO-8859-15.
>
> Best Regards
> Markus
>
>
>
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
|
|
|
|
Re: Ctrl doesn't work defining an keyschema [message #337077 is a reply to message #337065] |
Sun, 26 July 2009 21:23 |
|
Hi Lars,
thank you for your greatful help. It was not this Keybinding that caused
an conflict. It was Ctrl+X, Alt+X from Multiclipboard plugin :-((
I disabled this plugin and now my keybindings work.
Just one thing:
When I change my keybinding-scheme in properties dialog the whole
shortcuts from the new scheme, were I change to, disappear. I have to
click Restore defaults to see them again.
Is this a bug?
Greeting, Markus
|
|
|
Powered by
FUDForum. Page generated in 0.04657 seconds