Search code examples
visual-studio-codeweb-essentialsvscode-snippetszen

Visual Studio Code's Zen coding HTML comment


In Visual Studio Code, is there a way to insert an HTML comment, like

<!-- something here -->

just like you can insert a div tag with a class of "foo" by doing:

div.foo + [TAB]

That results in

<div class="foo"></div>

Solution

  • In the latest versions the 'c' character is transformed into a comment.