Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add EditorConfig for code styling #13
@rus-bit , yep, or even just between different computers I work on. People have to deal with different formatting for different projects and something like an editor config file definitely reduces the barrier for entry.
Hope to get this sorted in the next few days.
I've added an editor config file based on the one in the Roslyn repo.
There isn't anything too crazy in it. From my experience, most of the settings are what I had when I installed VS2017 cleanly. (eg. tabs over spaces for C#, braces on new lines)
The one rule I do specify in it explicitly is in regards to casing for "Non-field Members". From various different C# projects I have seen, some have theirs as camel case and some as pascal. I've made the decision to have mine follow pascal case.
I may change and tweak this in the future but basically follow the suggestions it highlights and let it do the document formatting.