用户配置文件:settings.json 下添加:
"workbench.colorCustomizations": {
"editor.selectionBackground": "#e14949", //当前选择高亮颜色
"editor.selectionHighlightBackground": "#db0000" // 关联选择高亮颜色
},
"editor.tokenColorCustomizations": {
"comments": "#777777",
"keywords": "#ffb326",
"strings": "#e1e171", //双引号字符串
"numbers": "#f45050",
"textMateRules": [
{"scope": "invalid.illegal","settings": {"foreground": "#ebeb80"}}, //单引号字符串
{"scope": "variable.language","settings": {"foreground": "#76cc9b"}}, //this
]
}