VScode コードのフォーマット設定

{ 
    "vetur.format.defaultFormatter.html": "js-beautify-html", 
    "vetur.format.defaultFormatter.js": "vscode-typescript", 
    "vetur.format.defaultFormatterOptions": { 
        "js-beautify-html ": { 
            "wrap_line_length": 240, 
            "wrap_attributes": "auto", 
            "end_with_newline": false 
        }, 
        "prettyhtml": { 
            "printWidth": 100, 
            "singleQuote": false, 
            "wrapAttributes": false, 
            "sortAttributes" : false 
        } 
    }, 
}

おすすめ

転載: blog.csdn.net/kk7564335/article/details/127648167
おすすめ