https://www.kancloud.cn/tjs5945111/tools/1923712
https://www.sohu.com/a/666498061_120455172
{
“remote.SSH.remotePlatform”: {
“172.16.10.52”: “linux”
},
“clangd.arguments”: [
“–compile-commands-dir=${workspaceFolder}”,
“–background-index”,
“–completion-style=detailed”,
“–header-insertion=never”,
“–log=error”
],
“workbench.colorTheme”: “Default Light+”,
“workbench.colorCustomizations”: {
“editor.lineHighlightBackground”: “#40da40”, //代码选中高亮颜色
“editor.wordHighlightBackground”: “#fbff00”,
“editorLineNumber.foreground”: “#a4a4a4”, //代码行号颜色
“editor.background”: “#a1f5ac”,
//“editor.background”: “#ffffff”,
“sideBar.background”: “#e4eae5”,
“activityBar.background”: “#000000”,
“titleBar.activeBackground”: “#ffffff”,
//底部状态栏颜色设置
“statusBar.background”: “#b4ad99”,
//滚动条颜色
“scrollbarSlider.background”: “#cfb56a”,
“scrollbarSlider.hoverBackground”: “#cfb56a”,
“scrollbarSlider.activeBackground”: “#cfb56a”,
//弹出小窗口:选项设置提示窗口,源代码补全窗口
"editorWidget.background": "#58f458", // 弹出小窗口的背景
"editorSuggestWidget.selectedBackground": "#e8dfc4", //代码提示选中行高亮
"list.hoverBackground": "#99d4a1", // 鼠标所在行的颜色
"editorWidget.border": "#ff0000", // 弹出小窗口的边框
"list.activeSelectionBackground": "#75ce92", //侧边栏选中高亮
"list.inactiveSelectionBackground": "#75ce92" //侧边栏选中未获得焦点颜色
},
"editor.tokenColorCustomizations": {
"comments": "#800080", // 注释
"keywords": "#FF00FF", // 关键字
"functions": "#000080", // 函数名
"variables": "#800080", // 变量名
"numbers": "#ff0000", // 数字
"types": "#008000", // 类型
// “strings”: “#f50000”, // 字符串
//“[Default Light+]”: {
“textMateRules”: [
{
“scope”: [
“keyword.other”,//其他关键字 typedef
],
“settings”: {
“foreground”: “#ff00ff”,
“fontStyle”: “”
}
},
{
“scope”: [
“keyword.control.directive”, // 与宏相关的关键字
“punctuation.definition.directive”,// 与宏相关的关键字符号 “#”
],
“settings”: {
“foreground”: “#008000”,
“fontStyle”: “”
}
},
{
“scope”: [
“punctuation”,
“punctuation.separator.dot-access”,//语法符号,视作关键字 符号 “.”
“punctuation.separator.pointer-access”,//语法符号,视作关键字 符号 “->”
“keyword.operator”,//语法符号,视作关键字 运算符
],
“settings”: {
“foreground”: “#800080”,
“fontStyle”: “”
}
},
{
“scope”: [
“entity.name.function”, // 函数名
“keyword.operator.sizeof”, // 库函数
],
“settings”: {
“foreground”: “#000080”,
“fontStyle”: “bold”,
// “fontSize”: “90”,
}
},
{
“scope”: [
“variable.parameter”, // 形参,视作函数的一部分
],
“settings”: {
“foreground”: “#000080”,
“fontStyle”: “”
}
},
{
“scope”: [
“variable.other.global”, //全局变量
],
“settings”: {
“foreground”: “#800080”,
“fontStyle”: “”
}
},
{
“scope”: [
“variable.other.local”, // 局部变量
“variable.other.property”, // 结构体的字段
“variable.other.constant”,
“keyword.control”,
// “punctuation”,//一般的标点符号
],
“settings”: {
“foreground”: “#000080”,
“fontStyle”: “”
}
},
{
“scope”: [
“entity.name.function.preprocessor”, // 宏定义
],
“settings”: {
“foreground”: “#ff0000”,
“fontStyle”: “bold”
}
},
{
“scope”: [
“constant.numeric”, // 数值
“variable.other.enummember”,//枚举值
// “string.quoted.double.c”
],
“settings”: {
“foreground”: “#ff0000”,
“fontStyle”: “italic”
}
},
{
“scope”: [
“storage.type.built-in.primitive.c”, //自带的类型
“storage.type”, // struct关键字
“storage.modifier”, // const, static
],
“settings”: {
“foreground”: “#008000”,
“fontStyle”: “”
}
},
{
“scope”: [
“string”
],
“settings”: {
“foreground”: “#ff0000”,
“fontStyle”: “italic”,
}
},
{
“scope”: [
“string.quoted.double.include”,
“string.quoted.other.lt-gt.include”, //头文件
“constant”,
],
“settings”: {
“foreground”: “#800080”,
// “background”:“#0000FF”,
“fontStyle”: “”
}
},
],
// },
},
"workbench.sideBar.location": "right",
}