js-beautify icon indicating copy to clipboard operation
js-beautify copied to clipboard

Don't work indent-scripts in vue files

Open olegopro opened this issue 3 years ago • 1 comments

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" } },

olegopro avatar Nov 11 '21 17:11 olegopro

Please provide input, expected output, and actual output example.

bitwiseman avatar Apr 05 '22 05:04 bitwiseman