EditorConfig for VS Code not working

MY OWN SOLUTION:

The problem I had was, that I added the extension editorconfig to my vscode, but didn't install the npm package for it. So it's not enough, to add the extension only to your vscode, you have also to install the package, so it could run.

I installed the npm package global like this: npm install -g editorconfig

After that I added the extension and enabled it. Now it works perfectly.

Required npm package: https://www.npmjs.com/package/editorconfig

Required vscode extension: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig


In addition all of the above I also needed to turn on the Editor Format on Save option.

{
   "editor.formatOnSave": true
}

I got the error "Extension EditorConfig cannot format ..." (at the bottom of the IDE, disappearing after some seconds).

Changing the preferences (ctrl+, , search for format and set the Editor:DefaultFormatter to None (instead of EditorConfig)) solved the problem for me (and yes, funny enough, this indeed did enable the usage of the .editorconfig - not any other formatting rules)

Codium: 1.60.2 with EditorConfig: v0.16.6