右侧是否显示代码的缩略图
VS Code 会在代码的右侧,默认显示缩略图。你可以在设置项里搜索 editor.minimap进行设置,配置项如下:
code .vscode/settings.json
{
"editor.tokenColorCustomizations": {
// "keywords": "#fa0303", // 关键字
// "variables": "#fa0303", // 变量名
"functions": "#fa0303", // 函数名s
// "strings": "#ffffff", // 字符串
// "numbers": "#9d1fbd", // 数字
"comments": "#03f951fa", // 注释
},
// 选中高亮的颜色
"workbench.colorCustomizations": {
"editor.selectionBackground": "#f4f404",
"editor.selectionHighlightBackground": "#f5f548",
"editor.lineHighlightBackground": "#bef77390",
"editor.lineHighlightBorder": "#00000000"
},
"files.associations": {
"*.proto": "cpp",
"*.xpp": "cpp",
"*.jce": "cpp",
"string": "cpp"
},
// 控制字体系列。
"editor.fontFamily": "Consolas, 'Courier New', monospace",
// 启用字体连字
"editor.fontLigatures": false,
// 以像素为单位控制字号。
"editor.fontSize": 14,
// 控制字体粗细。
"editor.fontWeight": "normal",
}