How To Auto-Format / Indent XML/HTML in Notepad++

Is there a way to re-indent a block of code? I’m looking for something similar to Ctrl+Shift+F in Eclipse (Auto-Format/Indent). To be clear, I already know how to format XML outside of Notepad++ (Eclipse works fine, as mentioned) so I don’t need a bunch of links to other XML-formatting tools. I’m specifically working with XML … Read more

How to reformat JSON in Notepad++?

I need Notepad++ to take a json string from this {“menu”: {“id”: “file”,”value”: “File”,”popup”: {“menuitem”: [{“value”: “New”, “onclick”: “CreateNewDoc()”},{“value”: “Open”, “onclick”: “OpenDoc()”},{“value”: “Close”, “onclick”: “CloseDoc()”}]}}} to this… {“menu”: { “id”: “file”, “value”: “File”, “popup”: { “menuitem”: [ {“value”: “New”, “onclick”: “CreateNewDoc()”}, {“value”: “Open”, “onclick”: “OpenDoc()”}, {“value”: “Close”, “onclick”: “CloseDoc()”} ] } }} I looked around … Read more