How do I format XML in Notepad++?

后端 未结 20 2661
不思量自难忘°
不思量自难忘° 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:31

    Here are most of plugins you can use in Notepad++ to format your XML code.

    • UniversalIndentGUI
      (I recommend this one)

    Enable 'text auto update' in plugin manager-> UniversalIndentGUI
    Shortkey = CTRL+ALT+SHIFT+J

    • TextFX
      (this is the tool that most of the users use)

    Shortkey = CTRL+ALT+SHIFT+B

    • XML Tools
      (customized plugin for XML)

    Shortkey = CTRL+ALT+SHIFT+B

提交回复
热议问题