js-beautify
js-beautify copied to clipboard
Don't work indent-scripts in vue files
Don't work in vscode with this config.
vscode version: 1.62.1 mac
Don't work indent-scripts in vue files.
"vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatterOptions": { // Wrap the attribute. // - auto: Wraps the property only when the line length is exceeded. // - force: Wraps each of the other properties except the first one. // - force-aligned: Wraps each of the other properties except the first one and keeps them aligned. // - force-expand-multiline: Wraps each attribute. // - aligned-multiple: Aligns attributes vertically when the line length is exceeded. "js-beautify-html": { "wrap_line_length": 1200, "wrap_attributes": "force-expand-multiline", "end_with_newline": false, "indent-scripts": "separate" } },
Please provide input, expected output, and actual output example.