The editorconfig extension

With the Editorconfig extension, VS Code will pick up basic formatting settings—such as spaces vs tabs and indent size—from standard [].editorconfig files](https://editorconfig.org)