Highlighted

Force indentation (pretty printing) in XML files

New Here ,
Feb 26, 2016

Copy link to clipboard

Copied

Hello,

I noticed FM removes any indentation when working with XML files and they become very hard to read with a plain text editor. FM's XML View has the Pretty Printing option which indents the text very neatly but as soon as I make any changes on the file, the indentation is gone. Is there a macro to automatically apply Pretty Printing when saving files?

Thanks!

TOPICS
Structured

Views

329

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Force indentation (pretty printing) in XML files

New Here ,
Feb 26, 2016

Copy link to clipboard

Copied

Hello,

I noticed FM removes any indentation when working with XML files and they become very hard to read with a plain text editor. FM's XML View has the Pretty Printing option which indents the text very neatly but as soon as I make any changes on the file, the indentation is gone. Is there a macro to automatically apply Pretty Printing when saving files?

Thanks!

TOPICS
Structured

Views

330

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 26, 2016 0

Have something to add?

Join the conversation