csharpier icon indicating copy to clipboard operation
csharpier copied to clipboard

CSharpier is an opinionated code formatter for c#.

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

- [ ] Check for issues closed that aren't on milestone - [ ] Run CSH-CreateRelease - [ ] Add details to ChangeLog.md. Highlight breaking changes. Cleanup ones not closed....

See #682 ``` java.io.IOException: Cannot run program "/Users/fredrikwallen/.cache/csharpier/0.17.0/dotnet-csharpier": error=2, No such file or directory ``` I believe the problem is that the directory /Users/fredrikwallen/.cache/csharpier/0.17.0 is empty, possibly because csharpier failed...

area:vscode
area:vs
area:rider

Some things that don't work yet. 1. nested directives 2. if the final else needs a specific combination, that won't be in the set 3. we don't actually look at...

type:bug
area:formatting
priority:medium

```c# class ClassName { void MethodName() { if (true) { yield return nodeContainingUnnecessaryUsings is NamespaceDeclarationSyntax ? ( (NamespaceDeclarationSyntax)nodeContainingUnnecessaryUsings ).Usings.GetContainedSpan() : ( (CompilationUnitSyntax)nodeContainingUnnecessaryUsings ).Usings.GetContainedSpan(); } } } // should maybe be...

type:bug
area:formatting
priority:medium

Using the following code, if you change it between TODO and !TODO for the #if's, the indentation level changes. Could we detect this somehow and make sure to use the...

type:bug
area:formatting

Hello team, here with a feature request. In most cases, we don't want to format the whole class but certain complex parts of the code. With this in mind, it...

type:enhancement
area:vscode
area:vs
help wanted

There are improvements that could be made to printing arguments, namely with lambdas as parameters. #669 stuck to just improving some simple cases (single arguments or parenthesized lambdas with no...

area:formatting
priority:medium

I would like using directives to be sorted with these rules: - `System` on top. - The rest sorted alphabetically. - All `using static` at the end which follows the...

There are cases where we want to keep the original formatting on arrays ```c# private static readonly char[] _Base64Code = { '.', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G',...

area:formatting

```c# var someGeneric____________________________________ = new DictionaryHelper< string, ModelState >() { Creator = () => new ModelStateDictionary(), Comparer = StringComparer.OrdinalIgnoreCase, SampleKeys = new string[] { "foo", "bar", "baz", "quux", "QUUX" },...

type:bug
area:formatting
priority:low