HookyQR / VSCodeBeautify

Enable js-beautify (https://github.com/beautify-web/js-beautify) in VS Code
MIT License
606 stars 180 forks source link

error #412

Open oscaralvarado29 opened 2 years ago

oscaralvarado29 commented 2 years ago

NOTE: Please provide code snippets instead of screen shots. Your issue needs to be replicated, and we need the failing code (text) to do this.

Provide the settings you use: (VS Code workspace and user settings, .jsbeautifyrc, .editorconfig) eg.: VS Code:

{
    "editor.formatOnSave": true
}

.jsbeautifyrc

{
    "max_preserve_newlines": 2,
    "preserve_newlines": true,
    "end_with_newline": true,
    "brace_style": "collapse-preserve-inline",
}

Action performed

Format javascript file with HookyQR.beautifyFile command provide example code

Expected results

Expected ... to ... provide example (expected) output

Actual results

Details of what happened ... provide example (actual) output