I have Notepad++ and I got some XML code which is very long. When I pasted it in Notepad++ there was a long line of code (difficult to read and work with).
I want to
If you get this error:
Cannot load 32-bit plugin, XMLTools.dll is not compatible with the current version of Notepad++
Here you can find a working version for Windows 10 x64: Xml Tools 2.4.9.2 Unicode
Note: It's the only version I've found working on Windows 10 Professional x64.
Notepad++ v6.6.3 with plugin "XML Tools" and shortcut Ctrl + Alt + Shift + B works fine.
The latest version of Notepad++ x64 v7.6.2 on Windows 10 already moved the plugin manager to 'Plugins Admin'.
Old versions of Notepad++ and plugin manager won't work.
You can find details here To Quickly Format XML using Pretty Print (libXML)
Installing the XML Tools
If you run Notepad++ and look in the Plugins menu, you’ll see that the XML Tools aren’t there:
Download the XML tools from here.
Unzip the file and copy the XMLTools.dll to the Notepad++ plugins folder (in the example above: C:\Program Files (x86)\Notepad++\plugins):
Re-start Notepad++ and you should now see the XMLTools appear in the Plugins menu.
Unzip the ext_libs.zip file and then copy the unzipped DLLs to the Notepad++ installation directory (in the example above: C:\Program Files (x86)\Notepad++).
Re-start Notepad++ and you should finally see the proper XML Tools menu.
The feature I use the most is “Pretty print (XML only – with line breaks)”. This will format any piece of XML with all the proper line spacing.
Here are most of plugins you can use in Notepad++ to format your XML code.
Enable 'text auto update' in plugin manager-> UniversalIndentGUI
Shortkey = CTRL+ALT+SHIFT+J
Shortkey = CTRL+ALT+SHIFT+B
Shortkey = CTRL+ALT+SHIFT+B
Step 1: Install XML Tools plugin
Step 2: Format ....completed