How do I reformat HTML code using Sublime Text 2?
You don’t need any plugins to do this. Just select all lines (CTRL+A) and then from the menu select Edit → Line → Reindent. This will work if your file is saved with an extension that contains HTML like .html or .php. If you do this often, you may find this key mapping useful: If your file is … Read more