I am trying Visual Studio Code lately and i've noticed that when i try to add a line comment in an HTML file (using Ctrl / or Ctrl K Ctrl C) instead of this: <!-- -->
, i get this {{/* */}}
.
I don't know which extension change it. How to make a normal html comment?
CodePudding user response:
what is the languageId (lower right status bar) of the file
I recently write golang and install casualjim.gotemplate
, this extension recognized html to tpl, then use the wrong comment.
I click languageId (lower right status bar), select right language mode
: html
, then it works normal.