个人常用配置
设置文件,包含字体样式,字体大小等相关配置
{
"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,
}
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)