vscode settings.json 配置
2023-06-04 本文已影响0人
洪锦一
{
"editor.fontSize": 14.5, // 字号
// "files.autoSave": "afterDelay", // 自动保存
"editor.formatOnPaste": false, //粘贴时自动格式化
"editor.formatOnSave": false, // 保存的时候自动格式化
"workbench.colorTheme": "Visual Studio Dark",
"editor.fontLigatures": true, // 配置字体连字或字体特性。可以是用于启用/禁用连字的布尔值,或用于设置 CSS "font-feature-settings" 属性值的字符串。
"editor.fontFamily": "'Cascadia Code',微软雅黑,'Noto Sans CJK SC'", // 字体
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.bracketPairColorization.independentColorPoolPerBracketType": false,
"editor.bracketPairColorization.enabled": false,
"editor.guides.bracketPairs": false,
"workbench.layoutControl.type": "menu",
"window.titleBarStyle": "custom",
"editor.minimap.showSlider": "always",
"security.workspace.trust.enabled": false,
"update.mode": "manual",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// "wrap_attributes": "force-expand-multiline",
"wrap_line_length": 240,
"wrap_attributes": "auto",
"end_with_newline": false
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"editor.fontVariations": false,
"editor.fontWeight": "normal", //控制字体粗细。接受关键字“正常”和“加粗”,或者接受介于 1 至 1000 之间的数字。
// 在使用搜索功能时,将这些文件夹/文件排除在外
// "search.exclude": {
// "**/node_modules": true,
// "**/bower_components": true,
// "**/target": true,
// "**/logs": true,
// },
// 这些文件将不会显示在工作空间中
// "files.exclude": {
// "**/.git": true,
// "**/.svn": true,
// "**/.hg": true,
// "**/CVS": true,
// "**/.DS_Store": true,
// "**/*.js": {
// "when": "$(basename).ts" //ts编译后生成的js文件将不会显示在工作空中
// },
// "**/node_modules": true
// },
}