How to format xml files in notepad: 1. Open notepad and click on the plug-in option; 2. Click to expand the [XML Tools] option; 3. Click to select the [Pretty print] option.
When I want to use Notepad to quickly view the xml file exported from somewhere (such as through: uiautomatorviewer), the file is in a mess and I feel dizzy. Dazzling.
The general situation is as follows: (Recommended learning: notepad use)
Need to download the XML Tools plug-in .
XML file format
Start Notepad, click the Plugins tab, you can see that the XML Tools plug-in has been loaded. If you want to format an XML file, select a series of options starting with Pretty print (here I choose to use the menu in the red box to achieve the effect I want).
The above is the detailed content of How to format xml in notepad. For more information, please follow other related articles on the PHP Chinese website!