How to indent XML files using Sublime Text Editor | Webharvy | Package Control Installation

Опубликовано: 16 Октябрь 2024
на канале: sysnucleus
9,835
25

www.webharvy.com

NOTES:

To download Sublime Text 3, use the below link :

https://www.sublimetext.com/3

1. Package Control Installation

Go to packagecontrol.io

Select the right code depending on whether you have Sublime Text 2 or Sublime Text 3

Sublime - View Menu - Show Console - Paste the code and click Enter

2. "Indent XML" Package Installation

Preferences - Package control - Install Package

Indent XML successfully Installed

3. To indent an XML file

Open the XML file and then select Preferences - Package Control - Indent XML

This indented XML file may now be saved