vscode默认主题的颜色是这样的,太单调了。当前行、当前选中单词高亮非常不明显:

如何修改:
- 打开配置文件:

- 去vscode官方文档查找你要的配置,例如

- 编辑配置

{
"editor.minimap.enabled": false,
"C_Cpp.default.compilerPath": "",
"security.workspace.trust.untrustedFiles": "open",
"git.openRepositoryInParentFolders": "never",
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#431455", // 这将更改当前行的背景颜色
"editor.lineHighlightBorder": "#2124dd", // 这将更改当前行的边框颜色
"editor.wordHighlightBackground": "#0a746fbb", // 设置高亮边框颜色
// "editor.wordHighlightBorder": "#2124dd",
}
}
保存即见效