csharpier icon indicating copy to clipboard operation
csharpier copied to clipboard

CSharpier is an opinionated code formatter for c#.

Results 331 csharpier issues
Sort by recently updated
recently updated
newest added

Ideally we would format the following ```c# var symbol = context.Operation switch { _ => throw new InvalidOperationException( "Unexpected operation kind: " + context.Operation.Kind ), }; // which is currently...

area:formatting
priority:low

```c# class ClassName { void MethodName() { var result = await ProcessUtil.RunAsync( commonTestArgs + " --TestCaseFilter:\"Quarantined!=true|Quarantined=false\" ", environmentVariables: EnvironmentVariables ); } } // should be class ClassName { void MethodName()...

type:bug
area:formatting
priority:low

These are some edge cases I ran across while reviewing a couple of the forked repos. ```c# public interface IProjectionExpression : IProjectionExpressionBase where TMappingExpression : IProjectionExpressionBase< TSource, TDestination, TMappingExpression >...

type:bug
area:formatting
priority:low

``` public class ClassName { // this is 92, but if you add one more character it breaks public AutoMapperMappingException(string message, Exception innerException_____________) : this(message, innerException) => Types = types;...

type:bug
area:formatting
priority:low

There are a number of obnoxious edge cases that we should address. They were added as tests so that when formatting changes that affects them, we can see how they...

priority:low

These are a couple of edge cases that we need to be sure to deal with after we finalize how we want to format classes with base lists. ```c# public...

type:bug
area:formatting
priority:low

There are a number of edge cases in VariableDeclartions.cst and one in FixedStatements.cst that are not handled yet. This is the desired formatting. ```c# var arrayCreationExpression1 = new byte[100]; var...

type:bug
area:formatting
priority:low

This is related to https://github.com/belav/csharpier/issues/100 but the solution to other nodes like IfStatementSyntax isn't easily implemented for AnonymousMethodExpressions. Adding a group around Func f5 = delegate(string exactly80, string abcd) is...

type:bug
area:formatting
priority:low

Either way that we format binary expressions (break before or break after operator) we run into cases like this. In this situation, we should really be moving the operator to...

type:bug
area:formatting
priority:low

We may want to turn the leading comment into a trailing comment on : but we haven't really moved around comments yet Also the Split method breaking is weird. it...

type:bug
area:formatting
priority:low