格式化代码时用到的插件
ESLint(代码规范和错误检查工具)
Prettier(代码格式化工具)
Vetur(识别 vue 文件)
EditorConfig for VS Code(定义项目的编码规范,编辑器的行为会与.editorconfig 文件中定义的一致,并且其优先级比编辑器自身的设置要高,这在多人合作开发项目时十分有用而且必要)
{
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": true,
"workbench.editor.showTabs": true,
"workbench.editor.enablePreview": false,
"workbench.editor.untitled.hint": "hidden",
"workbench.settings.useSplitJSON": true,
"workbench.colorTheme": "One Dark Pro Darker",
"emmet.triggerExpansionOnTab": true,
"emmet.showAbbreviationSuggestions": true,
"emmet.showExpandedAbbreviation": "always",
"emmet.includeLanguages": {
"javascript": "html"
},
"editor.wordWrap": "on",
"editor.formatOnSave": true,
// "editor.codeActionsOnSave": {
// "source.fixAll.eslint": true
// },
"editor.tabSize": 2,
"editor.mouseWheelZoom": true,
"liveServer.settings.port": 5500,
"open-in-browser.default"