vscode之Vue常用插件
Vetur —— 语法高亮、智能感知、Emmet等Vetur:基本替代vue 常亮Vue2 Snippets vue语法提示Vuter 注释等快捷键EsLint —— 语法纠错Auto Rename Tag —— 自动完成另一侧标签的同步修改Auto Close Tag —— 自动闭合HTML/XML标签JavaScript(ES6) code snippets —— ES6语法智能提示以及快速输
·
Vetur —— 语法高亮、智能感知、Emmet等
Vetur:基本替代
vue (Syntax Highlight)常亮
Vue2 Snippets vue语法提示
Vuter 注释等快捷键
EsLint —— 语法纠错
Auto Rename Tag —— 自动完成另一侧标签的同步修改
Auto Close Tag —— 自动闭合HTML/XML标签
JS-CSS-HTML Formatter:格式样式
Prettier - Code formatter:格式样式(推荐)
JavaScript(ES6) code snippets —— ES6语法智能提示以及快速输入,除js外还支持.ts,.jsx,.tsx,.html,.vue,省去了配置其支持各种包含js代码文件的时间
HTML CSS Support —— 让 html 标签上写class 智能提示当前项目所支持的样式
{
"editor.formatOnSave": true,
"fileheader.customMade": {
"Descripttion": "Sustainable",
"version": "1.0.0",
"Author": "Kenny",
"Date": "Do not edit",
"LastEditors": "~",
"LastEditTime": "Do not Edit"
},
"fileheader.cursorMode": {
"name": "project",
"test": "test font",
"msg": "",
"param": "",
"return": ""
},
"fileheader.configObj": {
"autoAdd": true,
"autoAlready": true,
"prohibitAutoAdd": [
"json"
]
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[less]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[scss]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"explorer.excludeGitIgnore": true,
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"codeTranslator.youdaoAppKey": "xx",
"codeTranslator.youdaoAppSecret": "xx",
"codeTranslator.useYoudaoVipApi": true,
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
}
}
更多推荐
已为社区贡献15条内容
所有评论(0)