csharpier
csharpier copied to clipboard
CSharpier is an opinionated code formatter for c#.
**Environments** - IDE Version: Visual Studio Community 2022 (64-bit) Version 17.10.0 Preview 7.0 - Extension Version: 1.7.3 - CSharpier Version: 0.28.2 *will NOT be the same as the extension version*...
**Environments** - IDE Version: 1.87.2 - Extension Version: v1.7.2 - CSharpier Version: 0.28.2 *will NOT be the same as the extension version* - Operating System: MacOS - .csharpierrc Settings: Where...
This may be something I'm just opinionated on, but I did test with prettier and prettier will reproduce the expected behavior in this issue. **Input:** ```cs public class ClassName {...
**Input:** ```csharp namespace SomeLibrary; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Xml.Linq; using static System.StringComparison; public sealed class SomeClass {} ``` **Output:** ```csharp namespace SomeLibrary; using System; using...
#1251 is adding support for custom file extensions. Right now all the IDE extensions are hardcoded to only try to format cs files. Should we send all file edits to...
Similar to #1271, I'm running into this issue: **Input:** ```cs void Fn() { return x switch { (true, true) => foobar.MethodCall1().MethodCall2().MethodCall3(), // ... }; } ``` **Output:** ```cs void Fn()...
#1251 is adding the ability to customize options based on file path, which will also allow non-standard file extensions to be formatted. This issue is for adding support for this...
When using fluent methods with different levels of semantic meaning, it can be difficult to maintain good readability with CSharpier currently, since it doesn't know the semantic difference between two...
If you repeatedly format this file, it gets a new blank line each time. **Input:** ```c# namespace InspectorGadget.TestPublicSurfaceArea; // public class ClassAdded // { // public void TestMethod() // {...
**Environments** - IDE Version: 2024.2.1 - Extension Version: 1.8.0 - CSharpier Version: 0.29.1 - Operating System: MacOS - .csharpierrc Settings: None - .editorconfig Settings: None **Log Output** **Steps to reproduce**...