Community
Participate
Working Groups
Created attachment 81882 [details] Improved keys for iterating over completions Pressing Ctrl+Space (or what is bound to show the Content Assist) pops up a dialog with a list of completion suggestions. Sometimes, typing more characters (possibly using camel humps) is not efficient when trying to narrow down similar suggestions and you are basically forced to take the right hand *off* the keyboard over to the arrow (or page) keys and navigate to the one you want. It should be possible to iterate (up and down) through the suggestions without taking your hands of the keyboard. My suggestion is using Tab/Shift+Tab for that (but still preserving the option of using the arrow/page keys). I've attached a patch for the org.eclipse.jface.text plugin that does that. I think a lot of "lazy" people will appreciate having an alternative to stretching over to the arrow keys. I know I would have gone crazy without it.
The correct solution is to offer a Up/Down commands to which people can bind whatever key binding they like. This is captured in bug 23008. Maybe you want to work such a general fix? The biggest challenge will be the layering problem: JFace Text is not a normal plug-in (just a bundle): like SWT it cannot declare or extend extension points. *** This bug has been marked as a duplicate of bug 23008 ***
I guess this is not a JDT specific problem and needs to be fixed globally. E.g. the configured up/down keys should work in any kind of dialog/window. I'm thinking of perhaps just having some code that handles the up/down commands and posts plain arrow up/down key events. I.e. some form of remapping to the arrow keys.
I've moved the discussion to the open bug.