A Roslyn-based tool that automatically rewrites .NET source code to follow specified coding styles.
CodeFormatter is a tool that automatically rewrites .NET source code to follow specified coding styles using the Roslyn compiler platform. It parses code and applies formatting rules to ensure consistency, reducing manual effort in maintaining code standards. The tool supports custom configurations and can target specific files or entire projects.
.NET developers and teams who need to enforce consistent coding styles across their codebases, particularly in large or collaborative projects.
It provides automated, reliable code formatting based on Roslyn, ensuring adherence to standards without manual intervention. Developers choose it for its integration with the .NET ecosystem and ability to customize rules for specific project needs.
Tool that uses Roslyn to automatically rewrite the source to follow our coding styles
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages the Roslyn compiler platform for precise code parsing and transformation, ensuring reliable formatting without syntax errors, as highlighted in the README.
Supports specifying rule types and configurations via command-line arguments, allowing teams to tailor formatting to their coding standards, such as converting MSTest to xUnit.
Enables formatting of specific files within a project or solution using the /file option, useful for incremental adoption or focused changes.
Includes a dedicated rule to convert MSTest tests to xUnit, automating a common migration task and reducing manual effort.
The repository is archived and explicitly replaced by dotnet/format, meaning no further development, security updates, or community support, as stated in the README.
Requires Microsoft Build Tools 2015 or Visual Studio 2015, which are obsolete and incompatible with modern .NET SDKs, limiting its use in current development environments.
Relies on an older version of Roslyn, so it may not handle newer C# features (e.g., from C# 8 onward) or .NET Core-specific syntax, risking formatting errors.
As an archived project, it lacks plugins, IDE extensions, or integration with modern toolchains like dotnet CLI, making it cumbersome for contemporary workflows.