csharpier
csharpier copied to clipboard
CSharpier is an opinionated code formatter for c#.
Is it possible to define custom usings order? For example, I have an extension CSharpFormatUsings which formats a usings for me the way I want. It may remove unnecessary "using"...
Right now csharpier eagerly parses all `.editorconfig` files in the directory being formatted, plus its subdirectories. This was a simpler way to deal with peformance than keeping track of which...
For 0.29, we can return that there was a syntax error. For older versions, it should log more appropriately "Received response from csharpier in Xms" "No changes to file, it...
csharp supports this ```csharp #pragma warning disable format #pragma warning enable format ```
**Request** As it currently stands, it is not possible to scan C# files that have custom extensions (for build/deployment processes etc.) The only work around for this, is to have...
- IDE Version: JetBrains Rider 2023.3.4 - Extension Version: 1.6.3 - CSharpier Version: 0.27.2+b456544aad8957d0e2026afe1a37544bb74552ba - Operating System: Windows 11 - .csharpierrc Settings: `printWidth: 120` - .editorconfig Settings: N/A **Log Output**...
When formatting a file that has a compilation error, there is no information logged indicating why it doesn't get formatted. I believe CSharpier doesn't yet return the necessary information. The...
**Environments** - IDE Version: Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.9.2 - Extension Version: 1.5.2 - CSharpier Version: 0.27.3 - Operating System: Windows 11 - .csharpierrc Settings:...
**Input:** ``` b.HasKey(t => new { t.UserId, t.LoginProvider, t.Name }).HasName("auth_user_token_pk"); ``` **Output:** ``` b.HasKey(t => new { t.UserId, t.LoginProvider, t.Name }) .HasName("auth_user_token_pk"); ``` **Expected behavior:** it should keep the input....
Visual Studio stopped responding for 9 seconds. Disabling the extension CSharpier 1.5.1 might help.
Multiple times a day I get this message. "Visual Studio stopped responding for 9 seconds. Disabling the extension CSharpier 1.5.1 might help." Here is the CSharpier output: ``` [Debug -...