vscode格式化vue不换行

  "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_attributes": "aligned-multiple"
        },
        "prettyhtml": {
            "printWidth": 100,
            "singleQuote": false,
            "wrapAttributes": false,
            "sortAttributes": false
        }
    },
    "vetur.format.defaultFormatter.html": "js-beautify-html",

写到settings.json

posted on 2021-04-29 15:07  马什么梅  阅读(880)  评论(0编辑  收藏  举报

导航