I've been working with Visual Studio Code for a while. Since yesterday the code formatting is not working as I expect but I haven't changed any configuration.
This is the file without formatting
When it gets formatted:
These are the settings modified by me
What can I do form improving this?
Open Extensions on the menu on the left or File menu.
Then click on the extension settings button.
Change the line length for the extension you are working with.
This is not TypeScript or VSCode doing this.
You have the prettier extension installed. Prettier will always do this, as prettier knows better
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With