1、操作方式
①点击左下角【齿轮】打开设置;
②点击右上角文件图标【打开设置.json】
③粘贴主题配置代码,并按ctrl+s保存并重启

2、配置代码.json
{
// 系统窗口设置
"editor.fontSize": 15, // 字体大小15
"files.encoding": "gbk", // 文件默认编码格式GBK
"security.workspace.trust.untrustedFiles": "open", // 打开安全工作区信任
"editor.suggest.snippetsPreventQuickSuggestions": false, // 不自动补全
"editor.accessibilitySupport": "off", // 关闭访问性支持
"hediet.vscode-drawio.theme": "dark",
"verilog.linting.linter": "xvlog", // Verilog环境-xvlog
"verilog.ctags.path": "ctags", // Verilog代码纠错插件
"editor.tabSize": 4, // tab制表符空格个数
"typescript.updateImportsOnFileMove.enabled": "always", // 总是更新文件
"editor.formatOnSave": true, // 开启自动格式化代码
"eslint.autoFixOnSave": true, // 保存代码时自动ESLint格式化
"prettier.singleQuote": true, // prettier设置强制单引号
"vetur.format.defaultFormatter.js": "vscode-typescript", // 让vue中的js按编辑器自带的ts格式进行格式化
"window.enableMenuBarMnemonics": false,
"liveServer.settings.donotShowInfoMsg": true,
"workbench.colorTheme": "Default Light+",
"workbench.colorCustomizations": { // 颜色设置
"editor.background": "#C7EDCC",
"sideBar.background": "#FAF9DE",
"terminal.background": "#EAEAEF"
},
"security.workspace.trust.enabled": false,
"editor.detectIndentation": false,
"window.zoomLevel": 1,
"C_Cpp.clang_format_style": "{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Attach, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4 } ",
"workbench.editor.enablePreview": false,
"breadcrumbs.enabled": false
}
4628

被折叠的 条评论
为什么被折叠?



