Popularity
7.6
Stable
Activity
9.3
Growing
2,133
40
176

Programming language: C#
License: GNU General Public License v3.0 or later
Latest version: v3.2.2

Roslynator alternatives and similar packages

Based on the "Visual Studio Plugins" category.
Alternatively, view Roslynator alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Roslynator or a related project?

Add another 'Visual Studio Plugins' Package

README

Roslynator

A collection of 500+ [analyzers](src/Analyzers/README.md), [refactorings](src/Refactorings/README.md) and [fixes](src/CodeFixes/README.md) for C#, powered by Roslyn.

PROMO: Try Orang, cross-platform command-line tool from the author of Roslynator. Orang can search, replace, rename and delete directories, files and its content using the power of .NET regular expressions.

Features

New Features

  • Roslynator for Visual Studio Code
  • [Fix all diagnostics in a solution](docs/HowToFixAllDiagnostics.md)
  • [Generate API documentation](docs/HowToGenerateDocumentation.md)

Donation

  • Although Roslynator products are free of charge, any donation is welcome and supports further development.
  • [List of donations](Donations.md)

Extensions for Visual Studio

Extension Comment
Roslynator 2022 (Preview) contains analyzers, refactorings and fixes for CS diagnostics.
Roslynator 2019 contains analyzers, refactorings and fixes for CS diagnostics.

Extensions for Visual Studio Code

Extension Comment
Roslynator contains analyzers, refactorings and fixes for CS diagnostics.

NuGet Analyzers

Package Version Comment
Roslynator.Analyzers NuGet common analyzers (RCS1xxx) (list)
Roslynator.CodeAnalysis.Analyzers NuGet analyzers for Roslyn API (RCS9xxx) (list)
Roslynator.Formatting.Analyzers NuGet formatting analyzers (RCS0xxx) (list)

Note: All analyzers in package Roslynator.Formatting.Analyzers are disabled by default.

Roslynator API

  • Roslynator API is meant be used for development of your own analyzers/refactorings.
  • It does not contain any analyzers/refactorings itself.
  • See [API Reference](docs/api/README.md).
Package Version Built on top of
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

Roslynator Command-Line Interface

Roslynator Testing Framework

  • Roslynator Testing Framework can be used for unit testing of analyzers, refactorings and code fixes.
  • Framework is distributed as NuGet package.  NuGet
  • Learn how to use the framework from actual usages in Roslynator repo:
    • Tests of analyzers are [here](src/Tests/Analyzers.Tests), [here](src/Tests/CodeAnalysis.Analyzers.Tests) and [here](src/Tests/Formatting.Analyzers.Tests)
    • Tests of refactorings are [here](src/Tests/Refactorings.Tests)
    • Tests of fixes of compiler diagnostics are [here](src/Tests/CodeFixes.Tests)

Documentation

  • [Analyzers vs. Refactorings](docs/AnalyzersVsRefactorings.md)
  • [How to Configure Analyzers](docs/HowToConfigureAnalyzers.md)
  • [How to Configure Refactorings](docs/HowToConfigureRefactorings.md)
  • [How to Customize Rules for a Project](docs/HowToCustomizeRulesForProject.md)
  • [How to Fix All Diagnostics in a Solution](docs/HowToFixAllDiagnostics.md)
  • [How to Generate API Documentation](docs/HowToGenerateDocumentation.md)

Would you like to improve Roslynator documentation? Please see [how to update documentation](docs/HowToUpdateDocumentation.md).

Other Projects

  • Snippetica - A collection of snippets for C++, C#, HTML, JSON, Markdown, VB, XAML and XML
  • DotMarkdown - Markdown framework for .NET
  • LINQ to Regex - A library that provides language integrated access to .NET regular expressions
  • Snippet Manager - A library that enables to work with Visual Studio snippets
  • Regexator - A comprehensive development environment for .NET regular expressions