
Dear Oxygen team, A friend recently showed me the go-to-matching-tag (Ctrl+Shift+G) command in Oxygen. Very handy! Let me request another useful command: go-to-parent-(start-)tag. We have XML documents where some elements have many children, and there's no easy way (that I've found) to discover (the start tag of) the parent of a given element, which may be far away in the document. A suggested key binding would be Alt+LeftArrow. Thanks, Lars

Dear Lars, Try the following: Go to the beginning of that element and move outside of it (but not inside a sibling). Then look in the outliner, the parent is selected there, you can click on it to select it in the editor. Is that easy enough? Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Lars Huttar wrote:
Dear Oxygen team, A friend recently showed me the go-to-matching-tag (Ctrl+Shift+G) command in Oxygen. Very handy!
Let me request another useful command: go-to-parent-(start-)tag. We have XML documents where some elements have many children, and there's no easy way (that I've found) to discover (the start tag of) the parent of a given element, which may be far away in the document. A suggested key binding would be Alt+LeftArrow.
Thanks, Lars
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

George Cristian Bina wrote:
Dear Lars,
Try the following: Go to the beginning of that element and move outside of it (but not inside a sibling). Then look in the outliner, the parent is selected there, you can click on it to select it in the editor. Is that easy enough?
Best Regards, George
Thanks for your quick reply. Your suggested method does make it easier, assuming one has the outline view open. Personally, I tend not to use the outline view... probably because I have lots of files to show in the Project view. Regardless of that, though, I find it much more efficient to be able to do things without shifting to the mouse. Thus I would appreciate a keyboard-accessible method for going to the parent element. I realize you can't implement every suggestion. But if this were Emacs (i.e. user-programmable), that's the next command I'd be writing for myself. :-) Lars
Lars Huttar wrote:
Dear Oxygen team, A friend recently showed me the go-to-matching-tag (Ctrl+Shift+G) command in Oxygen. Very handy!
Let me request another useful command: go-to-parent-(start-)tag. We have XML documents where some elements have many children, and there's no easy way (that I've found) to discover (the start tag of) the parent of a given element, which may be far away in the document. A suggested key binding would be Alt+LeftArrow.
Thanks, Lars
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Lars, I think this can be added to the Select contextual menu. Current entries in that menu are: Select element Select content Select attributes We can add there Select parent. Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Lars Huttar wrote:
George Cristian Bina wrote:
Dear Lars,
Try the following: Go to the beginning of that element and move outside of it (but not inside a sibling). Then look in the outliner, the parent is selected there, you can click on it to select it in the editor. Is that easy enough?
Best Regards, George
Thanks for your quick reply. Your suggested method does make it easier, assuming one has the outline view open. Personally, I tend not to use the outline view... probably because I have lots of files to show in the Project view.
Regardless of that, though, I find it much more efficient to be able to do things without shifting to the mouse. Thus I would appreciate a keyboard-accessible method for going to the parent element.
I realize you can't implement every suggestion. But if this were Emacs (i.e. user-programmable), that's the next command I'd be writing for myself. :-)
Lars
Lars Huttar wrote:
Dear Oxygen team, A friend recently showed me the go-to-matching-tag (Ctrl+Shift+G) command in Oxygen. Very handy!
Let me request another useful command: go-to-parent-(start-)tag. We have XML documents where some elements have many children, and there's no easy way (that I've found) to discover (the start tag of) the parent of a given element, which may be far away in the document. A suggested key binding would be Alt+LeftArrow.
Thanks, Lars
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

George Cristian Bina wrote:
Hi Lars,
I think this can be added to the Select contextual menu. Current entries in that menu are: Select element Select content Select attributes
We can add there Select parent.
Best Regards, George
That would be great! Thanks for listening... this is a big reason why I'm a loyal Oxygen customer. Lars
participants (2)
-
George Cristian Bina
-
Lars Huttar