1、 "ctrl + , " 打开设置面板;
2、打开常用设置面板 右上角的 json 设置文件
3、在原 json 文件中追加如下代码
"editor.tokenColorCustomizations": {
"comments": "#82e0aa", // 注释
"keywords": "#0a0", // 关键字
"variables": "#f00", // 变量名
"strings": "#e2d75dbd", // 字符串
"functions": "#5b99fcc9", // 函数名
"numbers": "#AE81FF" // 数字
},
// 选中高亮的颜色
"workbench.colorCustomizations": {
"editor.selectionBackground": "#aa0000"
}
转载参考于博客:https://www.jianshu.com/p/975b009f9c4a