Cómo usar: .editorconfig Generator
- Choose a preset close to your project — Web, Node, Python, Go or a Makefile project.
- Adjust the defaults in the
[*]section: indent style and size, line endings, charset, whitespace rules. - Add or edit sections for specific files using globs like
*.md,*.{json,yml}orMakefile. - Download the file into your repository root. VS Code needs the EditorConfig extension; JetBrains IDEs support it out of the box.
EditorConfig properties
| Property | Values | Effect |
|---|---|---|
indent_style | space, tab | Spaces or tabs for indentation |
indent_size | 2, 4, tab | Width of one indentation level |
end_of_line | lf, crlf, cr | Line endings — use lf in most repos |
charset | utf-8, utf-8-bom, latin1… | File encoding |
trim_trailing_whitespace | true, false | Remove spaces at line ends on save |
insert_final_newline | true, false | Ensure files end with a newline |
max_line_length | number, off | Guide/hard wrap in supporting editors |
Why Markdown and Makefiles get their own sections
In Markdown two trailing spaces create a line break, so trim_trailing_whitespace = false for *.md. Makefiles require real tab characters for recipe lines, and Go’s gofmt uses tabs too. Python’s PEP 8 recommends 4 spaces.
EditorConfig vs Prettier
EditorConfig controls how your editor writes files as you type; formatters like Prettier rewrite them on save or in CI. They work together — Prettier even reads .editorconfig for indentation and line endings. Add the file next to your .gitignore and package.json, and format existing code with the JavaScript, CSS or HTML Formatter.
También se busca como: .editorconfig, editorconfig example, indent style tabs spaces, end of line lf crlf, trim trailing whitespace, insert final newline, editorconfig vscode.
Herramientas que combinan con: .editorconfig Generator
- Generador de flujos de trabajo de GitHub Actions — Elige tu pila, tus desencadenantes y tus pasos, y obtén un .github/workflows/ci.yml — instalación, caché, lint, pruebas, compilación, una matriz de versiones y, si quieres, una implementación en GitHub Pages, Vercel o un registro de contenedores.
- YAML Validator — Paste a Docker Compose file, Kubernetes manifest, GitHub Actions workflow or any YAML to pinpoint errors, catch common pitfalls and get a cleanly formatted version.
- Kubernetes YAML Generator — Fill in your app’s name, image and port and get production-ready Kubernetes YAML: a Deployment with probes, resource limits and a hardened security context, plus the Service, Ingress with TLS, ConfigMap, Secret and HorizontalPodAutoscaler you tick — in one file ready for kubectl apply.
- systemd Service Generator — Run your app as a proper Linux service that starts on boot and restarts when it crashes.