// {
// "[html]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "[vue]": {
// "editor.defaultFormatter": "octref.vetur"
// },
// "[javascript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "vetur.validation.template": false,
// "editor.suggest.snippetsPreventQuickSuggestions": false,
// "workbench.colorTheme": "Default Light+",
// "files.autoSave": "afterDelay",
// "window.zoomLevel": 1,
// "git.suggestSmartCommit": false,
// "git.confirmSync": false,
// "editor.fontLigatures": false
// }
{
"gitlens.advanced.messages": {
"suppressGitMissingWarning": true
},
"terminal.integrated.tabs.enabled": true,
"minapp-vscode.disableAutoConfig": true,
"workbench.iconTheme": "vscode-icons",
"eslint.enable": true,
"eslint.run": "onSave",
"eslint.options": {
"extensions": [
".js",
".vue",
".ts",
".tsx"
]
},
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue",
"typescript"
],
"editor.fontSize": 14,
"editor.detectIndentation": false,
"editor.tabSize": 2,//代码缩进4个空格
"editor.codeActionsOnSave": {
// "source.fixAll.eslint": true,
// "source.fixAll.stylelint": true
},
"search.followSymlinks": false,
"files.autoSave": "afterDelay",
"files.associations": {
"*.wpy": "vue",
"*.wxml": "wxml",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.html": "html"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// force-aligned | force-expand-multiline
"wrap_attributes": "force-aligned"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": true
}
},
// git插件配置
"git.enableSmartCommit": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"css.remoteStyleSheets": [
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css"
],
"css.fileExtensions": [
"css",
"less",
"stylus",
"scss"
],
"px2rem.rootFontSize": 75,
"px2rem.isNeedNotes": false,
"gitlens.gitCommands.skipConfirmations": [
"fetch:command",
"switch:command",
"stash-push:command"
],
"vsicons.dontShowNewVersionMessage": true,
"explorer.confirmDragAndDrop": false,
"bracket-pair-colorizer-2.depreciation-notice": false,
"bracketPairColorizer.depreciation-notice": false,
/* prettier的配置 */
"prettier.printWidth": 100, // 超过最大值换行
"prettier.tabWidth": 2,
"window.zoomLevel": 1,
"workbench.colorTheme": "Visual Studio Light",
"settingsSync.ignoredExtensions": [
],
}