Roslynator
A collection of 500+ analyzers, refactorings and fixes 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
- Extensions for Visual Studio
- NuGet Analyzers
- Roslynator API
- Roslynator Command-Line Interface
- Roslynator for VS Code
- Release notes
- Follow on Twitter
New Features
Donation
"It's so good, that I made my first ever donation." Mateusz Piasecki, Roslynator user.
Although Roslynator products are free of charge, any donation is welcome and supports further development.
Extensions for Visual Studio
Extension | Comment |
---|---|
Roslynator 2019 | contains analyzers, refactorings and fixes for CS diagnostics. |
Roslynator 2017 | 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 | common analyzers (RCS1xxx) | |
Roslynator.CodeAnalysis.Analyzers | analyzers for Roslyn API (RCS9xxx) | |
Roslynator.Formatting.Analyzers | formatting analyzers (RCS0xxx) |
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.
Roslynator Command-Line Interface
- Roslynator CLI is distributed via NuGet package Roslynator.CommandLine.
- See documentation.
Documentation
- Analyzers vs. Refactorings
- How to Configure Analyzers
- How to Configure Refactorings
- How to Customize Rules for a Project
- How to Fix All Diagnostics in a Solution
- How to Generate API Documentation
Would you like to improve Roslynator documentation? Please see how to update documentation.
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