51 reputation
115
bio website
location
age
visits member for 2 years, 10 months
seen Jun 9 at 19:28

Jun
9
comment Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
As I mentioned in the question, this does not work. Try it on the very first snippet I provided: <section><article><h1></h1><p></p></article></section>
May
4
awarded  Famous Question
Mar
7
awarded  Supporter
Dec
16
revised Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
added 4 characters in body
Sep
5
revised Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
added 291 characters in body
Sep
5
comment Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
Tried what? Neither Edit > Line > Reindent or the Tag plugin worked for me on this snippet in ST3: <p>foo<a>bar<span>baz<span>qux</span></span></a></p>
Aug
31
awarded  Notable Question
Jul
6
awarded  Popular Question
Apr
22
answered auto-close HTML tags in Sublime Text
Mar
17
comment Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
try using Tag's autoformat on this snippet: <p>foo<a>bar<span>baz<span>qux</span></span></a></p> to see what I mean. It also messes up the formatting of the opening HTML tag wrapped in IE conditional comments that is part of HTML5 Boilerplate (and comments in general). Try using the built-in Line > Reindent on this snippet: jsfiddle.net/y8xXj to see how it fails.
Mar
17
revised Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
added 2 characters in body
Mar
17
comment Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
As I mentioned in the original post, the Tag plugin is broken, most particularly in it's handling of inline tags, among other very bad bugs. The author has said he needs to "rewrite the whole thing". The reindent doesn't work for HTML really at all, it doesn't correct indentation; it just aligns tags to a certain indent level.
Mar
12
comment Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
Thanks, I tried each solution in that thread, none of them work. I've listed the reasons why many of them don't work in this thread.
Mar
11
revised Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
deleted 19 characters in body
Mar
11
revised Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
deleted 9 characters in body
Mar
11
awarded  Editor
Mar
11
comment Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
Edited title to be interrogative. I'm trying to find some way to auto-indent HTML in Sublime Text.
Mar
11
revised Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
edited title
Mar
11
asked Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?
Nov
5
awarded  Student