Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [M8 keybinding] Cool!
[M8 keybinding] Cool! [message #233535] Fri, 23 April 2004 14:02 Go to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
Thanks guys! (sorry, don't know the your names:)

PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this default?

--
10x,
Sam Mesh - http://openrules.com
Re: [M8 keybinding] Cool! [message #233761 is a reply to message #233535] Fri, 23 April 2004 23:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jm.nospam.steranka.com

In article <c6blco$fsb$1@eclipse.org>, smesh@openrules.com says...
> I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
> Thanks guys! (sorry, don't know the your names:)
>
> PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this default?

OK, cool, but how do I use it?!?
I liked the old Tree style (Eclipse 2.1.1) better.
Using a combo box makes it a "pain" to see what everything is!

Patrick Steranka
Re: [M8 keybinding] Cool! [message #233872 is a reply to message #233761] Sat, 24 April 2004 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jm.nospam.steranka.com

In article <MPG.1af3a8c95c6d35e698968b@news.eclipse.org>, jm@nospam.steranka.com says...
> In article <c6blco$fsb$1@eclipse.org>, smesh@openrules.com says...
> > I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
> > Thanks guys! (sorry, don't know the your names:)
> >
> > PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this default?
>
> OK, cool, but how do I use it?!?
> I liked the old Tree style (Eclipse 2.1.1) better.
> Using a combo box makes it a "pain" to see what everything is!

I'm interested in learning how to set this up for myself.
I'll write some "code" that sets all of the EMACS key bindings
that I want so I can easily set it up in a new environment.

I've done this for Emacs, and MS Word (yep, Emacs binding for Microsoft Word)
so why not Eclipse... :-)

Can someone please point me to a Java package that would have
the API I would need to call to create a key binding?
Or point me to any information that would help me out?

Thanks, in advance,
Patrick Steranka
Re: [M8 keybinding] Cool! [message #233904 is a reply to message #233872] Sat, 24 April 2004 21:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

>>>I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
>>>Thanks guys! (sorry, don't know the your names:)
>>>
>>>PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this default?
>>
>>OK, cool, but how do I use it?!?
>>I liked the old Tree style (Eclipse 2.1.1) better.
>>Using a combo box makes it a "pain" to see what everything is!

Oops! Tree-style UI for keybinding is much better.
I didn't ever use it, sorry for incompetence.
What is the cause of the new L&F?

> Can someone please point me to a Java package that would have
> the API I would need to call to create a key binding?
> Or point me to any information that would help me out?

Non an API but can be useful. :)
news://news.eclipse.org:119/c5494a$3rv$2@eclipse.org

--
Sam Mesh - http://openrules.com
Re: [M8 keybinding] Cool! [message #233950 is a reply to message #233904] Sun, 25 April 2004 03:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Marko.Schulz.gmx.de

Sam Mesh wrote:
>
> Oops! Tree-style UI for keybinding is much better.
> I didn't ever use it, sorry for incompetence.

The new dialog is around since 3.0M3, but I too liked the Tree better:
http://download2.eclipse.org/downloads/drops/S-3.0M3-2003082 81813/eclipse-news-part2-M3.html

> What is the cause of the new L&F?

On the news page they say "to make it easier to use", which it isn't in
my opinion. I think the main problem with the old dialog was, that it
took much too much space - especially horizontal.

I am still longing for a 'show me all uses of key sequence XY' button.
At the moment I have to assign the key sequence to some function, to I
see what it collides with, and cancel after that. But, hey, I neither
even looked whether there is a feature request for that, nor did I file
one myself, so I won't complain.

marko
Re: [M8 keybinding] Cool! [message #233988 is a reply to message #233950] Sun, 25 April 2004 04:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: linnet.nospam.users.sourceforge.net

Hi,

FYI, there is an alternative (enhanced IMHO) key bindings preference
page in the latest integration builds. This page is based on a
tree-style way of selecting the commands - and it even sports a search
field to make it easier to find the relevant command. It still doesn't
give a way to find the command associated with a specific key sequence.

I don't know if this will go into M9, but I hope so...

/Jesper


Marko Schulz wrote:
> Sam Mesh wrote:
>
>>
>> Oops! Tree-style UI for keybinding is much better.
>> I didn't ever use it, sorry for incompetence.
>
>
> The new dialog is around since 3.0M3, but I too liked the Tree better:
> http://download2.eclipse.org/downloads/drops/S-3.0M3-2003082 81813/eclipse-news-part2-M3.html
>
>
>> What is the cause of the new L&F?
>
>
> On the news page they say "to make it easier to use", which it isn't in
> my opinion. I think the main problem with the old dialog was, that it
> took much too much space - especially horizontal.
>
> I am still longing for a 'show me all uses of key sequence XY' button.
> At the moment I have to assign the key sequence to some function, to I
> see what it collides with, and cancel after that. But, hey, I neither
> even looked whether there is a feature request for that, nor did I file
> one myself, so I won't complain.
>
> marko
Re: [M8 keybinding] Cool! [message #234117 is a reply to message #233988] Sun, 25 April 2004 13:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

Just a question: is it a big deal for the designer and programmer to
solve this *typical mapping problem*?

Sprry, can not find a good example yet. :)

--
Sam Mesh - http://openrules.com
Re: [M8 keybinding] Cool! [message #235021 is a reply to message #233872] Tue, 27 April 2004 00:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nick_edgar._no.spam.please_.ca.ibm.com

There is an emacs keybinding configuration built-in already. See "Active
configuration" in the Keys pref page.
To see how this is done, check out the plugin.xml for org.eclipse.ui. You
can add your own bindings to this configuration (or create your own) in
another plugin.

For the 2.1 doc on this, see:
http://help.eclipse.org/help21/topic/org.eclipse.platform.do c.isv/guide/wrkAdv_keyBindings.htm

There have been some changes in 3.0, but for the basic stuff it's mostly
just renamed attributes:
For example, in 2.1:
<keyBinding
string="Ctrl+X Ctrl+S"
scope="org.eclipse.ui.globalScope"
command="org.eclipse.ui.file.save"
configuration="org.eclipse.ui.emacsAcceleratorConfiguration ">
</keyBinding>

is now, in 3.0:
<keyBinding
commandId="org.eclipse.ui.file.save"
keySequence="Ctrl+X Ctrl+S"

keyConfigurationId="org.eclipse.ui.emacsAcceleratorConfiguration ">
</keyBinding>

(scope has been renamed to contextId but can be ommitted for the global
scope).

The old 2.1 syntax still works too.

Nick

"Patrick Steranka" <jm@nospam.steranka.com> wrote in message
news:MPG.1af475b2f64acb798968d@news.eclipse.org...
> In article <MPG.1af3a8c95c6d35e698968b@news.eclipse.org>,
jm@nospam.steranka.com says...
> > In article <c6blco$fsb$1@eclipse.org>, smesh@openrules.com says...
> > > I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
> > > Thanks guys! (sorry, don't know the your names:)
> > >
> > > PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this default?
> >
> > OK, cool, but how do I use it?!?
> > I liked the old Tree style (Eclipse 2.1.1) better.
> > Using a combo box makes it a "pain" to see what everything is!
>
> I'm interested in learning how to set this up for myself.
> I'll write some "code" that sets all of the EMACS key bindings
> that I want so I can easily set it up in a new environment.
>
> I've done this for Emacs, and MS Word (yep, Emacs binding for Microsoft
Word)
> so why not Eclipse... :-)
>
> Can someone please point me to a Java package that would have
> the API I would need to call to create a key binding?
> Or point me to any information that would help me out?
>
> Thanks, in advance,
> Patrick Steranka
Re: [M8 keybinding] Cool! [message #235658 is a reply to message #235021] Tue, 27 April 2004 23:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jm.nospam.steranka.com

Thanks for the respons. I'll have to check out the URLs you mention.
Note: The emacs key binding configuration (at least for me _didn't work_)!
I did use it (I used it Eclipse 2.1.1), but it is NOT working in Eclipse 3.0.
The only way I got key bindings to work was to manually go and "add them again".
For example, Control+F should move forward one character in emacs.
But it doesn't (even when I've selected Emacs mode).
Now, if I manually go into the preferences and add it, it DOES work, but only
after I manually added it.

I may be doing something wrong but all I did was:
(1) Install Eclipse 3.0M8, and
(2) Go to Preferences Key Bindings and select Emacs mode.

In Eclipse 2.1.1, this worked, but in Eclipse 3.0 it doesn't work!
OK, it didn't work for me.

Thanks for your help, I'll look into the URLs so I can define my key bindings
and save them off for use in the next version I install.

Best regards,
Patrick Steranka

In article <c6kmme$smc$1@eclipse.org>, nick_edgar@_no.spam.please_.ca.ibm.com says...
> There is an emacs keybinding configuration built-in already. See "Active
> configuration" in the Keys pref page.
> To see how this is done, check out the plugin.xml for org.eclipse.ui. You
> can add your own bindings to this configuration (or create your own) in
> another plugin.
>
> For the 2.1 doc on this, see:
> http://help.eclipse.org/help21/topic/org.eclipse.platform.do c.isv/guide/wrkAdv_keyBindings.htm
>
> There have been some changes in 3.0, but for the basic stuff it's mostly
> just renamed attributes:
> For example, in 2.1:
> <keyBinding
> string="Ctrl+X Ctrl+S"
> scope="org.eclipse.ui.globalScope"
> command="org.eclipse.ui.file.save"
> configuration="org.eclipse.ui.emacsAcceleratorConfiguration ">
> </keyBinding>
>
> is now, in 3.0:
> <keyBinding
> commandId="org.eclipse.ui.file.save"
> keySequence="Ctrl+X Ctrl+S"
>
> keyConfigurationId="org.eclipse.ui.emacsAcceleratorConfiguration ">
> </keyBinding>
>
> (scope has been renamed to contextId but can be ommitted for the global
> scope).
>
> The old 2.1 syntax still works too.
>
> Nick
>
> "Patrick Steranka" <jm@nospam.steranka.com> wrote in message
> news:MPG.1af475b2f64acb798968d@news.eclipse.org...
> > In article <MPG.1af3a8c95c6d35e698968b@news.eclipse.org>,
> jm@nospam.steranka.com says...
> > > In article <c6blco$fsb$1@eclipse.org>, smesh@openrules.com says...
> > > > I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
> > > > Thanks guys! (sorry, don't know the your names:)
> > > >
> > > > PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this default?
> > >
> > > OK, cool, but how do I use it?!?
> > > I liked the old Tree style (Eclipse 2.1.1) better.
> > > Using a combo box makes it a "pain" to see what everything is!
> >
> > I'm interested in learning how to set this up for myself.
> > I'll write some "code" that sets all of the EMACS key bindings
> > that I want so I can easily set it up in a new environment.
> >
> > I've done this for Emacs, and MS Word (yep, Emacs binding for Microsoft
> Word)
> > so why not Eclipse... :-)
> >
> > Can someone please point me to a Java package that would have
> > the API I would need to call to create a key binding?
> > Or point me to any information that would help me out?
> >
> > Thanks, in advance,
> > Patrick Steranka
>
>
>
Re: [M8 keybinding] Cool! [message #236961 is a reply to message #235658] Thu, 29 April 2004 13:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nick_edgar._no.spam.please_.ca.ibm.com

Emacs keybindings were broken in M8. They seem to be working in the latest
integration builds.
If you see further problems here, please report them in bugzilla.

Nick

"Patrick Steranka" <jm@nospam.steranka.com> wrote in message
news:MPG.1af8f4ecc2df481f989691@news.eclipse.org...
> Thanks for the respons. I'll have to check out the URLs you mention.
> Note: The emacs key binding configuration (at least for me _didn't work_)!
> I did use it (I used it Eclipse 2.1.1), but it is NOT working in Eclipse
3.0.
> The only way I got key bindings to work was to manually go and "add them
again".
> For example, Control+F should move forward one character in emacs.
> But it doesn't (even when I've selected Emacs mode).
> Now, if I manually go into the preferences and add it, it DOES work, but
only
> after I manually added it.
>
> I may be doing something wrong but all I did was:
> (1) Install Eclipse 3.0M8, and
> (2) Go to Preferences Key Bindings and select Emacs mode.
>
> In Eclipse 2.1.1, this worked, but in Eclipse 3.0 it doesn't work!
> OK, it didn't work for me.
>
> Thanks for your help, I'll look into the URLs so I can define my key
bindings
> and save them off for use in the next version I install.
>
> Best regards,
> Patrick Steranka
>
> In article <c6kmme$smc$1@eclipse.org>,
nick_edgar@_no.spam.please_.ca.ibm.com says...
> > There is an emacs keybinding configuration built-in already. See
"Active
> > configuration" in the Keys pref page.
> > To see how this is done, check out the plugin.xml for org.eclipse.ui.
You
> > can add your own bindings to this configuration (or create your own) in
> > another plugin.
> >
> > For the 2.1 doc on this, see:
> >
http://help.eclipse.org/help21/topic/org.eclipse.platform.do c.isv/guide/wrkAdv_keyBindings.htm
> >
> > There have been some changes in 3.0, but for the basic stuff it's mostly
> > just renamed attributes:
> > For example, in 2.1:
> > <keyBinding
> > string="Ctrl+X Ctrl+S"
> > scope="org.eclipse.ui.globalScope"
> > command="org.eclipse.ui.file.save"
> > configuration="org.eclipse.ui.emacsAcceleratorConfiguration ">
> > </keyBinding>
> >
> > is now, in 3.0:
> > <keyBinding
> > commandId="org.eclipse.ui.file.save"
> > keySequence="Ctrl+X Ctrl+S"
> >
> > keyConfigurationId="org.eclipse.ui.emacsAcceleratorConfiguration ">
> > </keyBinding>
> >
> > (scope has been renamed to contextId but can be ommitted for the global
> > scope).
> >
> > The old 2.1 syntax still works too.
> >
> > Nick
> >
> > "Patrick Steranka" <jm@nospam.steranka.com> wrote in message
> > news:MPG.1af475b2f64acb798968d@news.eclipse.org...
> > > In article <MPG.1af3a8c95c6d35e698968b@news.eclipse.org>,
> > jm@nospam.steranka.com says...
> > > > In article <c6blco$fsb$1@eclipse.org>, smesh@openrules.com says...
> > > > > I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
> > > > > Thanks guys! (sorry, don't know the your names:)
> > > > >
> > > > > PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this
default?
> > > >
> > > > OK, cool, but how do I use it?!?
> > > > I liked the old Tree style (Eclipse 2.1.1) better.
> > > > Using a combo box makes it a "pain" to see what everything is!
> > >
> > > I'm interested in learning how to set this up for myself.
> > > I'll write some "code" that sets all of the EMACS key bindings
> > > that I want so I can easily set it up in a new environment.
> > >
> > > I've done this for Emacs, and MS Word (yep, Emacs binding for
Microsoft
> > Word)
> > > so why not Eclipse... :-)
> > >
> > > Can someone please point me to a Java package that would have
> > > the API I would need to call to create a key binding?
> > > Or point me to any information that would help me out?
> > >
> > > Thanks, in advance,
> > > Patrick Steranka
> >
> >
> >
Re: [M8 keybinding] Cool! [message #236967 is a reply to message #236961] Thu, 29 April 2004 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: nick_edgar._no.spam.please_.ca.ibm.com

Against the Platform UI component.

"Nick Edgar" <nick_edgar@_no.spam.please_.ca.ibm.com> wrote in message
news:c6rf79$n8q$1@eclipse.org...
> Emacs keybindings were broken in M8. They seem to be working in the
latest
> integration builds.
> If you see further problems here, please report them in bugzilla.
>
> Nick
>
> "Patrick Steranka" <jm@nospam.steranka.com> wrote in message
> news:MPG.1af8f4ecc2df481f989691@news.eclipse.org...
> > Thanks for the respons. I'll have to check out the URLs you mention.
> > Note: The emacs key binding configuration (at least for me _didn't
work_)!
> > I did use it (I used it Eclipse 2.1.1), but it is NOT working in Eclipse
> 3.0.
> > The only way I got key bindings to work was to manually go and "add them
> again".
> > For example, Control+F should move forward one character in emacs.
> > But it doesn't (even when I've selected Emacs mode).
> > Now, if I manually go into the preferences and add it, it DOES work, but
> only
> > after I manually added it.
> >
> > I may be doing something wrong but all I did was:
> > (1) Install Eclipse 3.0M8, and
> > (2) Go to Preferences Key Bindings and select Emacs mode.
> >
> > In Eclipse 2.1.1, this worked, but in Eclipse 3.0 it doesn't work!
> > OK, it didn't work for me.
> >
> > Thanks for your help, I'll look into the URLs so I can define my key
> bindings
> > and save them off for use in the next version I install.
> >
> > Best regards,
> > Patrick Steranka
> >
> > In article <c6kmme$smc$1@eclipse.org>,
> nick_edgar@_no.spam.please_.ca.ibm.com says...
> > > There is an emacs keybinding configuration built-in already. See
> "Active
> > > configuration" in the Keys pref page.
> > > To see how this is done, check out the plugin.xml for org.eclipse.ui.
> You
> > > can add your own bindings to this configuration (or create your own)
in
> > > another plugin.
> > >
> > > For the 2.1 doc on this, see:
> > >
>
http://help.eclipse.org/help21/topic/org.eclipse.platform.do c.isv/guide/wrkAdv_keyBindings.htm
> > >
> > > There have been some changes in 3.0, but for the basic stuff it's
mostly
> > > just renamed attributes:
> > > For example, in 2.1:
> > > <keyBinding
> > > string="Ctrl+X Ctrl+S"
> > > scope="org.eclipse.ui.globalScope"
> > > command="org.eclipse.ui.file.save"
> > > configuration="org.eclipse.ui.emacsAcceleratorConfiguration ">
> > > </keyBinding>
> > >
> > > is now, in 3.0:
> > > <keyBinding
> > > commandId="org.eclipse.ui.file.save"
> > > keySequence="Ctrl+X Ctrl+S"
> > >
> > > keyConfigurationId="org.eclipse.ui.emacsAcceleratorConfiguration ">
> > > </keyBinding>
> > >
> > > (scope has been renamed to contextId but can be ommitted for the
global
> > > scope).
> > >
> > > The old 2.1 syntax still works too.
> > >
> > > Nick
> > >
> > > "Patrick Steranka" <jm@nospam.steranka.com> wrote in message
> > > news:MPG.1af475b2f64acb798968d@news.eclipse.org...
> > > > In article <MPG.1af3a8c95c6d35e698968b@news.eclipse.org>,
> > > jm@nospam.steranka.com says...
> > > > > In article <c6blco$fsb$1@eclipse.org>, smesh@openrules.com says...
> > > > > > I just browsed 'Windows/Preferences/WorkBench/Keys' - cool!
> > > > > > Thanks guys! (sorry, don't know the your names:)
> > > > > >
> > > > > > PS. Replace Ctrl-F6 with Ctrl-Tab - how about to make this
> default?
> > > > >
> > > > > OK, cool, but how do I use it?!?
> > > > > I liked the old Tree style (Eclipse 2.1.1) better.
> > > > > Using a combo box makes it a "pain" to see what everything is!
> > > >
> > > > I'm interested in learning how to set this up for myself.
> > > > I'll write some "code" that sets all of the EMACS key bindings
> > > > that I want so I can easily set it up in a new environment.
> > > >
> > > > I've done this for Emacs, and MS Word (yep, Emacs binding for
> Microsoft
> > > Word)
> > > > so why not Eclipse... :-)
> > > >
> > > > Can someone please point me to a Java package that would have
> > > > the API I would need to call to create a key binding?
> > > > Or point me to any information that would help me out?
> > > >
> > > > Thanks, in advance,
> > > > Patrick Steranka
> > >
> > >
> > >
>
>
Previous Topic:How to import and debug plugins that come with source code
Next Topic:root of plugin
Goto Forum:
  


Current Time: Fri Jul 18 08:15:47 EDT 2025

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

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

Back to the top