vscode配色code
"editor.tokenColorCustomizations": {
"comments": "#55aa7f",
"keywords": "#ff55ff",
"variables": "#81effd",
"strings": "#00ff7f",
"functions": "#ffff00",
"numbers": "#00eeff",
"types": "#8ccdf8",
"textMateRules": [
// 系统内置函数名称print len
{
"scope": "keyword.function",
"settings": {
"foreground": "#ffbb00",
}
},
{
"scope": "entity.name.type", //函数和类的名称颜色
"settings": {
"foreground": "#FF0000"
}
},
// 类的名称颜色 如class abc() 中的abc
{
"scope": "storage.type", //void int char
"settings": {
"foreground": "#ff00c8"
}
},
// 类和行数定义单词颜色 def class
{
"scope": "storage.modifier", //static const
"settings": {
"foreground": "#FF0000"
}
},
// 不知道是什么
{
"scope": "keyword.operator",
"settings": {
"foreground": "#ff55ff",
}
},
// 运算符号,如+-*/=
{
"scope": "keyword.control",
"settings": {
"foreground": "#ffe600de"
}
},
// and or &&
{
"scope": "keyword.operator.logical",
"settings": {
"foreground": "#ff00c8",
"fontStyle": ""
}
},
// \r\n
{
"scope": "constant.character.escape",
"settings": {
"foreground": "#ee5050"
}
},
{
"scope": "variable.other",
"settings": {
"foreground": "#bbaee9"
}
},
// 函数的参数名称
{
"scope": "variable.parameter",
"settings": {
"foreground": "#5eccf8",
"fontStyle": ""
}
},
//函数的参数名称
{
"scope": "entity.name.section",
"settings": {
"foreground": "#ff0000"
}
},
{ //左单双引号
"scope": "punctuation.definition.string.begin",
"settings": {
"foreground": "#00ff7f",
"fontStyle": "bold"
}
},
{ // 右单引号
"scope": "punctuation.definition.string.end",
"settings": {
"foreground": "#00ff7f",
"fontStyle": "bold"
}
},
{
"scope": [
"constant.other.symbol"
],
"settings": {
"foreground": "#ff0000"
}
},
{
"scope": [
"entity.name.tag"
],
"settings": {
"foreground": "#ff0055"
}
}
]
},