Bug 164727 - key bindings to arrow keys should work wherever arrow keys work in the IDE
key bindings to arrow keys should work wherever arrow keys work in the IDE
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
6.x
All All
: P3 (vote)
: 6.x
Assigned To: issues@platform
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-07 20:59 UTC by darbie
Modified: 2010-01-11 03:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darbie 2009-05-07 20:59:55 UTC
I am using the C++ plugin.

I use emacs mode so instead of using the arrow keys I use CNTRL-N (down arrow), CNTRL-P (up arrow), CNTRL-F (right 
arrow), and CNTRL-P (left arrow) while in the editor.  It is very useful to use these keys instead of the arrow keys 
because you do not have to move your hand off the standard keyboard position like you do for the arrow keys.

Using these key mappings works in many places, but not all.  The Code assistance feature does respect the keybindings 
and I can use CNTRL-P and CNTRL-N when it pops up possible lists to choose from.  I would like all the other areas that 
use arrow keys to respect the key bindings settings as well.  The ones I have seen that are not working properly are 
when I do a quick search in the Project, Files, or Classes tab (in the upper left of the IDE).  I can use arrows to 
move around the trees, but not keybindings mapped to those arrows.  Also the search in the upper right of the IDE does 
not allow the key bindings to work.
Comment 1 Jiri Skrivanek 2009-05-11 14:59:02 UTC
OK, but we need some API to get current mapping for arrow keys. Now KeyEvent.VK_UP and KeyEvent.VK_DOWN are hardcoced in
org.openide.explorer.view.TreeView (ListView) and org.netbeans.modules.quicksearch.AbstractQuickSearchComboBar.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo