Adds .editorconfig file#2876
Conversation
|
Do you experience it even after installing RLS(Rust Language Server)? We just follow the default rule of rustfmt, so I expect that must be configured well at least after installing the plugins if there is no special settings already. |
|
I use https://github.com/rust-analyzer/rust-analyzer |
|
No real need. Just make sure |
|
I think To test a bare vscode, stroke |
|
I think #2897 is a reasonable support for this PR, though it only can fix the indent problem but not formatting itself. |
It was really bothering me that my
vscodewas not adding 4 spaces as the default ident.What is
editorconfig? It is a tool to standartize things like new lines, idents, and whitespaces across different editors and different OSes.Docs: https://editorconfig.org/