PreviousNextTracker indexSee it online !

(104/161) 3249705 - Make completion dialogs use Line up/down shortcuts

Hi,

It would be really useful to be able to use my Line up/Line down shortcuts to choose a selection in the completion popups. I use a vi-esque keybinding scheme, so taking my fingers off the home row when typing feels awkward.

Actually, to extend the request, it would be nice to be able to use text area navigation shortcuts (prev/next char, line up/down, select, etc.) in QuickNotepad and the Find dialog.

Thanks,
Todd

Submitted Anonymous - 2011-03-27 - 15:34:39z Assigned dionjwa
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2011-03-27 - 15:41:02z
Looking at CompletionPopup (I don't know how extensively it's used), it seems possible that instead of switching on keyCodes:

switch(e.getKeyCode())
{
case KeyEvent.VK_UP:
moveRelative(-1);
e.consume();
break;
case KeyEvent.VK_DOWN:
moveRelative(1);
e.consume();
break;
...

, the popup could register as a shortcut listener for the "logical" line up instead of the "physical" key press.
2011-12-06 - 07:48:56z
ezust
Perhaps this can be done in the Completion plugin, which will provide a replacement/enhanced completion popup.
2011-12-10 - 14:48:42z
dionjwa
I can add this.

Attachments