Skip to content
SPECIFICTION
Get listed

Roslynator

github.com

Free plan WindowsmacOSLinuxBrowser extension
Visit github.com
Spec score 7.5 #15 of 22 in Code Refactoring Tools

What it is

Roslynator is a set of code analysis tools for C# development environments built on Roslyn. Its IDE extensions offer refactorings and fixes for compiler diagnostics, while analyzers are distributed separately through NuGet packages. Listed editor extensions cover Visual Studio 2026 and 2022, VS Code, and Open VSX. The VS Code extension requires legacy OmniSharp with `dotnet.server.useOmnisharp` set to true and does not work with C# Dev Kit. A command-line tool can be installed with `dotnet tool install -g roslynator.dotnet.cli`; the CLI is also integrated into MegaLinter for CI. EditorConfig settings can configure analyzers, refactorings, and compiler diagnostic fixes, and a testing framework supports unit tests for those tools. The .NET client libraries extend the Roslyn API but do not include analyzers or refactorings. The repository is licensed under Apache License 2.0. Its security policy supports version 5.x, CLI 0.x, and the Visual Studio 2026 and VS Code extensions; versions below 5.0 and Visual Studio 2022 extensions are out of support.

Spec sheet

Purpose
Roslynator is a set of code analysis tools for C#, powered by Roslyn.Read 3 Oct 2026 · github.com
Audience
The tools are for C# code analysis, refactoring, and compiler diagnostic fixes in Roslyn-based development environments.Read 3 Oct 2026 · github.com
License
The repository states that its files are licensed under Apache License 2.0.Read 3 Oct 2026 · github.com
Analyzers
Analyzers are not included in the IDE extensions and are provided through NuGet packages.Read 3 Oct 2026 · github.com
CI integration
The Roslynator CLI is integrated in MegaLinter, an open-source linter aggregator for CI.Read 3 Oct 2026 · github.com
CLI
The command-line tool installs with dotnet tool install -g roslynator.dotnet.cli.Read 3 Oct 2026 · josefpihrt.github.io
Client libraries
Its .NET client libraries extend the Roslyn API and do not include analyzers or refactorings.Read 3 Oct 2026 · github.com
Configuration
EditorConfig settings can configure analyzers, refactorings, and compiler diagnostic fixes.Read 3 Oct 2026 · josefpihrt.github.io
Editor support
The project lists extensions for Visual Studio 2026, Visual Studio 2022, VS Code, and Open VSX.Read 3 Oct 2026 · github.com
IDE features
Its IDE extensions provide refactorings and fixes for compiler diagnostics.Read 3 Oct 2026 · github.com
Security support
The security policy supports version 5.x, CLI 0.x, and the Visual Studio 2026 and VS Code extensions; versions below 5.0 and Visual Studio 2022 extensions are out of support.Read 3 Oct 2026 · github.com
Testing
The project provides a testing framework for unit testing analyzers, refactorings, and code fixes.Read 3 Oct 2026 · github.com
VS Code requirement
The VS Code extension requires legacy OmniSharp with dotnet.server.useOmnisharp set to true; it does not work with C# Dev Kit.Read 3 Oct 2026 · marketplace.visualstudio.com
Vulnerability reporting
The project asks users to report suspected vulnerabilities through GitHub issues and says it will release a patch as soon as possible once confirmed.Read 3 Oct 2026 · github.com

Plans and prices

Free of charge Free Roslynator tools and extensions; donations welcome Read 3 Oct 2026 · marketplace.visualstudio.com

Every Roslynator plan and price →

Strong points and limits

Strong points

  • Free and licensed under Apache License 2.0
  • IDE refactorings and compiler diagnostic fixes
  • CLI integrates with MegaLinter for CI
  • EditorConfig configures analyzers and fixes

Limits

  • Analyzers are separate NuGet packages, not IDE extensions
  • VS Code requires legacy OmniSharp
  • Does not work with C# Dev Kit
  • Visual Studio 2022 extensions are out of security support

Who it suits

Roslynator suits developers working with C# who want refactorings, compiler-diagnostic fixes, analyzers, or command-line checks in Roslyn-based environments. Teams using VS Code should be prepared to use the required legacy OmniSharp setup.

Verdict

Roslynator offers IDE, command-line, configuration, and testing tools for C# code analysis and refactoring. Its component split and VS Code requirement are important setup details, and security support differs by version and extension.

Where Specifiction places it

Alternatives to RoslynatorAll alternatives →