Closed favna closed 5 years ago
Nope, it's not something js-beautify is capable of.
So... This cannot even be considered a future request?
You can log it over at https://github.com/beautify-web/js-beautify which is the code that does the actual work. We just wrap that functionality for VS Code.
Provide the settings you use:
.jsbeautifyrc
Action performed
Format typescript file with
HookyQR.beautifyFile
command - TypeScript configured to be handled by the JavaScript parserExpected results
Expected spaces before the parens in
constructor
,validate
andparse
to remain expected resultActual results
Spaces before aforementioned functions are removed causing a stylistic (and TSLint) issue as I prefer there to be spaces. actual output