Shortcut for "Navigate to next XML node"

Having trouble installing Oxygen? Got a bug to report? Post it all here.
lbo
Posts: 5
Joined: Tue Jul 23, 2019 3:54 pm

Shortcut for "Navigate to next XML node"

Post by lbo »

I read from the documentation that the keyboard shortcut for "Navigate to next XML node" should be Ctrl+CloseBracket.

While Oxygen keyboard shortcuts do work for me in general, I can't get this one and its related "Navigate to previous XML node" to work on a German keyboard (QWERTZ). I suspect this is because "CloseBracket" on this keyboard layout is AltGr+9, i.e. you need a modifier key to produce the closing bracket.

I'm aware that rebinding that command to something else would be a viable workaround. But does anyone have a proper solution to make the existing shortcut work?

My environment is Oxygen XML Editor Eclipse Plugin 21.1 in Eclipse 4.6 (Neon) on Linux.
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Shortcut for "Navigate to next XML node"

Post by Radu »

Hi,

The only workaround I see right now is for you to use the Eclipse Preferences->"Keys" page and set a new shortcut for the Go after Next Tag action.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
lbo
Posts: 5
Joined: Tue Jul 23, 2019 3:54 pm

Re: Shortcut for "Navigate to next XML node"

Post by lbo »

Thanks Radu, this resolves the problem for the use case of editing XML files.

However, I still can't get the shortcut to work when editing XSD files. I tries several different scopes (the "When" dropdown in Eclipse -> Preferences -> Keys) for the key binding, including
Preferences _034.png
Preferences _034.png (101.01 KiB) Viewed 1687 times
"Scope of the common XML editor", "All text editors", "Scope of the transformation editor", but it seems the shortcut will only ever work when editing XML, not when editing XSD.

Any suggestions on that?
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Shortcut for "Navigate to next XML node"

Post by Radu »

Hi,

Right, I can reproduce this problem on our side. Somehow at some point we took the decision not to add the navigation actions for particular XML-based editors (like XSD or XSL). I'm not sure why we took this decision, I will add an internal issue to look into this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
teo
Posts: 57
Joined: Wed Aug 30, 2017 3:56 pm

Re: Shortcut for "Navigate to next XML node"

Post by teo »

Hello,

Just wanted to update this thread and let you know that oXygen 22 (released a few days ago) solves the issue you reported on this thread.
The navigation actions should now work for all XML based editors.

Regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply