更新 'settings.json'

This commit is contained in:
colin 2021-12-09 19:26:19 +08:00
parent 8694ea77b7
commit eb1ce87ef9
1 changed files with 8 additions and 22 deletions

View File

@ -44,60 +44,46 @@
"--header-insertion=iwyu", "--header-insertion=iwyu",
"--pch-storage=disk", "--pch-storage=disk",
], ],
// "editor.tokenColorCustomizations": {
// "comments": "#7c7c7c",
// "keywords": "#808000",
// "variables": "#000000",
// "strings": "#008080",
// "functions": "#800000",
// "numbers": "#008000",
// "types": "#400080",
// },
"editor.semanticHighlighting.enabled": true, "editor.semanticHighlighting.enabled": true,
"editor.semanticTokenColorCustomizations": { "editor.semanticTokenColorCustomizations": {
"enabled": true, "enabled": true,
"rules": { "rules": {
"parameter": "#306b72", "parameter": "#723030",
"class": { "class": {
"fontStyle": "bold", "foreground": "#000000"
"foreground": "#729de3"
}, },
"function": { "function": {
"foreground": "#800000" "foreground": "#800000"
}, },
"variable": "#000000", "variable": "#000000",
"string": "#008080", "string": "#008080",
"keyword": "#808000", "keyword": "#070000",
"number": "#008000", "number": "#008000",
"type": "#400080", "type": "#400080",
"enum": "#397797", "enum": "#397797",
"enumMember": "#397797", "enumMember": "#397797",
"macro": { "macro": {
"foreground": "#8f5daf", "foreground": "#8f5daf",
// "fontStyle": "bold"
}, },
"method": { "method": {
"foreground": "#e5b124", "foreground": "#000000",
"fontStyle": "underline"
}, },
"comment": "#7c7c7c", "comment": "#7c7c7c",
"namespace": { "namespace": {
"foreground": "#00d780", "foreground": "#000000",
"fontStyle": "bold"
}, },
"*.readonly": { "*.readonly": {
"fontStyle": "bold" // "fontStyle": "bold"
}, },
"variable.readonly": { "variable.readonly": {
"foreground": "#8f5daf", "foreground": "#8f5daf",
"fontStyle": "bold"
}, },
"*.static": { "*.static": {
"fontStyle": "italic" "fontStyle": "italic"
}, },
"property": { "property": {
"foreground": "#7ca6b7", "foreground": "#000000",
"fontStyle": "underline" // "fontStyle": "underline"
}, },
} }
}, },