Answer the question
In order to leave comments, you need to log in
What is the name of the plugin for Sublime Text that automatically adds a comment at the end of the closing HTML block with classes and IDs?
something like this:
<div class="test">
<h1>Какой-то текст</h1>
</div><!-- test -->
Answer the question
In order to leave comments, you need to log in
If you haven't tried it yet, then try Emmet.
He can do this:
Enter
Press Tab
<div class="container"></div>
<!-- /.container -->
You can add such a snippet and immediately write opening, closing comments and the name of the class in the section/diva. (you need to write di in the right place and press TAB)
<snippet>
<content><![CDATA[
<!-- begin #$1 -->
<section class="$1">
$2
</section>
<!-- end #$1 -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>di</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.html</scope>
</snippet>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question