Open kien5436 opened 5 years ago
vscode:
"beautify.language": { "js": { "type": [ "javascript", "json", ], "filename": [ ".jshintrc", ".jsbeautifyrc" ] }, "css": [ "css", "scss" ], "html": [ "htm", "html", "php" ], "php": [ "php" ] }, "beautify.config": { "brace_style": "end-expand,preserve-inline" }, "editor.formatOnSave": true,
.jsbeautifyrc
{ "e4x": true, "brace_style": "end-expand,preserve-inline" }
Format javascript file with HookyQR.beautifyFile command
HookyQR.beautifyFile
switch (key) { case ONE: return { firstProp: 'value', secondProp: 'value', thirdProp: 'value' }; default: break; }
No change
Extra indentations, only in switch case statement, that's weird
vscode:
.jsbeautifyrc
Action performed
Format javascript file with
HookyQR.beautifyFile
commandExpected results
No change
Actual results
Extra indentations, only in switch case statement, that's weird