I noticed other questions about Notepad++ on this site, so I figured this was the appropriate place to ask. Mods, if this isn't the right place, please relocate.
How do you format your document in Notepad++? I'm looking for something similar to Visual Studio's Edit > Advanced > Format Document
I have a large xml document that is all on one line, I would like it to be formatted with the proper indents/whitespace and only one element per line.
Edit: Using the stock version 5.9.5 with no plug ins.
Download XML Tools plugin from NotePad++->Plugins->XML Tools.. Use Ctrl+Alt+Shift+B to format your XML document..
+1 for XML Tools.
You can download the plugin from the Plugin Manager and then use ":
This corresponds to the shortcut Ctrl+Alt+Shift+B.
If this does not work with your version of Notepad++ (damn, you have an old old one!), you can download the plugin and install it yourself:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With