Does EditorConfig match paths the same way as .gitattributes?
No. Use Git Attributes Rule Preview separately to inspect Git path attributes such as text and eol. EditorConfig declarations affect participating editors instead.
Runs in your browser. No file uploads for processing. Privacy details
Preview which .editorconfig rules apply to a file path. See nested overrides, unset values, and the exact winning line without uploading your configs.
Loading tool...
Enter a project-relative file path, for example packages/web/src/main.ts.
Use . for the project root and packages/web for that child config. The preview only considers supplied ancestors and honors root = true.
In the nested example, indent_size = 2 beats 4 from the root, and trim_trailing_whitespace = unset removes the root setting. Each result points to its source line.
The tool processes inputs in your browser. File processing and site analytics are separate.
No. Use Git Attributes Rule Preview separately to inspect Git path attributes such as text and eol. EditorConfig declarations affect participating editors instead.
Within one file, a matching section later in the file wins for a repeated key. An applicable config closer to the target file can override an ancestor. A root = true preamble stops the parent search.
No. An unset declaration removes the inherited property. An editor may then use its own default.
No. It receives only the paths and rules you enter, then runs the preview in this browser.