Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

XML formatter?

2006-12-28
2012-11-14
  • Hi all,

    I've written a little .js script that formats an XML document so it's more readable.

    I can run the script from the Run menu using CScript.exe, so it pops up a window while running the script, then gives back focus to Np++ — which then asks whether the file should be reloaded.  This works fine, but it breaks the undo chain: I can't undo past the reformatting action, since the file is actually reloaded.

    How difficult would it be to write an XML formatter as a plug-in?  Would anybody here be willing to undertake that?

     
    • Don HO
      Don HO
      2006-12-30

      Please see check XML Tools on :
      http://notepad-plus.sourceforge.net/uk/download.php

      Don

       
      • Hooray!  That's exactly what I was looking for, thanks!
        I'd installed most plug-ins, but I guess I mixed up this one with XMLCheck...