A similar tool for MS Windows called XTrans (https://sourceforge.net/projects/xtrans/) has it feature. It rewrites the XML making the deeper nodes be more indented.
I was wondering if you mean "Pretty-print" under XML menu.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.