Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Key bindings for up and down in content assist and other popups
Key bindings for up and down in content assist and other popups [message #883051] Thu, 07 June 2012 14:38 Go to next message
Rob Nikander is currently offline Rob Nikander
Messages: 8
Registered: July 2009
Junior Member
Hi,

I like using Control-N/P for up/down, so I don't have to leave the typing position for arrow keys. Eclipse lets me rebind "Line Up" and "Line Down" to ^P and ^N as I desire, but in other popups and dialogs I still have to use the arrow key. For example if I use content assist to pop up a list of java methods, I then have to use the arrow keys to select one. Is there a way to make it use ^P and ^N in this context as well? Another place I'd like this is in the "quick switch editor" popup (triggered by Command-E on my Mac).

thanks,
Rob
Re: Key bindings for up and down in content assist and other popups [message #885636 is a reply to message #883051] Wed, 13 June 2012 07:01 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 07.06.2012 20:38, Rob Nikander wrote:
> Hi,
>
> I like using Control-N/P for up/down, so I don't have to leave the
> typing position for arrow keys. Eclipse lets me rebind "Line Up" and
> "Line Down" to ^P and ^N as I desire, but in other popups and dialogs
> I still have to use the arrow key. For example if I use content
> assist to pop up a list of java methods, I then have to use the arrow
> keys to select one. Is there a way to make it use ^P and ^N in this
> context as well? Another place I'd like this is in the "quick switch
> editor" popup (triggered by Command-E on my Mac).
Not sure whether something similar exists on Mac, but on Linux you can
add the following line to your GTK resource file:

gtk-key-theme-name = "Emacs"

This makes Ctrl+N/P working in all dialogs.

Dani
> thanks,
> Rob
Re: Key bindings for up and down in content assist and other popups [message #885727 is a reply to message #885636] Wed, 13 June 2012 09:39 Go to previous message
Rob Nikander is currently offline Rob Nikander
Messages: 8
Registered: July 2009
Junior Member
Quote:

Not sure whether something similar exists on Mac, but on Linux you can
add the following line to your GTK resource file:

gtk-key-theme-name = "Emacs"

This makes Ctrl+N/P working in all dialogs.


Not that I know of. I'm more concerned with these "popups" (or whatever you call them) anyway, and they seem to be less than full dialogs.

For this to work well, I think it will have to be an Eclipse setting.

[Updated on: Wed, 13 June 2012 09:42]

Report message to a moderator

Previous Topic:Help!How to create a project from existing source by using eclipse api
Next Topic:Compiled File Gets Duplicated In Source Folder
Goto Forum:
  


Current Time: Thu Jul 31 09:41:57 EDT 2014

Powered by FUDForum. Page generated in 0.05118 seconds