Search code examples
htmljetbrains-idelive-templates

Jetbrains "tag.class" live template


Currently, while using one of JetBrain's IDE on an HTML file, if you type something like div.row and hit TAB, it will print the following:

<div class="row"></div>

I would like to edit the live template in order to add an HTML comment after the closing TAG, with the name of the TAG; I'd like to get something like:

<div class="row"></div><!-- row -->

Do you know the name of the proper live template to edit, I was not able to find it in Setting/Editor/Live Templates.


Solution

  • Settings | Editor | Emmet | HTML, Filters enabled by default/Comment tags should do the thing