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

Not sure if more changes might help here, perhaps calling `docsStack.Push(TraverseDocOnExitStackMarker);` later and adding an `else` clause might help, that or using a goto. Might be easier to measure an...

Add check for if `modifiers` are `Doc.Null` to avoid allocating a `Concat` and `Doc[]` ### Benchmarks (timing is inaccurate) #### Before | Method | Mean | Error | StdDev |...

Replace `List` with `ValueListBuilder` ### Benchmark (timing is inaccurate) #### Before | Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated | |------------------------------ |---------:|--------:|---------:|----------:|----------:|----------:| | Default_CodeFormatter_Tests...

An experimental change to support the discussion in #205. I have no strong feelings about whether this should be merged, but wanted to put it out there.

### **Environments** - IDE Version: VSCode 1.102.0 - Extension Version: 2.0.8 - CSharpier Version: 1.0.3 - Operating System: Linux - .csharpierrc Settings: none - .editorconfig Settings: none ### **Expected behavior**...

Inquiring minds wish to know!

Currently the files in the solution folder, such as `Directory.Build.props`, `Directory.Packages.props`, and others, are not formatted during msbuild. We also have custom XMLs in the root folder, which would be...

**Environments** - IDE Version: 1.105.1 - Extension Version: 2.1.0 - CSharpier Version: 1.2.1 *will NOT be the same as the extension version* - Operating System: Windows 11 Pro - .csharpierrc...

When changing settings for csharpier in VS2026 there is a message `These settings haven't been migrated yet. Links will open in the legacy Options dialog`. Figure out how to move...

At some point I'll either run out of steam or get bored so I'm dumping my notes here so someone else can try these idea out. See #1735 for the...