![]() ![]() You can select all your code( ctrl + A) and use the in-app functionality, reindent( Edit -> Line -> Reindent) or you can use JsFormat formatting plugin for Sublime Text 2 if you would like to have more customizable settings on how to format your code to addition to the Sublime Text’s default tab/indent settings. Lots of great features, not much to complain about.Īltough the question is for HTML, I would also additionally like to give info about how to auto-format your Javascript code for Sublime Text 2 HTML-CSS-JS Prettify is the winner in my book. Requires PHP (falls back to web service).Can’t handle minified HTML, lines with multiple open tags.Ships with Sublime, so no plugin install needed.I’ve tested each of the most popular plugins (see the writeup I did on my blog for full details), but here’s a quick overview of some of the most popular options: Reindent command There are half a dozen or so ways to format HTML in Sublime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |