How to display class and id labels next to the closing HTML tags?

Is it possible to add class and id labels next to the closing tags of HTML elements? Something like on the screenshot from VSC.

Usually I'm adding this by myself using HTML comments:

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

But it is a bit tiring. Do you have any ideas on how manually adding such comments can be sped up?

2 comments
Comment actions Permalink

>Is it possible to add class and id labels next to the closing tags of HTML elements?

Not possible currently, please follow https://youtrack.jetbrains.com/issue/WEB-53262 for updates

Note that you can see his info in HTML breadcrumbs if you put a cursor on element

0
Comment actions Permalink

>Do you have any ideas on how manually adding such comments can be sped up?

 

did you try enabling the Comment tag filter in Settings | Editor | Emmet | HTML? It expands to

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

when you enter .row and hit Tab

0

Please sign in to leave a comment.