简体   繁体   中英

problem about making comment line in Vs Code

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 class="form-outline mb-4">

to this:

在此处输入图像描述

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

anybody know how can I fix this problem?

Make sure your HTML is selected on the status bar. 在此处输入图像描述

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM