Skip to main content


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 18:38 Go to next message
Rob Nikander is currently offline Rob NikanderFriend
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 11:01 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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 13:39 Go to previous message
Rob Nikander is currently offline Rob NikanderFriend
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 13: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: Fri Apr 26 18:05:33 GMT 2024

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

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

Back to the top