Cha*_*son 5 css syntax codehighlighter sass visual-studio-code
我想知道,在 VS-Code 中编写 CSS 时:为什么属性“cursor”以黄色突出显示,而所有其他属性以蓝色突出显示?
我很欣赏任何见解。
谢谢你!
是的,这是一个坏错误。如果你检查cursor
范围,它会显示它是一个标签,特别是entity.name.tag.css
!我敢打赌,您的真实标签也使用相同的黄色。
您可以在设置中使用此解决方案:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "meta.property-list.scss entity.name.tag.css",
"settings": {
"foreground": "#f3873f", // set to whatever color your tags are
// which the same "Tokens and Scopes" Inspector
// in the command palette will show you
}
},
]
},
Run Code Online (Sandbox Code Playgroud)
您应该将 bug 与 vscode issues 一起提交。
归档时间: |
|
查看次数: |
1106 次 |
最近记录: |