editorconfig-vscode: 0.6.5 does not honor tab size settings
editorconfig-vscode version: 0.6.5
Expected behavior
Tab size settings applied to editor in workspace
Actual behavior
Invalid tab size in editor
Steps to reproduce the behavior
root = true
[*]
indent_style = space
indent_size = 4
[*.{c,cpp,h,hpp,proto}]
indent_style = tab
indent_size = 2
indent_style is tab but I still see indent_size = 4 in editor:

About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 25 (11 by maintainers)
Hi, @jedmao. In my case, there is no any output (no EditorConfig option in the output window). I think the extension fails to start. I also found that there are some error messages at the developer tools:
@ianlini thank you! I know exactly what’s going on now. I must have done a rename on that particular file at some point and because I already had
insertFinalNewline.jsin my compiledout/folder, every time I ran the TypeScript compiler w/ thetsccommand it just overwrote it w/o changing it toInsertFinalNewline.js. Notice the capital “I” at the beginning! I’m going to publish a patch right now.I can reproduce this error with empty project.
@jedmao I always use a
precompilenpmscript withrimraf ./outDir. Saves the hassle.@jedmao Case-sensitivity is a bitch when developing on Windows and targeting Unix-style OS. Maybe you should add
"forceConsistentCasingInFileNames": truein yourtsconfig.json.Thank you @jedmao! v0.9.1 fixed my problem.