Skip to main content

EditorConfig Generator

v1.2.1

Generate .editorconfig settings for consistent formatting across editors.

Generates .editorconfig files with consistent settings for indent style, tab width, end-of-line characters, charset, and trailing whitespace across editors and languages.

How to use
  • Set global defaults and then add per-file-type overrides (e.g. 2-space indent for JS, 4 for Python).
  • Common language presets are available to fill sensible defaults.
  • Copy the output to .editorconfig in your project root.
|
Section 1
.editorconfig Output
# EditorConfig — https://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true