Sublime Text can Reindent! So it obviously know about connected divs (and other elements). Would there be something like automatically added close comments for those elements, as in:
BEFORE:
<div id="my-div">
</div>
AFTER:
<div id="my-div">
</div><!-- #my-div -->
AND WITH CLASSES:
<div id="my-div" class="my-class">
</div><!-- #my-div .my-class -->
out there anywhere?