个人常用配置

设置文件,包含字体样式,字体大小等相关配置
{

    "editor.fontLigatures": true,
    "editor.fontFamily": "'JetBrains Mono',Inconsolata, 'Courier New', monospace,",
    "editor.accessibilityPageSize": 10,
    "editor.insertSpaces": true,
    "editor.cursorBlinking": "smooth",
    "editor.cursorSmoothCaretAnimation":"on",
    "editor.tokenColorCustomizations": {
    "keywords": "#ffffff",
    "variables": "#ffb5cf",
    "functions": "#92f1fc",
    "strings": "#e3d4ff",
    "numbers": "#f8f559",
    "comments": "#7ac47c",
    "types": "#a4cfff"   
    },
    "editor.semanticTokenColorCustomizations": {
        "enabled": true, // enable for all themes
        "rules": {
            //"*.static": {
            //"foreground": "#ff09f3",
            //"fontStyle": "bold"
            //},
            "property": {   //属性
                "foreground": "#59822a",
                "fontStyle": ""
            },
            "macro": {      //"foreground": "#b4b44b",
                "fontStyle": ""
            },
            "function": {   //函数
                "foreground": "#92f1fc",
                "fontStyle": ""
            },
            "variable.global": { //全局变量
                "foreground": "#e74654",
                "fontStyle": ""
            },
            "variable.local": { //局部变量
                "foreground": "#ffb6cf",
                "fontStyle": ""
            },
        }
    },
    "workbench.colorCustomizations": {
        //编辑器
        //"editor.background": "#000000",  
        //"sideBar.background": "#000000",
        //"activityBar.background": "#000000",
        //"editorIndentGuide.activeBackground1":"#9ba4af",
        //"editorIndentGuide.activeBackground2": "#ebd39c",
        //"editorBracketMatch.background": "#ffffff00",
        "editorBracketMatch.border": "#69f047",
        //"tab.activeBackground": "#c0d9f070",
        "editor.selectionHighlightBorder": "#ff0037",
        //"editor.selectionHighlightBackground": "#fcde8d81",
        //"editor.selectionForeground": "#3b58ff",
        "editor.lineHighlightBackground": "#a0baac35",//光标所在行
        "editor.foldBackground": "#377affa0",//折叠背景色
    },
    "terminal.integrated.cursorBlinking": true,
    "workbench.colorTheme": "One Dark Pro Darker",
    "workbench.layoutControl.enabled": false,
    "window.commandCenter": false,
    "terminal.integrated.defaultProfile.windows": "PowerShell",
    "editor.fontSize": 15,

}

posted @   xuHxuan  阅读(20)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
点击右上角即可分享
微信分享提示