Home > Blockchain >  problem about making comment line in Vs Code
problem about making comment line in Vs Code

Time:08-16

I used to make an uncomment line as a commented one by these hot keys ctrl / but I don't know why recently I couldn't do that. as I try it my line changes from this:

 <div >

to this:

enter image description here

and in fact it doesn't changes to a comment line

anybody know how can I fix this problem?

CodePudding user response:

Make sure your HTML is selected on the status bar. enter image description here

You can change it by, Ctrl Shift P and then Change Language Mode. Set to HTML.

  • Related