The feature I use the most is “Pretty print (XML only – with line breaks)”.Re-start Notepad++ and you should finally see the proper XML Tools 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 now see the XMLTools appear in the Plugins menu.Unzip the file and copy the XMLTools.dll to the Notepad++ plugins folder (in the example above: C:\Program Files (x86)\Notepad++\plugins):.If you run Notepad++ and look in the Plugins menu, you’ll see that the XML Tools aren’t there: Pretty print (XML only - with line breaks).XML Tools complements TextFX by indenting the newly wrapped lines nicely. TextFX has the benefit of wrapping long lines, which XML Tools does not do, but it doesn’t indent those new lines correctly. Here’s how and why: 1.TextFX -> TextFX HTML Tidy -> Tidy: reindent XML To install a plugin, click on the plugin tab, then go to plugin manager and select plugin whatever you want.įor best results, you should use both TextFX XML tidy and XML tools pretty print. This is was my location of plugin folder: C:\Program Files\Notepad++\pluginsĪfter pasting the. Once you download the plugin manager, paste into the plugin folder. This is for the folks who do not see the the plugin manager in the plugin tabĭownload the plugin manager from this link – this is for the 64-bit plugin manager.
(this is the tool that most of the users use)Īll the previous answers do not define how to add the plugin manager in your Notepad++ installation. Here are most of plugins you can use in Notepad++ to format your XML code.Įnable ‘text auto update’ in plugin manager-> UniversalIndentGUI Then copy XMLTools.dll to the plugins directory and external libraries (four dlls) into the root Notepad++ directory. Plugins > Plugins Manager > Show Plugins Manager Plugins -> XML Tools -> Pretty Print (libXML) or Ctrl+ Alt+ Shift+ B If you can’t try with Eclipse, do right button, source, and correct indent. Try TextFX → TextFX Html Tidy → Tidy: reindent XML