editorconfig plugin breaks default functionality of vscode
See original GitHub issueeditorconfig-vscode version: 0.6.0
Expected behavior
If I edit the vscode workpsace settings related to editor configuration and have no editorconfig file in the root of the project, then vscode should use the workspace settings
Actual behavior
When no editorconfig file is present and I have my workspace settings for editor set then editorconfig plugin uses the global settings
Steps to reproduce the behavior
Set .vscode/settings.json
to:
{
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.insertSpaces": false
}
Note that default global settings for these values are:
{
"editor.detectIndentation": true,
"editor.tabSize": 4,
"editor.insertSpaces": true
}
Do not create an editorconfig file.
Result should be that all use of tab
should not be replaced and should have the size of two spaces.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
EditorConfig for VS Code not working - Stack Overflow
I have installed the extension EditorConfig for VS Code from here: https://github.com/editorconfig/editorconfig-vscode.
Read more >ESLint and EditorConfig in VSCode - grant norwood
This post should help you and your team write consistently beautiful code, and auto-fix many eslint problems when files are saved!
Read more >EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >EditorConfig settings - Visual Studio (Windows) - Microsoft Learn
Learn how to add an EditorConfig file to your project or codebase to enforce consistent coding styles for everyone that works in the ......
Read more >EditorConfig for VS Code - Visual Studio Marketplace
This plugin attempts to override user/workspace settings with settings found in .editorconfig files. No additional or vscode-specific files ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We can always reopen when you revisit it and can repro.
I’m sorry I haven’t had much time on hand lately. Since you can’t repro, feel free to close I guess. I’ll just have to make sure I sit down and test it out and report back when I get some time. 😃