Home > Enterprise >  In vsc, When i use Shortcut key Ctrl / to make comment in HTML file, it doesn't work right li
In vsc, When i use Shortcut key Ctrl / to make comment in HTML file, it doesn't work right li

Time:09-27

When i use shortcut key to make comment in HTML file, it doesn't work.

Originally, I expect "<!-- -->" when i type "Ctrl /" but now result is "{{! }}".

I don't know what dose sign that.

Please teach me how to fix that if you have had fixed same problem...

CodePudding user response:

First you have to make sure that your HTML file has proper .html extension. And check the language mode associated with that file in your VScode status bar. See this status bar showing HTML language model for my .html file.

  • Related