个人配置

{
"files.autoSave": "afterDelay",
"eslint.packageManager": "yarn",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"vue"
],
"editor.renderWhitespace": "none",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"gitlens.advanced.messages": {

"suppressGitVersionWarning": true

},
"editor.renderIndentGuides": false,
"vetur.format.defaultFormatterOptions": {
"prettier": {
"semi": true, // 要分号
"singleQuote": true // 要单引号
}
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[less]": {
"editor.defaultFormatter": "michelemelluso.code-beautifier"
},
"editor.detectIndentation": false,
"editor.tabSize": 2,
"javascript.updateImportsOnFileMove.enabled": "always",
"files.eol": "\n",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"terminal.integrated.shell.windows": "C:\windows\System32\cmd.exe",
"window.zoomLevel": 1,
"gitlens.advanced.fileHistoryFollowsRenames": false,
"git.enableSmartCommit": true,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"liveServer.settings.donotShowInfoMsg": true,
"[dockerfile]": {
"editor.quickSuggestions": {
"strings": true
}
},
"settingsSync.ignoredExtensions": [

],
"files.exclude": {
// "**/node_modules": true // true 时会隐藏node_modules文件
},
"explorer.confirmDelete": false,
"svgviewer.enableautopreview": true,
"vsicons.dontShowNewVersionMessage": true,
"workbench.startupEditor": "welcomePage",
"gitlens.advanced.blame.customArguments": [],
// less 设置
"less.compile": {
"compress": false, // 是否压缩
"sourceMap": false, // 是否生成map文件,有了这个可以在调试台看到less行数
"out": false, // 是否输出css文件,false为不输出
},
"workbench.colorTheme": "One Dark Pro",
}

你可能感兴趣的:(个人配置)