-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank EditorConfig still forces tab width to 4 and spaces to 2 #341
Comments
I encountered the same issue after the VSCode November 2022 update. Downgrading VSCode back to the October 2022 version (1.73.1) fixed the issue. Apparently, there have been some changes in the indent and tab size settings in VSCode Related issues: |
I have the same problem. vscode has been updated to separate In the actual code, only the tabSize is generated here, editorconfig-vscode/src/api.ts Lines 160 to 172 in b86ebd4
and the vscode setting is changed here. editorconfig-vscode/src/api.ts Line 54 in b86ebd4
Also, I added the However, there is no |
See #358 for WIP fix |
Please fill-in this template.
code --disable-extensions
and the issue did NOT present itself.Issue
If I have no editorconfig, and I have the following in my user settings.json
then any tab-formatted file I open will reset the tab size to 4 and format using spaces
If I disable the extension and reopen the file, it behaves as expected.
I've tried this with detect indentation on and off, no difference.
If I create a .editorconfig file with
indent_size
line, it now behaves as expected. So there appears to be an issue with a blank config where something gets initialized with a bad default value.The text was updated successfully, but these errors were encountered: