Non .editorconfig settings are ignored
See original GitHub issueSummary
When using this plugin and a .editorconfig file exists and the checkbox “use .editorconfig” is enabled settings like “jsx single quote” will be ignored.
Github Repository to Reproduce Issue
Link to a Github repo that can be used to reproduce the issue.
Steps To Reproduce:
- Install this plugin
- Enable the “use .editorconfig” option
- Enable “jsx single quotes”
- Create an empty “.editorconfig” file
- Format a .jsx file where quotes are double quotes
Expected result
Double quotes should be transformed to single quotes, because the vs code setting is activated and there is no rule in the .editorconfig.
Actual result
Nothing happends
Additional information
I saved my vs code settings in user scope so that e.g. the prettier settings are the same on every project. But the plugin ignores all settings when there is a .editorconfig even when there is no rule for formating quotes
VS Code Version: 1.46.1
Prettier Extension Version: 5.1.3
OS and version: Windows 10
Prettier Log Output
LOG GOES HERE. DO NOT USE A SCREESHOT, COPY AND PASTE THE TEXT
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Settings in .editorconfig are ignored or get overridden
It seems to me that IntelliSense is not respecting the .editorconfig anymore. I use the NuGet package StyleCop.Analyzers and Microsoft.CodeAnalysis.
Read more >Why is my .editorconfig file being ignored? - Stack Overflow
I have a very simple Visual Studio solution with one small project. I followed the docs exactly to create my . editorconfig file,...
Read more >EditorConfig settings - Visual Studio (Windows) - Microsoft Learn
Settings in EditorConfig files let you maintain consistent coding styles and settings in a codebase, such as indent style, tab width, end of ......
Read more >Editorconfig: formatter control options are ignored - YouTrack
Editorconfig : formatter control options are ignored. 6. Is duplicated by 1 ... There is 1 attachment that is not visible to you....
Read more >Ignoring editor config files in Git - Sourcegraph docs
Globally, in all Git repositories via ~/.gitignore; Per-repository, via .git/info/exclude (which is just like .gitignore but not committed to the ...
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
This is by design. If you have either an editorconfig or prettier config those will be used. VSCode settings aren’t ONLY used when no other config is available.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.