在 Visual Studio Code 中处理 CSS 我想选择多行属性:值代码并将它们分别注释掉。例如
之前:
body {
width: 0px;
height: 0px;
color: red;
}
在突出显示宽度、高度和颜色线并使用 Ctrl+/应用自动注释后,VS Code 的默认行为是将所有行作为一个注释包含在内:
body {
/* width: 0px;
height: 0px;
color: red; */
}
我想要:
body {
/* width: 0px; */
/* height: 0px; */
/* color: red; */
}
如何做到这一点?
最佳答案
关于Visual Studio Code 中的 CSS - 选择多行并分别注释选择中的每一行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48781502/