Coding Style Standard

Coding Style Standard

editorconfig.org

1

About this website

A file format and collection of text editor plugins that help maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs, solving the persistent problem of indentation style, character encoding, and line ending conflicts in collaborative codebases. The format uses a simple INI-compatible configuration file placed at the root of a project repository, declaring formatting rules in sections identified by glob patterns that match file paths. Supported properties include indent style for choosing tabs or spaces, indent size for the number of columns per indentation level, tab width for rendering tab characters, end of line for controlling line break representation as LF, CR, or CRLF, character set for file encoding, trim trailing whitespace for removing space characters at line ends, and insert final newline for ensuring files end with a line break. The glob pattern syntax supports wildcards including asterisk for matching any characters except path separators, double asterisk for matching across directory boundaries, question mark for single characters, bracket notation for character sets, brace expansion for enumerations, and numeric ranges. Over 30 code editors ship with native support requiring no plugin installation, including Neovim, IntelliJ IDEA, WebStorm, PHPStorm, PyCharm, Visual Studio, VS Code, Xcode, Emacs, and GitHub web interface. Additional plugins extend support to Sublime Text, Eclipse, NetBeans, Notepad++, and Atom. Core libraries are available in C, Python, JavaScript, Java, Lua, .NET, Ruby, Go, and Rust for integrating configuration parsing into custom tools, build systems, and headless environments including Maven, Gradle, and Apache Ant plugins.

Tags & Categories

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!