csharpier
csharpier copied to clipboard
CSharpier is an opinionated code formatter for c#.
The list of files that won't compile or have too deep of recursion in csharpier-repos was ignored. At some point we should review these to see if there are any...
According to [this stylecop rule](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1127.md) generic type constraints should always be on a new line. I think I am on board with modifying this ```c# public static T CreatePipelineResult( T...
According to [this stylecop rule](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1128.md) constructor initializers should always be on their own line. This probably helps in a case like this ```c# public class RealTimeCallTimeoutException { public RealTimeCallTimeoutException(string call)...
The following ```c# if ( someLongName____________________________________________________ is { } anotherLongName______________________ ) { return; } ``` Is more readable as ```c# if ( someLongName____________________________________________________ is { } anotherLongName______________________ ) { return;...
When CSharpier formats a file from stdin, it considers the current directory to be the location of the file for purposes of finding a config file and ignore file. We...
The changes in #490 can slow down csharpier. On the insite-commerce repo it adds 1s to the ~30s formatting time. Should the validation be opt in? Or should there be...
When a method call has a single parameter, it is sometimes long enough to cause it to break like so ```c# CallMethod( parameter ); ``` If there is just the...
```c# context.CachedResponseHeaders[HeaderNames.CacheControl] = new CacheControlHeaderValue() { Public = true }.ToString();
The file at [csharpier-repos]\efcore\test\Microsoft.Data.Sqlite.Tests\TestUtilities\SqliteTestFramework.cs Contains the following code. The end bracket for an attribute is inside of an if directive. Currently the way csharpier uses roslyn, it can't parse this...