Editorconfig should not apply styles to files located outside the root directory
See original GitHub issueI’ve found that editorconfig changes to tabs as specified in the project’s .editorconfig
when I edit my settings.json file which is located away from the root open folder in ~/.config
. It should instead not apply the editorconfig settings in this case.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (4 by maintainers)
Top Results From Across the Web
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 >Use EditorConfig | ReSharper Documentation - JetBrains
As EditorConfig convention suggests, ReSharper will apply code styles defined in files named .editorconfig in the directory of the current ...
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 >how to apply .editorconfig to existing project in intellij
just enable it... ;). (unfortunately the setting is off by default). Settings > Editor > Code Style. checkbox Enable EditorConfig support.
Read more >Why You Should Use EditorConfig to Standardize Code Styles
You must set root to true for the top level EditorConfig in the project, which is normally in the root of your project...
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
Verified fixed 👍 thanks guys
@Tyriar You are right!
@jedmao It looks like the code wasn’t compiled before releasing a new version.
Source:
DocumentWatcher.ts
Code in Extension:
DocumentWatcher.js