Skip to content
| Marketplace
Sign in
Visual Studio>Tools>FreeCodeReorganizer (2026)
FreeCodeReorganizer (2026)

FreeCodeReorganizer (2026)

Preview

Daniel-Pepka

|
1 install
| (0) | Free
Reorganizes C# class members alphabetically and restores the wrapped-parameter "){" brace style. Native VS 2026 build on VisualStudio.Extensibility.
Download

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.

Source: https://github.com/WSU-EIT/FreeAI

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft