dotnet / roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.
https://josefpihrt.github.io/docs/roslynator
Other
3.02k stars 247 forks source link
csharp dotnet roslyn visual-studio

Roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

IMPORTANT: Analyzers will be removed from Roslynator IDE extensions in the next major release. It's recommended to use Roslynator NuGet packages (e.g. Roslynator.Analyzers) instead.

Tools

Documentation

Contributions

Contributions are welcome! If you are interested please see:

TIP: Bugfixes or small improvements can be implemented right away. Larger task like adding new analyzer or refactoring should be discussed first.

.NET Foundation

This project is supported by the .NET Foundation.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Command Line Tool

Run following command to install Roslynator command line tool:

dotnet tool install -g roslynator.dotnet.cli

See documentation for further information.

Testing Framework

Client Libraries

Package Version Extends
Roslynator.Core NuGet Microsoft.CodeAnalysis.Common
Roslynator.Workspaces.Core NuGet Microsoft.CodeAnalysis.Workspaces.Common
Roslynator.CSharp NuGet Microsoft.CodeAnalysis.CSharp
Roslynator.CSharp.Workspaces NuGet Microsoft.CodeAnalysis.CSharp.Workspaces