vscode + vue + Several plug-ins

vscode-icons directory tree can make file management vscode display icon to display the icon will make the files, folders, function more clearly
veture, vscode recommend installing
TortoiseSVN, code management tool
Prettier, code formatting

Prettier, the code format is provided, a new project file .prettierrc.json root directory, the file follows:

{

"vetur.format.options.tabSize": 4,
"vetur.format.scriptInitialIndent": true,
"vetur.format.defaultFormatterOptions": {
"prettyhtml": {
"printWidth": 140
},
"prettier": {
"singleQuote": true,
"printWidth": 400,
"proseWrap": "never"
}
},
"prettier.semi": true,
"prettier.printWidth": 400,
"prettier.proseWrap": "never",
"prettier.singleQuote": true,
"vetur.validation.template": false,
"editor.formatOnSave": true,
"cssrem.rootFontSize": 75,
"eslint.validate": [
"javascript",
{
"language": "vue",
"autoFix": true
},
"html",
"vue"
],
"eslint.autoFixOnSave": true,
"workbench.settings.editor": "json"
}

Guess you like

Origin www.cnblogs.com/zsx-blog/p/12144678.html