Tidy XML configuration for PSPad
Jan 18
Working in Windows in inevitable but that does not mean that I am without the good things that the Free Software (FLOSS or otherwise) has to offer.
My previous text editor of choice was UltraEdit but not all of my project has license for it so I started to look for “worthy alternatives”. The closest alternative that I found and currently use is PsPad which has most of the functionalities offered by UltraEdit, and then some.
Since my work brings me into contact with a lot of XML-type of content, the built-in tidy support is very useful especially if I want to do comparison (but I use WinMerge for that). Below is my configuration for XML pretty-print:
[TiDy Fix XML indent]
input-xml:yes
indent-attributes:yes
break-before-br:no
doctype:AUTO
fix-bad-comments:yes
indent:yes
indent-spaces:4
markup:yes
output-xml:yes
quiet:yes
tidy-mark:no
uppercase-attributes:no
uppercase-tags:no
wrap:100
wrap-attributes:yes
write-back:yes
F/LOSS life is sweet. 🙂
ciao!
Mark
Oct 28, 2008 @ 04:13:25
I didn’t realize that menu could even be customized in PSPad…. what a great tip!
carl
Feb 28, 2009 @ 23:29:30
thanks! i assumed it had to be something for pspad available. worked perfectly!
Erin
Mar 01, 2009 @ 08:03:47
you are welcome. that can serve just as a base as the options can be tweaked to your needs. 🙂
ciao!
Gustav
Nov 14, 2013 @ 21:01:40
Thanks! Very useful