davideghz davideghz - 5 months ago 15
HTML Question

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
.

Answer

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

Comments