最近,我开始学习 Vue 并使用 Vue-Cli。有一个问题,我无法使用热键(VSCode)注释掉 .html 文件中的 HTML 标记。当我使用“Ctrl+/”时,我想注释掉这样的行。
// <div> comment out this line</div>
Run Code Online (Sandbox Code Playgroud)
不是这样的。
<!--<div> comment out this line</div>-->
Run Code Online (Sandbox Code Playgroud)
是否有可能我更改了 VSCode 中的某些设置导致这种情况?有谁知道如何解决这个问题?