{
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.fontSize": 16,
"editor.wordWrap": "off", // 永不换行
"merge-conflict.autoNavigateNextConflict.enabled": true,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"emmet.excludeLanguages": [
"markdown"
],
"diffEditor.ignoreTrimWhitespace": false,
"workbench.iconTheme": "vscode-icons",
"beautify.ignore": "",
"beautify.config": "",
"editor.formatOnType": true,
"editor.formatOnSave": true, // #每次保存的时候自动格式化
"editor.formatOnPaste": true,
"prettier.requireConfig": true,
"prettier.trailingComma": "es5", // 在对象或数组最后一个元素后面是否加逗号(在ES5中加尾逗号)
// vscode默认启用了根据文件类型自动设置tabsize的选项
"editor.detectIndentation": false, // 重新设定tabsize
"editor.tabSize": 2, // #每次保存的时候将代码按eslint格式进行修复
"prettier.eslintIntegration": true, // #去掉代码结尾的分号
"prettier.semi": false, // #使用带引号替代双引号
"prettier.singleQuote": true, // #让函数(名)和后面的括号之间加个空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": true, //#这个按用户自身习惯选择
"vetur.format.defaultFormatter.html": "js-beautify-html", // #让vue中的js按编辑器自带的ts格式进行格式化
"vetur.format.defaultFormatter.js": "vscode-typescript",
"stylusSupremacy.insertColons": false, // 是否插入冒号
"stylusSupremacy.insertSemicolons": false, // 是否插入分号
"stylusSupremacy.insertBraces": false, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false, // 两个选择器中是否换行
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"[less]": {
"editor.defaultFormatter": "michelemelluso.code-beautifier"
},
"[css]": {
"editor.defaultFormatter": "michelemelluso.code-beautifier"
},
"csscomb.ignoreFilesOnSave": [],
"background.customImages": [
"file:///D:/24773542.jpg"
],
"background.enabled": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"wxmlConfig.activeColor": {
"color": "#e5c07b"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"wxapp-helper.component.wxml": "",
"terminal.integrated.tabs.enabled": true,
"git.confirmSync": false,
"diffEditor.wordWrap": "off",
"eslint.migration.2_x": "off",
"workbench.colorCustomizations": {},
"winopacity.opacity": 255,
"vsicons.dontShowNewVersionMessage": true,
"editor.fontLigatures": null,
// 自动去除行尾空格
"files.trimTrailingWhitespace": true,
// 终端默认为bash
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"eslint.autoFixOnSave": true,
"files.autoSave": "off",
"eslint.validate": [
"javascript",
"javascriptreact",
"vue-html",
{
"language": "vue",
"autoFix": true
},
],
"eslint.run": "onSave",
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.startupEditor": "newUntitledFile",
"wxapp-helper.component.name": ""
}