settings.json
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"variable.other.global", //全局变量
],
"settings": {
"foreground": "#64abc9",
// "fontStyle": "italic"
}
},
{
"scope": [
"variable.other.local", // 局部变量
"variable.parameter", // 形参
],
"settings": {
"foreground": "#05c4c4",
// "fontStyle": "bold"
}
},
],
},
"editor.rulers": [80, 120, 160],
"search.exclude": {
"**/ca.si4project": true,
// ".history/": true,
// "**/*.keep*": true
},
"files.exclude": {
"**/cat.si4project": true,
// ".history/": true,
// "**/*.keep*": true
},
}
设置搜索search.exclude 等可以设置全局屏蔽 再配合项目设置搜索选项
设置 搜索format 扩展c/c++
Clang_format_fallback Style
设置
{ BasedOnStyle: WebKit, IndentWidth: 8, IndentCaseLabels: false, AccessModifierOffset: -4, AlignTrailingComments: true }
Shortcut Menu Bar: User Button01 Command
editor.action.goToReferences
editor.action.revealDefinitionAside