编辑器配置看本身习惯,这里是为了记录我本身的配置习惯:
json
settings.jsonmarkdown
{
//vscode编辑器全局设置
//主题色
"workbench.colorTheme": "Monokai",
//鼠标滚轮缩放字体大小
"editor.mouseWheelZoom": true,
//自动换行
"editor.wordWrap": "on",
//自动保存
"files.autoSave": "afterDelay",
//自动保存时间
"files.autoSaveDelay": 100,
//文件字号大小
"editor.fontSize": 20,
//markdown字号大小
"markdown.preview.fontSize": 20,
//关闭文件预览模式
"workbench.editor.enablePreview": false,
//双击打开文件
"workbench.list.openMode": "doubleClick",
//覆盖当前所选颜色主题的颜色
"workbench.colorCustomizations": {
//选中背景色
"editor.selectionBackground": "#9d560fa2",
//选中前景色
"editor.selectionForeground": "#fff",
//与选择内容相同的区域的颜色
"editor.selectionHighlightBackground": "#9d560f00",
//与选择内容相同的区域的边框颜色
"editor.selectionHighlightBorder": "#A6E22E",
//光标指在变量时的背景色
"editor.wordHighlightStrongBackground": "#e22e3700",
//光标指在变量时的边框色
"editor.wordHighlightStrongBorder": "#A6E22E",
//当前搜索匹配的颜色
"editor.findMatchBackground": "#9d560fa2",
//其余搜索匹配的颜色
"editor.findMatchHighlightBackground": "#ebd071",
//当前搜索匹配的边框颜色
// "editor.findMatchBorder": "#fff",
//匹配括号后面的背景颜色
"editorBracketMatch.background": "#A6E22E",
//匹配括号框的颜色
"editorBracketMatch.border": "#ffffff00"
}
}