Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. Code Refactoring Tools
  3. Roslynator

Roslynator

What it is

Roslynator is a free, open-source set of C# code analysis tools powered by Roslyn, for refactoring and fixing compiler diagnostics in Roslyn-based development environments. Its IDE extensions provide refactorings and diagnostic fixes; analyzers are distributed separately through NuGet packages. The project lists extensions for 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`, and the CLI is integrated into MegaLinter for CI. EditorConfig settings can configure analyzers, refactorings, and compiler diagnostic fixes. A testing framework supports unit tests for analyzers, refactorings, and code fixes. Roslynator’s .NET client libraries extend the Roslyn API but do not include analyzers or refactorings. The repository uses the 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.

For and against

For

  • Free and open source under Apache License 2.0
  • IDE extensions provide refactorings and fixes
  • CLI integrates with MegaLinter
  • EditorConfig supports configuration

Against

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

The verdict

Roslynator offers IDE, CLI, and testing tools for C# analysis and refactoring, with analyzers supplied separately from its IDE extensions. Check the editor requirements and the stated security-support scope for the version and extension you plan to use.

Who it suits

Roslynator suits C# developers who want analysis, refactoring, or compiler diagnostic fixes in Roslyn-based environments. It may also fit teams using the CLI or MegaLinter in CI.

Plans and prices

Free of charge

Free

Roslynator tools and extensions; donations welcome

Every plan, in full

On the record

Analyzers
Analyzers are not included in the IDE extensions and are provided through NuGet packages.github.com · read 3 Oct 2026
Audience
The tools are for C# code analysis, refactoring, and compiler diagnostic fixes in Roslyn-based development environments.github.com · read 3 Oct 2026
CI integration
The Roslynator CLI is integrated in MegaLinter, an open-source linter aggregator for CI.github.com · read 3 Oct 2026
CLI
The command-line tool installs with dotnet tool install -g roslynator.dotnet.cli.josefpihrt.github.io · read 3 Oct 2026
Client libraries
Its .NET client libraries extend the Roslyn API and do not include analyzers or refactorings.github.com · read 3 Oct 2026
Configuration
EditorConfig settings can configure analyzers, refactorings, and compiler diagnostic fixes.josefpihrt.github.io · read 3 Oct 2026
Editor support
The project lists extensions for Visual Studio 2026, Visual Studio 2022, VS Code, and Open VSX.github.com · read 3 Oct 2026
IDE features
Its IDE extensions provide refactorings and fixes for compiler diagnostics.github.com · read 3 Oct 2026
License
The repository states that its files are licensed under Apache License 2.0.github.com · read 3 Oct 2026
Purpose
Roslynator is a set of code analysis tools for C#, powered by Roslyn.github.com · read 3 Oct 2026
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.github.com · read 3 Oct 2026
Testing
The project provides a testing framework for unit testing analyzers, refactorings, and code fixes.github.com · read 3 Oct 2026
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.marketplace.visualstudio.com · read 3 Oct 2026
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.github.com · read 3 Oct 2026

Alternatives to Roslynator

Every alternative, ranked