codeformatter
codeformatter copied to clipboard
Tool that uses Roslyn to automatically rewrite the source to follow our coding styles
Need a one time rule run to align files across the repositories. so there is a 1 time hit. then add to .editorconfig
In it's current form the formatter operates as an extra step in the development process: 1. Write the code for my feature. 2. Run the formatter tool. 3. Send PR....
The code formatter is great tool for getting code into the particular format desired by our guidelines. That is great for helping developers meet our style guidelines but it does...
Passing _/nocopyright_ from a bash command line (like git bash) returns the error: **Error: The specified rule type was not find:** _path-to-file/nocopyright_ I think it has something to do with...
This happened for this piece of code: ``` static readonly int Lzyyyy = "yyyy".Length; static readonly int Lzyyyy_ = "yyyy-".Length; static readonly int Lzyyyy_MM = "yyyy-MM".Length; static readonly int Lzyyyy_MM_...
Some code bases use the "m_" prefix for internal fields. These should be renamed as with private fields.
I have a big codebase which I want to sort by stylecop rules: http://stackoverflow.com/questions/150479/order-of-items-in-classes-fields-properties-constructors-methods How would I start to programm such a feature? I would guess I add an additional...
When adding codeformatter with Nuget, it should automatically add a build target, so that the code gets automatically reformatted on every build.
More of a git formatting rule but mentioned in http://channel9.msdn.com/Blogs/dotnet/github-for-the-roslyn-team
Consider the following field definition: ``` csharp class C { private int _field1 // Comment private int field2; // Comment } ``` After formatting we end up with: ``` csharp...