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

Currently a generic property will break like this ```c# public virtual ICollection< SomeObject > SomeLongNameThatForcesALineBreak { get; set; } = new HashSet(); ``` Which is modeled after how prettier breaks...

area:formatting
status:needs discussion

I think we should consider breaking before the operator for the following statements. ```c# public void Serialize(ReadOnlySpan value) => InternalSerialize(Encoding.Utf8.GetString(value)); var someReallyLongName = "someReallyLongValueThatBreaks11111111111111111111111111111111"; ``` As compared to ```c# public...

area:formatting
status:needs discussion

This is more of a nice to have. Prettier currently doesn't deal with this. ```c# var someVariable___________________________ = CallSomeMethod( someLongValue, someOtherLongValue ); // should prefer to break this way if...

type:enhancement
area:formatting

Prettier has code to deal with a string's width not necessarily being the same as the visual "printed" width. See https://github.com/prettier/prettier/blob/main/src/common/util.js for how prettier does it. A method was abstracted...

type:enhancement

Right now when using the CSharpier.MSBuild package, when dotnet watch is used it reformats the entire project instead of just the files that were changed. This can be used in...

type:enhancement
area:msbuild

When using CSharpier.MsBuild in a solution with multiple projects often those projects will be formatted at the same time. The CSharpier cache reads a single file when it starts up,...

type:enhancement
area:formatting
priority:wishful thinking

Hello all! After reading the [configuration document](https://csharpier.com/docs/Configuration) - I do not think this is possible, but I still wanted to ask. ![CSharpierPlayground](https://user-images.githubusercontent.com/12589359/187087944-2243968b-e0ce-4b0f-b051-634d7d134f44.png) The goal is: * I do not want...

area:formatting

If this is possible, we'd get a lot of benefits: - C# integration via the C# extension itself - We might not need anything special for MSBuild - Possible support...

type:enhancement
help wanted

e.g. methods like ````cs public override async Task Method1() {...} async public override Task Method1() {...} ```` are equivalent It'd be nice to have first visibility and last async, or...

type:enhancement
area:formatting

Hey! Good morning 😄 I've installed the tool globally and the Rider extension for it. However, when i open Rider, it keeps asking for me to install it anyways. When...