Better Comments 设置注释不同颜色
veture //vue要用
{
"git.path":"C:\Program Files\Git\cmd\git.exe",
"git.ignoreMissingGitWarning": true,
"breadcrumbs.enabled": true,
"workbench.colorTheme": "One Dark Pro",
"editor.fontFamily": "mononoki,Consolas, ‘Courier New‘, monospace",
"editor.renderLineHighlight": "none",
"editor.lineHeight": 18,
"editor.roundedSelection": false,
"editor.fontSize": 14,
"workbench.colorCustomizations": {
"editor.selectionHighlightBorder": "#8e7f8200",//选择内容的边框颜色
"editor.selectionHighlightBackground": "#d8267f98",//选择内容的背景颜色
"editorIndentGuide.activeBackground":"#81868d",//编辑器活动缩进参考线的颜色
"editorBracketMatch.background":"#515a6b94",//匹配括号的背景色
"tab.activeBackground": "#454b58",//当前选项卡背景颜色
},
"editor.tokenColorCustomizations": { //注释
"comments": {
// 设置字体样式 加粗 下划线 斜体等
"fontStyle": "",
// 设置字体颜色
"foreground": "#4cd47a"
}, // 注释
// "keywords": "#0a0", // 关键字
// "variables": "#f00", // 变量名
// "strings": "#e2d75dbd", // 字符串
// "functions": "#fc5bbec9", // 函数名
// "numbers": "#AE81FF" // 数字
},
}
原文地址:https://www.cnblogs.com/lucy-xyy/p/12077894.html