I’m a new sublime user, transferring over from notepad++. One of the things I really liked about notepad++ was that it allowed you to fold up whole sections of html based on the tags alone. I notice that you can also fold up in Sublime, but it’s based on indentation (at least by default).
In case you don’t know what I mean, Imagine the following html:
<body>
<ul>
<li></li>
</ul>
</body>
In notepad++, you would be able to fold up the ul and the body elements completely, regardless of the fact that the contents of body are not indented.
In sublime, by default, you would only be able to fold up the ul element because the contents are tabbed.
How can I add that notepad++ folding functionality to sublime?
[edit]
one very attractive solution is to just select everything and click ctrl+shft+p and find the ‘reindent lines’ command.