Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCODE inserting spaces via format on save

VSCODE seems to be inserting spaces everywhere in my html code. I checked the settings and it's the following which is causing it: "editor.formatOnSave": true

Example:

enter image description here

How do I configure this to stop inserting spaces?

like image 459
basickarl Avatar asked Mar 20 '26 06:03

basickarl


1 Answers

I have the following set :

"editor.formatOnSave": false,
"editor.insertSpaces": false

Now it is not inserting spaces. Hope it helps

like image 137
Abhilash D K Avatar answered Mar 23 '26 04:03

Abhilash D K



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!