Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to customize very special keymap
how to customize very special keymap [message #273768] Mon, 11 October 2004 13:13 Go to next message
Eclipse UserFriend
Originally posted by: jeanlutrin.NOSPAM.yahoo.fr

Hi all,

two years ago I started using IntelliJ IDEA, which I like very much.
However,
I'm now beginning to see the limitations of their "open API" for creating
plugins
(it is, basically, very hard to use proper mock objects when doing plugin
unit
testing).

So I decided to move to an open platform.

I like eclipse a lot, but there's something that I really need to have :

alt+i should move the editor's caret to the previous line (same position,
but previous line)
alt+k should move the editor's caret to the next line (...)
alt+j should move the editor's caret one character to the left
alt+l should move the editor's caret one character to the right

This is a very fast way to move the cursor/caret (it doesn't require
moving the fingers
to the "arrows"). It is not common, but I've found some people using it.

Moreover :

ctrl+alt+j should move the editor's caret to the previous word
ctrl+alt+l should move the editor's caret to the next word

And when using "shift" with all these shortcuts, it should select the text
accordingly.

How would I go to have this "feature" in Eclipse's editor (Java editor) ?

Thanks in advance,

Jean
I forgot to mention... [message #273771 is a reply to message #273768] Mon, 11 October 2004 13:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeanlutrin.NOSPAM.yahoo.fr

I forgot to mention that I already tried to go
under Workbench/Keys and whatnot to achieve this
but couldn't do it :(
Re: how to customize very special keymap [message #273799 is a reply to message #273768] Tue, 12 October 2004 03:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Jean wrote:

>Hi all,
>
>two years ago I started using IntelliJ IDEA, which I like very much.
>However,
>I'm now beginning to see the limitations of their "open API" for creating
>plugins
>(it is, basically, very hard to use proper mock objects when doing plugin
>unit
>testing).
>
>So I decided to move to an open platform.
>
>I like eclipse a lot, but there's something that I really need to have :
>
>alt+i should move the editor's caret to the previous line (same position,
>but previous line)
>alt+k should move the editor's caret to the next line (...)
>alt+j should move the editor's caret one character to the left
>alt+l should move the editor's caret one character to the right
>
>
This is currently not possible. You can file an enhancement request for it.

>This is a very fast way to move the cursor/caret (it doesn't require
>moving the fingers
>to the "arrows"). It is not common, but I've found some people using it.
>
>Moreover :
>
>ctrl+alt+j should move the editor's caret to the previous word
>ctrl+alt+l should move the editor's caret to the next word
>
>And when using "shift" with all these shortcuts, it should select the text
>accordingly.
>
>
This is possible via Keys preference page by setting the key sequence
for the commands: (Select) Next/Previous Word

Dani

>How would I go to have this "feature" in Eclipse's editor (Java editor) ?
>
>Thanks in advance,
>
> Jean
>
>
>
>
>
>
Re: how to customize very special keymap [message #273908 is a reply to message #273799] Wed, 13 October 2004 12:13 Go to previous messageGo to next message
Eclipse UserFriend
Daniel Megert wrote:

> Jean wrote:
> ...
> >alt+i should move the editor's caret to the previous line (same position,
> >but previous line)
> >alt+k should move the editor's caret to the next line (...)
> >alt+j should move the editor's caret one character to the left
> >alt+l should move the editor's caret one character to the right
> >
> >
> This is currently not possible. You can file an enhancement request for it.

Ah ok, thanks for your answer, I'll try to do that (first time I'll fill
for an enhancement request).

Btw, I've developed (closed) plugins for a closed IDE, so maybe I could
help/do it myself !? Where should I ask/discuss what would be a
clean and proper way to implement such a feature ?

Thanks in advance,

Jean
Re: how to customize very special keymap [message #273993 is a reply to message #273908] Thu, 14 October 2004 03:55 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Jean wrote:

>Daniel Megert wrote:
>
>
>
>>Jean wrote:
>>...
>>
>>
>>>alt+i should move the editor's caret to the previous line (same position,
>>>but previous line)
>>>alt+k should move the editor's caret to the next line (...)
>>>alt+j should move the editor's caret one character to the left
>>>alt+l should move the editor's caret one character to the right
>>>
>>>
>>>
>>>
>>This is currently not possible. You can file an enhancement request for it.
>>
>>
>
>Ah ok, thanks for your answer, I'll try to do that (first time I'll fill
>for an enhancement request).
>
>Btw, I've developed (closed) plugins for a closed IDE, so maybe I could
>help/do it myself !? Where should I ask/discuss what would be a
>clean and proper way to implement such a feature ?
>
>
You can discuss this in the bug itself.

Dani

>Thanks in advance,
>
> Jean
>
>
>
>
Previous Topic:3.0 link javadoc problems
Next Topic:filter in navigator
Goto Forum:
  


Current Time: Thu Jul 24 21:16:47 EDT 2025

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

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

Back to the top