Editorconfig Guide — visual .editorconfig generator

Generate your .editorconfig file with ease.

Prefixes

[*]

global options

if(true) {
··return;
}
if(true) {
··return;
}
if(true) {\n
··return;\n
}
Encoding: UTF-8
No byte order mark
if(true) {
··return;
}
if(true) {
··return;
}\n
Newline created after
80 characters
First line in file:

What is .editorconfig?

EditorConfig is a file format and a set of editor plugins that keep coding-style settings — indent style, indent size, line endings, trailing whitespace, charset — consistent across every editor and IDE working on the same project. Drop a .editorconfig file at the root of your repo and contributors using VS Code, IntelliJ, Vim, Emacs, Visual Studio, or Sublime Text all format the same way without configuring anything per-machine.

What does this generator do?

Edit your .editorconfig visually with a form on the left and the live file preview on the right. The two panes stay in sync: tweak a checkbox and the file updates; paste an existing file and the form snaps to its values. The generator covers the standard EditorConfig keys plus the editor-specific extensions defined by ReSharper, Roslynator, and IntelliJ, and per-language formatter options for C#, C++, JavaScript/TypeScript, CSS, HTML, XML, Razor, Protobuf, ShaderLab, and Visual Basic.

Every option links to a documentation page that explains what it does, what values it accepts, and what each value looks like in real code.