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

**Environments** - IDE Version: vscode 1.95 - Extension Version: 1.9.0 - CSharpier Version: 0.30.3 *will NOT be the same as the extension version* - Operating System: windows 11 - .csharpierrc...

When adding a couple of white spaces or new lines anywhere in the code, csharpier highlights those spaces like an error with underlined red line. This issue occurs in the...

**Environments** - IDE Version: Rider 2023.3.3 - Extension Version: 1.8.2 - CSharpier Version: 0.30.2 *will NOT be the same as the extension version* - Operating System: Windows 11 - .csharpierrc...

**Input:** ```C# [Obsolete("Will be removed in a future version. Please replace any use of this class with some other class.")] ``` **Output:** ```C# [Obsolete( "Will be removed in a future...

area:formatting

Because CSharpier currently treats all xml as strict whitespace we end up with the formatting below. Should strict whitespace be configurable? The first case should at least be considered a...

type:bug
area:formatting

There was an issue where if the left-hand side of `??` was even slightly complex, the right-hand side would become part of the group and could not have its own...

Implement formatting of a selected code block

These patterns don't work with the new gitignore code. ``` **foo.txt foo/**.ps ```

CSharpier Version: 1.2.1 **Input:** ```cs var x = someValue.SomeCall().SomeProperty.SomeProperty ?? someValue.SomeCall().SomeProperty.SomeProperty; var x = someValue.SomeCall().SomeProperty?.SomeCall().SomeProperty ?? someValue.SomeCall().SomeProperty?.SomeCall().SomeProperty; var x = someValue.SomeCall().A_______.B_______.C_______ ?? someValue.SomeCall().A_______.B_______.C_______; ``` **Output:** ```cs var x = someValue.SomeCall().SomeProperty.SomeProperty...

Semi reverts #1572 which overwrote #1485, I assume this was accidental. I noticed that you prefer explicit `Enumerable.Any` usage, should I convert this PR to use `ListExtensions.Any`? ## Benchmarks Saves...