blade-parser-typescript
blade-parser-typescript copied to clipboard
Adds unnecessary lines and incorrect format on some edge cases
I am loving this plugin so much. Thank you @JohnathonKoster for the amazing work ❤️❤️❤️.
I am hitting some edge cases where it adds unnecessary lines and if you keep formatting, it keeps on adding those lines and tabs repeatedly:
Simple Example:
Before Formatting
|
After Formatting
|
Complex Example:
This block of code gets formatted incorrectly, the plugin adds extra/unexpected lines. This could also be a result of incorrect configuration, I am not sure.
Before Formatting
|
After Formatting
|
NOTE: These are not made up examples 😁. I have extracted these examples from a codebase and tweaked a little to just demonstrate only the problematic part. Hope it helps.