每次按快捷键 command + / 增加注释时, 自动加上的注释代码都是 // aaa ,但是css的注释应该是/* aaaa */ ,刚才没注意这个差别,差点被坑(因为从颜色上看代码是被注释掉了的)。
请教怎么才能改成正常的注释代码?
请教怎么才能改成正常的注释代码?
1
paloalto OP 有结果了:
Sass supports standard multiline CSS comments with /* */, as well as single-line comments with //. The multiline comments are preserved in the CSS output where possible, while the single-line comments are removed. http://sass-lang.com/documentation/file.SASS_REFERENCE.html |