Skip to content
A very generic .editorconfig file supporting .NET, C#, VB and web technologies.
Branch: master
Clone or download
Latest commit 2359b3c Feb 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Mar 17, 2017
logo.png Add files via upload Mar 17, 2017

Editor Config Logo

Editor Config

A very generic .editorconfig file supporting the following file types:

  • C# - .cs, .csx, .cake
  • Visual Basic - .vb
  • Script - .sh, .ps1, .psm1, .bat, .cmd
  • XML - .xml, .config, .props, .targets, .nuspec, .resx, .ruleset
  • JSON - .json, .json5
  • YAML - .yml, .yaml
  • HTML - .htm, .html
  • JavaScript - .js, .ts, .tsx, .vue
  • CSS - .css, .sass, .scss, .less
  • SVG - .svg
  • Markdown - .md
  • Visual Studio - .sln, .csproj, .vbproj, .vcxproj, .vcxproj.filters, .proj, .projitems, .shproj

Extensive code style settings for C# and VB.NET have been defined that require the latest C# features to be used. Also, all C# related code styles are consistent with StyleCop's default styles.

What is Editor Config

EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems. Find out more at and the Visual Studio Docs.

How do I use It?

All you have to do is drop it into the root of your project. Then any time you open a file in Visual Studio, the .editorconfig file settings will be used to help format the document and also raise warnings if your code style and formatting does not conform. For Visual Studio Code, you can install the EditorConfig for VS Code extension to get support.

You can’t perform that action at this time.