700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > vetur配置html标签不换行 vscode vetur插件配置不换行

vetur配置html标签不换行 vscode vetur插件配置不换行

时间:2018-07-06 02:14:24

相关推荐

vetur配置html标签不换行 vscode vetur插件配置不换行

管理->设置->扩展->Vetur

{

"workbench.colorTheme": "Monokai",

"editor.fontSize": 14,

"editor.lineHeight": 16,

"[javascript]": {

"editor.defaultFormatter": "esbenp.prettier-vscode"

},

"[javascriptreact]": {

"editor.defaultFormatter": "esbenp.prettier-vscode"

},

"files.hotExit": "onExit",

"editor.formatOnPaste": true,

"editor.multiCursorModifier": "ctrlCmd",

"editor.snippetSuggestions": "top",

"[vue]": {

"editor.defaultFormatter": "octref.vetur"

},

"explorer.confirmDelete": false,

"pletion.scaffoldSnippetSources": {},

"vetur.format.defaultFormatter.html": "js-beautify-html", // html 不换行

"vetur.format.defaultFormatter.js": "vscode-typescript", // js 不换行

"vetur.format.defaultFormatterOptions": {

"js-beautify-html": {

"wrap_line_length": 0, // 设置多个字符后换行 0 表示忽略

"wrap_attributes": "auto", // html 标签属性 换行设置[auto|force|force-aligned|force-expand-multiline] ["auto"]

"end_with_newline": false // 在文件结尾添加新行

},

"prettyhtml": {

"singleQuote": false,

"wrapAttributes": false,

"sortAttributes": false

}

},

}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。