How do I format XML in Notepad++?

后端 未结 20 2596
不思量自难忘°
不思量自难忘° 2020-11-27 08:40

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

20条回答
  •  一整个雨季
    2020-11-27 09:23

    UniversalIndentGUI did the job for me, once configured properly as described above.

    TextFX would not install and run correctly on an old PC I have running Windows XP. There are instructions above for manual installation of various DLL files, but I'd rather avoid any manual installation.

    UniversalIndentGUI formatted some lines like this:

            1
            
    

    And I would have preferred:

            1
    

    But the output is still much better than one long line!

提交回复
热议问题