Hide/minimize certain tags

Oxygen general issues.
buestad
Posts: 1
Joined: Mon Jan 21, 2013 1:40 pm

Hide/minimize certain tags

Post by buestad »

Is it possible to set up a list of tags I want oXygen to minimize by default when openiung a document?

Now I have a bunch of <layout> tags in a document which makes the XML less readable/editable. Wold be nice if I could right click a <layout> tag and minimize all or someting similar...
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Hide/minimize certain tags

Post by adrian »

Hi,

I believe you are referring to the folding feature. The folding allows you to collapse (hide) each element that spans over multiple lines into a single line.

Unfortunately the folding is not name-aware, so you can't expand/collapse elements of a specified name. You can only expand/collapse elements relative to the element at the caret/mouse position. That means you can collapse: the current element, all its children or other folds not involved in this element's path.

See more details in the user manual:
Oxygen User Manual - Folding of the XML Elements

An alternative solution would be to collapse other folds and expand only the ones that you are currently working on.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply