Configure options below — the preview updates in real time.
Top-level property that controls EditorConfig search behavior.
Default settings applied to all files unless overridden by more specific sections.
Glob pattern for this section.
Whether to use hard tabs or soft tabs (spaces) for indentation.
Number of columns used for each indentation level. Use "tab" to defer to tab_width.
Number of columns used to represent a hard tab character. Defaults to indent_size.
Controls how line breaks are represented (Unix, Windows, Classic Mac).
Character set encoding for reading and saving files.
Automatically strip trailing whitespace from lines when saving.
Force file to end with a single newline character (POSIX standard).
Maximum visual length of a line. Use "off" to disable.
Natural language for the IDE spell checker (ISO 639, e.g. en-US).
Settings specific to Markdown files.
Glob pattern for Markdown files.
Indent style for Markdown files.
Indent size for Markdown files.
Markdown often uses trailing spaces for line breaks; you may want to disable trimming.
Insert final newline for Markdown files.
Max line length for Markdown files. Use "off" to disable.
Settings specific to Makefiles (which require tab indentation).
Glob pattern for Makefiles.
Makefiles require tabs. This should be set to tab.
Indent size for Makefiles.
Insert final newline for Makefiles.
Settings specific to YAML files.
Glob pattern for YAML files.
Indent style for YAML files.
Indent size for YAML files.
Insert final newline for YAML files.
Trim trailing whitespace for YAML files.
Settings specific to JSON files.
Glob pattern for JSON files.
Indent style for JSON files.
Indent size for JSON files.
Insert final newline for JSON files.
Trim trailing whitespace for JSON files.
Settings specific to Python files.
Glob pattern for Python files.
Indent style for Python files.
Indent size for Python files.
Max line length for Python files (PEP 8 suggests 79 or 120). Use "off" to disable.
Charset for Python files.
Trim trailing whitespace for Python files.
Insert final newline for Python files.
Settings specific to shell script files.
Glob pattern for shell scripts.
Indent style for shell scripts.
Indent size for shell scripts.
Shell scripts typically require LF line endings.
Insert final newline for shell scripts.
Trim trailing whitespace for shell scripts.
Settings specific to HTML files.
Glob pattern for HTML files.
Indent style for HTML files.
Indent size for HTML files.
Trim trailing whitespace for HTML files.
Insert final newline for HTML files.
Settings specific to CSS files.
Glob pattern for CSS files.
Indent style for CSS files.
Indent size for CSS files.
Trim trailing whitespace for CSS files.
Insert final newline for CSS files.
Settings specific to JavaScript files.
Glob pattern for JavaScript files.
Indent style for JavaScript files.
Indent size for JavaScript files.
Max line length for JavaScript files. Use "off" to disable.
Trim trailing whitespace for JavaScript files.
Insert final newline for JavaScript files.
Settings specific to TypeScript files.
Glob pattern for TypeScript files.
Indent style for TypeScript files.
Indent size for TypeScript files.
Max line length for TypeScript files. Use "off" to disable.
Trim trailing whitespace for TypeScript files.
Insert final newline for TypeScript files.
1# https://editorconfig.org2root = true3