Shortcut for "Navigate to next XML node"

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
lbo
Posts: 2
Joined: Tue Jul 23, 2019 3:54 pm

Shortcut for "Navigate to next XML node"

Post by lbo » Tue Jul 23, 2019 4:28 pm

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: 6500
Joined: Fri Jul 09, 2004 5:18 pm

Re: Shortcut for "Navigate to next XML node"

Post by Radu » Wed Jul 24, 2019 1:56 pm

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: 2
Joined: Tue Jul 23, 2019 3:54 pm

Re: Shortcut for "Navigate to next XML node"

Post by lbo » Wed Jul 24, 2019 2:46 pm

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 151 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: 6500
Joined: Fri Jul 09, 2004 5:18 pm

Re: Shortcut for "Navigate to next XML node"

Post by Radu » Thu Jul 25, 2019 11:02 am

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

Post Reply