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

Hey, thanks for the awesome extension, it's great work. Being able to have the formatting or just the wrapping apply to all types of comments would make files even more...

type:enhancement
area:formatting

Take the following code: ```cs var foos = new[] { new Foo(), new Bar() }; ``` If later a new item is added: ```cs var foos = new[] { new...

type:enhancement
area:formatting

When there is this `if` statement inside of the `#if` the `LogHelper` line breaks even though it is not that long. If the `#if` contains `var x = 1;` then...

type:bug
area:formatting
priority:low

Hi, Just got this exception once. I don't know what causes it. `com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive at com.google.gson.internal.bind.TypeAdapters$33$1.read(TypeAdapters.java:869) at com.google.gson.Gson.fromJson(Gson.java:963) at com.google.gson.Gson.fromJson(Gson.java:928) at com.google.gson.Gson.fromJson(Gson.java:877) at com.google.gson.Gson.fromJson(Gson.java:848) at...

These two indent differently based on the constructor call, maybe they should indent consistently. ```c# private static HashSet ignoredFileNames = new HashSet( StringComparer.OrdinalIgnoreCase ) { "antlr.runtime.dll", "Antlr3.Runtime.dll", "AuthorizeNet.dll" }; //...

area:formatting
priority:low

```c# class ClassName { void MethodName() { CallMethod( someValue________________________________, // causes this to break value_______________________ != null ? 1 : 2 ); CallMethod( someValue________________________________, value_______________________ != null ? 1 :...

type:bug
area:formatting
priority:low

Extensions for regular VS2022 are built on the .net framework, so I assume that they are not compatible with VS2022 for Mac. Assuming there is demand it would be nice...

type:enhancement
help wanted

If the csharpier install to the custom path fails, or somehow leaves an empty directory, then the csharpier extensions are not able to format files and there is no way...

type:bug
priority:medium
area:vscode
area:vs
area:rider

I'm trying to use both dotnet-format and csharpier on a project, as there are some fixes that dotnet format can provide that csharpier doesn't handle and vice versa. However, I'd...

This prettier PR may help - https://github.com/prettier/prettier/pull/8063/files These are a number of examples. ```c# string signedRequest = htmlHelper.ViewContext.HttpContext.Request.Params[ "signed_request____________" ]; // should be string signedRequest = htmlHelper.ViewContext.HttpContext.Request .Params["signed_request____________"]; result[i /...

type:bug
area:formatting
priority:medium