{
"editor.tabSize": 2,
"editor.lineHeight": 24,
"editor.formatOnSave": true,
"editor.fontSize": 16,
"editor.quickSuggestions": {
"strings": true,
"other": true,
"comments": true
},
// 注释
"fileheader.configObj": {
// 将该选项设置为true即可开启
"autoAdd": false
},
// 头部注释
"fileheader.customMade": {
"Author": "lizhanchao",
"Date": "Do not edit",
"LastEditors": "lizhanchao",
"LastEditTime": "Do not edit",
"Description": "function"
},
// 函数注释
"fileheader.cursorMode": {
"Date": "Do not edit",
"description": "methods",
"param": ""
},
"prettier.printWidth": 120,
"prettier.tabWidth": 4,
"prettier.eslintIntegration": true,
"prettier.semi": false,
"prettier.singleQuote": true,
"breadcrumbs.enabled": true,
"emmet.showAbbreviationSuggestions": true,
// vue设置
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.validation.template": false,
"vetur.format.options.tabSize": 2,
// "vetur.format.defaultFormatterOptions": {
// "js-beautify-html": {
// "wrap_attributes": "force-aligned"
// // #vue组件中html代码格式化样式
// }
// },
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
//Eslint配置
// "eslint.autoFixOnSave": true, //自动保存
"eslint.validate": [
"javascript",
"typescript",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"javascript.format.enable": false,
"[javascript]": {
"editor.defaultFormatter": "numso.prettier-standard-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"window.zoomLevel": 0,
"explorer.confirmDragAndDrop": false,
"[less]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.userWords": ["bottombottom", "lizhanchao", "westarspace"],
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "material-icon-theme",
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"git.autofetch": true,
"powermode.enabled": true, // 开启 Power Mode
"powermode.shakeIntensity": 0, // 关闭抖动(喜欢的也可以选择不关闭)
"powermode.presets": "particles",
"todo-tree.tree.showScanModeButton": false,
"tabnine.experimentalAutoImports": true,
"cssrem.rootFontSize": 75 // 特效预设,还有 "fireworks", "flames", "magic", "clippy", "simple-rift", "exploding-rift"
}