Having CSS file where the structure is like this:
#something > div {
...
}
When it is saved, it removes the spaces around the child combinator (>) and it makes it look like this:
#something>div {
...
}
Is there a way to avoid this in VS Code?
I haven't encountered this in VS Code. But I did find this setting in Preferences>Settings that may be the solution.

I do not have it checked and I don't have the same issue you report. Perhaps another setting elsewhere causes it.
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