【发布时间】:2018-07-24 16:34:28
【问题描述】:
在 Visual Studio Code 中处理 CSS 我想选择多行 property:value 代码并将它们分别注释掉。例如
之前:
body {
width: 0px;
height: 0px;
color: red;
}
在突出显示宽度、高度和颜色线并使用 Ctrl+/ 应用自动注释后,VS Code 的默认行为是将所有行包含为一个注释:
body {
/* width: 0px;
height: 0px;
color: red; */
}
我想拥有:
body {
/* width: 0px; */
/* height: 0px; */
/* color: red; */
}
如何做到这一点?
【问题讨论】:
标签: css visual-studio-code comments