Ok. So this is something that bugs me a lot. The VS Code reverts back to spaces everytime I open a new file.
To solve this you have to switch on the Detect Indentation under Settings and then you have to open settings.json for the language you are coding in and use these two options -
"editor.tabSize": 4,
"editor.insertSpaces": false,
That should do the trick.
Top comments (0)