pretty print XML by default?
Sorry, I tried searching the help wanted for this subject, but couldn’t figure out how to search.
Anyway, is it possible to make Np++ pretty print XML by default?
Yes, it is possible. A short .py script will drive “XML Tools” menu .
The documentation for “Python Script” plugin has an example which will get you started.
The one line python script is :
notepad.runPluginCommand(‘XML Tools’, ‘Pretty Print (XML only - with line breaks)’)