我一直在看这里,我对如何在 VSCode 中更改类的颜色感到困惑。目前,它看起来像这样:
...但我正在尝试更改类的颜色并且到目前为止还没有成功。到目前为止,我已经尝试过这个:
{
"python.pythonPath": "/usr/local/bin/python3",
"python.languageServer": "Pylance",
"python.showStartPage": false,
"workbench.colorCustomizations": {},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "entity.name.class",
"settings": {
"foreground": "#FF0000"
}
}
]
}
}
不确定范围的价值应该是什么才能让它发挥作用。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句