分享本人VSCode配色(如何修改VSCode各种颜色)

  1. 按下Command + Shift + P打开命令面板
  2. 输入settings
    在这里插入图片描述
  • Open Settings为用户自定义设置
  • Open Default Settings为默认设置(只读,不能修改的)
  1. 选中Open Settings(JSON)后按回车
  2. 下面为我的自定义设置
{
    
    
    "editor.wordWrap": "on", 
    "window.zoomLevel": 0,
    "[csharp]": {
    
    
        "editor.defaultFormatter": "Leopotam.csharpfixformat"
    },
    "editor.minimap.enabled": false,
    "workbench.colorCustomizations": {
    
    
        // "editorLineNumber.foreground": "#17a346",
        // "editorGutter.background": "#0fcf65",
        // 光标颜色
        "editorCursor.foreground": "#f70f22",
        "editor.lineHighlightBackground": "#0D4642",
        "editor.lineHighlightBorder": "#00000000",
        // 相同内容高亮背景颜色
        "editor.selectionHighlightBackground": "#0d54ec",
        // 选中内容的背景颜色
        // "editor.selectionBackground": "#f8f81d",
        // 当前搜索匹配的背景颜色
        "editor.findMatchBackground": "#913c58",
        // 其他搜索匹配的背景颜色
        "editor.findMatchHighlightBackground": "#0000",
        "editor.wordHighlightBackground": "#e27202de",
        // 匹配括号框的颜色
        "editorBracketMatch.border": "#00ff22",
        // 匹配括号的背景颜色
        "editorBracketMatch.background": "#0052cc",
        // 编辑器活动缩进参考线的颜色
        "editorIndentGuide.activeBackground":"#a14578",
        // 当前选项卡背景颜色
        "tab.activeBackground": "#083cac",
        "highlight-icemode.borderColor": "#FF0000",
    },
    "editor.quickSuggestions": {
    
    
        "strings": true
    },
    "window.restoreWindows": "all",
    "sync.gist": "df06ef32235644639ff7ba0e203a8f3c",
    "workbench.editor.enablePreview": false,
    "breadcrumbs.enabled": true,
    "editor.renderWhitespace": "all",
    "[json]": {
    
    
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[html]": {
    
    
        "editor.defaultFormatter": "vscode.html-language-features"
    },
}

猜你喜欢

转载自blog.csdn.net/oHaiKuoTianKong1682/article/details/113980977