Showing posts with label How to indent XML files automatically when opened in Sublime Text 2. Show all posts
Showing posts with label How to indent XML files automatically when opened in Sublime Text 2. Show all posts

Tuesday, 21 March 2017

How to indent XML files automatically when opened in Sublime Text 2


To indent and beautify XML, Use SublimeText Indent plugin:sublimetext_indentxml.

  • Download the Package and Extract to Sublime Installation directory,inside package folder.For ex:C:\softwares\Sublime Text 2.0.2 x64\Data\Packages.
  • Open any XML file or create a new file and paste any XML into it.
  • Press Ctrl-K, F to indent it.

Enjoy Learning.