January 18

Tidy XML configuration for PSPad

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!


Copyright 2021. All rights reserved.

Posted January 18, 2006 by admin in category "Technology

4 COMMENTS :

  1. By Mark on

    I didn’t realize that menu could even be customized in PSPad…. what a great tip!

    Reply
  2. By carl on

    thanks! i assumed it had to be something for pspad available. worked perfectly!

    Reply
  3. By Erin on

    you are welcome. that can serve just as a base as the options can be tweaked to your needs. 🙂

    ciao!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *