{
"liveServer.settings.donotShowInfoMsg": true,
"editor.fontSize": 18,
"editor.fontFamily": "Consolas, 'Courier New', monospace",
"emmet.variables": {
"lang": "zh-CN"
},
// #值设置为true时,每次保存的时候自动格式化;值设置为false时,代码格式化请按shift+alt+F
"editor.formatOnType": true,
"editor.formatOnSave": false,
"editor.tokenColorCustomizations": {
"comments": "#82e0aa", // 注释
},
"git.ignoreWindowsGit27Warning": true,
"launch": {
"version": "0.2.0",
"configurations": [],
"compounds": []
},
"explorer.confirmDelete": false,
"files.autoGuessEncoding": true,
"less.compile": {
"out": "./"
},
"eslint.codeAction.showDocumentation": {
"enable": true
},
"vsicons.dontShowNewVersionMessage": true,
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
//UI图尺寸除以80得到24
"cssrem.rootFontSize": 24,
"cssrem.fixedDigits": 3, // 【取三位小数】
"cssrem.autoRemovePrefixZero": false,
"css.styleSheets": [],
"editor.fontLigatures": true,
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"liveServer.settings.donotVerifyTags": true,
"editor.mouseWheelZoom": true, //【是否去除0】
"eslint.run": "onType",
"git.autofetch": true,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"editor.tabSize": 2,
"files.autoSave": "afterDelay",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"vetur.validation.template": false,
"git.confirmSync": false,
"security.workspace.trust.untrustedFiles": "open",
"editor.defaultFormatter": "dbaeumer.vscode-eslint", // 把 vetur 扩展的 template 格式化去掉
// vscode默认启用了根据文件类型自动设置tabsize的选项*
"editor.detectIndentation": false,
// 重新设定tabsize*
// #每次保存的时候自动格式化*
// #每次保存的时候将代码按eslint格式进行修复,vscode es6语法检测配置*
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// "eslint.autoFixOnSave": true,*
"explorer.confirmDragAndDrop": false,
// #让函数(名)和后面的括号之间加个空格*
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// #这个按用户自身习惯选择*
"vetur.format.defaultFormatter.html": "js-beautify-html",
// #让vue中的js按编辑器自带的ts格式进行格式化*
"vetur.format.defaultFormatter.js": "vscode-typescript",
"prettier.tabWidth": 2, // 缩进字节数*
"prettier.useTabs": false, // false缩进不使用tab,使用空格*
"prettier.semi": true, // true句尾添加分号*
"prettier.singleQuote": true, // true使用单引号代替双引号*
"prettier.proseWrap": "preserve", // 默认值。因为使用了一些折行敏感型的渲染器(如GitHub comment)而按照markdown文本样式进行折行*
"prettier.arrowParens": "avoid", // (x) => {} 箭头函数参数只有一个时是否要有小括号。avoid:省略括号*
"prettier.bracketSpacing": true, // 在对象,数组括号与文字之间加空格 "{ foo: bar }"*
"prettier.endOfLine": "auto", // 结尾是 \n \r \n\r auto*
"prettier.eslintIntegration": false, //不让prettier使用eslint的代码格式进行校验*
"prettier.htmlWhitespaceSensitivity": "ignore",
"prettier.ignorePath": ".prettierignore", // 不使用prettier格式化的文件填写在项目的.prettierignore文件中*
"prettier.jsxBracketSameLine": false, // 在jsx中把'>' 是否单独放一行*
"prettier.jsxSingleQuote": false, // 在jsx中使用单引号代替双引号*
"prettier.parser": "babylon", // 格式化的解析器,默认是babylon*
"prettier.requireConfig": false, // Require a 'prettierconfig' to format prettier*
"prettier.stylelintIntegration": false, //不让prettier使用stylelint的代码格式进行校验*
"prettier.trailingComma": "es5",
"prettier.tslintIntegration": false,
"editor.tabCompletion": "on",
"editor.suggest.snippetsPreventQuickSuggestions": true, //自动补全的
"workbench.sideBar.location": "left",
"editor.wordWrap": "on",
"editor.parameterHints": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"typescript.format.insertSpaceAfterSemicolonInForStatements": false,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true
},
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html",
"javascript": "javascriptreact",
"wxml": "html"
},
"auto-close-tag.activationOnLanguage": [
"xml",
"php",
"blade",
"ejs",
"jinja",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"plaintext",
"markdown",
"vue",
"liquid",
"erb",
"lang-cfml",
"cfml",
"HTML (Eex)"
],
"eslint.options": {
"extensions": [
".js",
".vue"
]
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"workbench.editorAssociations": {},
"workbench.colorTheme": "SynthWave '84",
"terminal.integrated.env.osx": {},
}