Visual studio code 自定义当前Visual Studio代码主题
我正在对当前主题(Atom主题)进行更改,以使所有语言中的字符串或至少python和javascript中的字符串以特定颜色显示 在settings.json中,我添加了以下内容,但它似乎没有反映Visual studio code 自定义当前Visual Studio代码主题,visual-studio-code,themes,Visual Studio Code,Themes,我正在对当前主题(Atom主题)进行更改,以使所有语言中的字符串或至少python和javascript中的字符串以特定颜色显示 在settings.json中,我添加了以下内容,但它似乎没有反映 "editor.semanticTokenColorCustomizations": { "[Atom One Light]": { "enabled": true, "
"editor.semanticTokenColorCustomizations": {
"[Atom One Light]": {
"enabled": true,
"rules": {
"string": { "color": "#FFFFFF" }
}
}
}
请在
设置中尝试以下操作。json
:
“editor.tokenColorCustomizations”:{
“[Atom One Light]:{”strings:“#FF0000”},
}
什么是semanticTokenColorCustomizations?我尝试了上述内容,但作为
字符串
抱歉,我不太确定semanticTokenColorCustomizations
和tokenColorCustomizations
之间的区别。。。我认为这可能是一个新的堆栈溢出问题:)