how to customize very special keymap [message #273768] |
Mon, 11 October 2004 13:13  |
Eclipse User |
|
|
|
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
|
|
|
|
Re: how to customize very special keymap [message #273799 is a reply to message #273768] |
Tue, 12 October 2004 03:53   |
Eclipse User |
|
|
|
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 #273993 is a reply to message #273908] |
Thu, 14 October 2004 03:55  |
Eclipse User |
|
|
|
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
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.12825 seconds