Unless the project you're working on has an Editorconfig file and your IDE supports it (VS and IntelliJ do by default).
In this case it is supposed to override your IDE settings.
In this case it is supposed to override your IDE settings.
The average "sweatshop/devshop" developer probably doesn't even know/care about tabs vs spaces.