Page 1 of 1

Shortcut for "Navigate to next XML node"

Posted: Tue Jul 23, 2019 4:28 pm
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.

Re: Shortcut for "Navigate to next XML node"

Posted: Wed Jul 24, 2019 1:56 pm
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

Re: Shortcut for "Navigate to next XML node"

Posted: Wed Jul 24, 2019 2:46 pm
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 1690 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?

Re: Shortcut for "Navigate to next XML node"

Posted: Thu Jul 25, 2019 11:02 am
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

Re: Shortcut for "Navigate to next XML node"

Posted: Tue Feb 18, 2020 5:45 pm
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