A tool for reorganizing C# code and sorting members alphabetically. Run it on a single file or the whole solution. It can also run dotnet format across the entire repo first so everything follows your .editorconfig, then sort the members on top of that. It also restores the wrapped-parameter ){ brace style that .editorconfig has no setting for. It respects the generated_code flag. Mark anything you don't want reorganized (EF models, scaffolded folders, vendored code) with generated_code = true in your .editorconfig and it leaves those files alone, the same way dotnet format does. Blazor and Razor are handled too. Only the C# inside @code blocks gets sorted, the markup is left exactly as it is. Works in Visual Studio 2022 (17.14+) and 2026. Free, MIT licensed. |