for example, when I write
foo( bar ){}
it will be formatted to
foo(bar){}
how do I make it keep the 2 spaces?
Edit:
This is a different question from How to change indentation in Visual Studio Code?
Putting
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": true
in the settings json solved the problem.
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