Content completion hovers trapping up & down arrow keys

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pmonks
Posts: 13
Joined: Fri May 05, 2006 2:10 am

Content completion hovers trapping up & down arrow keys

Post by pmonks »

G'day,

By default the content completion windows trap the up and down arrow keys (and use them for scrolling through the list of content completion suggestions), making it very difficult to move the cursor around the edit window.

Cheers,
Peter
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

If you want to move the cursor in other location of the editor using the keyboard instead of move up and down in the content completion window just press first the right arrow key, the left arrow key or the Esc key and the content completion window is removed. If the content completion window is visible the up arrow key and the down arrow key always move the selection in this window. This is standard behavior for a content completion window.

Regards,
Sorin
pmonks
Posts: 13
Joined: Fri May 05, 2006 2:10 am

re: Content completion hovers trapping up & down arrow k

Post by pmonks »

I'd rather it if the code completion window didn't automatically get the keyboard focus. The code completion behaviour in Eclipse is a good example of how this can work effectively and unobtrusively.

Cheers,
Peter
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

If you disable the automatic content completion in Options -> Preferences -> Editor / Content Completion -> Use content completion and press Ctrl + Space when you want the content completion window you get the same behavior as in Eclipse.

Regards,
Sorin
pmonks
Posts: 13
Joined: Fri May 05, 2006 2:10 am

e: Content completion hovers trapping up & down arrow k

Post by pmonks »

Perfect! Thanks Sorin!

Cheers,
Peter
pmonks
Posts: 13
Joined: Fri May 05, 2006 2:10 am

Post by pmonks »

It appears that this solution only works in the standalone version of <oXygen/> - if I follow the same instructions for the Eclipse version content completion is disabled completely (Ctrl+Space does nothing).

Is this the expected behaviour?

Cheers,
Peter
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Yes it is expected.

Regards,
Sorin
pmonks
Posts: 13
Joined: Fri May 05, 2006 2:10 am

Post by pmonks »

This is expected behaviour for the Eclipse plugin, even though the standalone version of oXygen XML doesn't work the same way (ie. I can manually call up content completion proposals using Ctrl+Space, but only in the standalone version)?

Cheers,
Peter
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Peter,

AFAIK Eclipse does not distinguish between content completion on demand (activated by CTRL+Space) and content completion activated by some trigger character. In the standalone version we have this distinction, thus the different behavior.

Best Regards,
George
Post Reply