This gist shows how to configure VS Code settings, including tab/space settings, by language / file extension.
Note: You can also configure "editor.insertSpaces": true/false
on a per-language basis. I use "editor.insertSpaces": true
at a global level, but I don't want to start another spaces vs. tabs war!