1.安装chinses中文语言包!
2.安装eslint javascript代码规范!
3.安装less预编译!
4.安装vue-vscode-snippets 定制化修改
5.安装vetur代码格式化!
6.vue 2 Snippetsvetur vue语法高亮!
7.配置eslint保存后调整成eslint的规范
.
添加如下代码:
{iggerExpansionOnTab": true,"emmet.includeLanguages": {"javascript": "javascriptreact"},"files.associations": {"*.vue": "vue"},lorTheme": "Visual Studio Dark","git.autofetch": true,"workbench.startupEditor": "newUntitledFile",Level": 0,"eslint.autoFixOnSave": true,"eslint.validate": ["javascript","html",{"language": "vue","autoFix": true},"vue",],"eslint.options": {"extensions": [".js",".vue"]},//为了符合eslint的两个空格间隔原则"editor.tabSize": 2,"extensions.ignoreRecommendations": false,"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,"[javascript]": {"editor.defaultFormatter": "HookyQR.beautify"},"eslint.alwaysShowStatus": true,deActionsOnSave": {"source.fixAll.eslint": true},
}
本文发布于:2024-01-27 18:32:08,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/17063515251909.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |