美文网首页我爱编程
VScode编辑器配置

VScode编辑器配置

作者: 崔海龙Alvin | 来源:发表于2017-11-28 13:06 被阅读0次

配置好VScode,可以大幅度提高vue代码的书写效率

具体配置

{

"workbench.welcome.enabled":false,

"files.autoSave":"onWindowChange",

"extensions.ignoreRecommendations":false,

"workbench.activityBar.visible":true,

"workbench.statusBar.visible":false,

"editor.minimap.enabled":false,

"editor.detectIndentation":false,

"editor.formatOnType":true,

"editor.formatOnSave":true,

"editor.wrappingIndent":"same"。,

"vetur.format.styleInitialIndent":true,

"vetur.format.scriptInitialIndent":true,

"vetur.format.defaultFormatter.js":"vscode-typescript",

"vetur.format.defaultFormatter.html":"js-beautify-html",

"prettier.tabWidth":4,

"eslint.validate": [

"javascript",

"javascriptreact",

"html",

{

"language":"vue",

"autoFix":true

}

],

"eslint.options": {

"plugins": [

"html"

]

}

}

相关文章

网友评论

    本文标题:VScode编辑器配置

    本文链接:https://www.haomeiwen.com/subject/zrwsbxtx.html