vscode设置vouter标签不换行

打开设置文件

更换settings.json文件

复制下面代码,保存到settings.json文件中

{"vetur.format.defaultFormatter.html": "js-beautify-html",
    "emmet.includeLanguages": {
        "wxml": "html"
    },
    "minapp-vscode.disableAutoConfig": true,
    "explorer.confirmDelete": false,
    "vetur.format.options.tabSize": 4,
    "vetur.format.defaultFormatterOptions":{
        "js-beautify-html":{
            "wrap_attributes":"auto"
        }
    }
}

参考地址: https://blog.csdn.net/chenlim87/article/details/115318379

posted @ 2021-06-09 19:57  不叫一日闲过  阅读(151)  评论(0编辑  收藏  举报