Page 1 of 1

Format XML on save in grid view

Posted: Fri Feb 16, 2018 3:16 am
by mochabubblet
I am having trouble with formatting while using grid mode. I have set the Editor>Format>XML settings the way I like it.

However, whenever I make changes and save while viewing in grid mode it completely ignores these settings and formats it incorrectly.

Is there a way to automatically apply these formatting settings while saving? It is a huge pain to format and indent tool EVERY time I want to make a change.

Image

Example: Expand empty elements is ignored when saving in grid mode and will actually UNDO expanded empty elements.

Re: Format XML on save in grid view

Posted: Fri Feb 16, 2018 9:28 am
by Radu
Hi,

There is a preferences page specific for the Grid editing mode: Editor / Edit Modes / Grid which has a checkbox to fully format and indent the document on save or on page switch.

Regards,
Radu

Re: Format XML on save in grid view

Posted: Wed Feb 21, 2018 6:20 am
by mochabubblet
Welp, thank you so much. This makes me very happy!