{ "workbench.iconTheme": "vscode-icons", "px2rem.rootFontSize": 192, "workbench.colorTheme": "One Dark Pro Darker", "explorer.confirmDelete": false, "editor.maxTokenizationLineLength": 9999999999999999999999999999999, "editor.tabSize": 2, //制表符符号eslint "editor.formatOnSave": true, //每次保留⾃动格式化 "javascript.format.insertSpaceBeforeFunctionParenthesis": true, //让函数(名)和后⾯的括号之间加个空格 "vetur.format.defaultFormatter.html": "js-beautify-html", //格式化.vue中html "vetur.format.defaultFormatter.js": "vscode-typescript", //让vue中的js按编辑器⾃带的ts格局进⾏格式化 "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "wrap_attributes": "auto" //属性强制折⾏对齐 } }, "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "eslint.options": { "extensions": [ ".js", ".vue" ] }, "eslint.validate": [ "javascript", "javascriptreact", "html", "vue" ] }
vscode插件 ESLint , JavaScript Debugger