- A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.
- List of analyzers
- List of refactorings
- List of code fixes for CS diagnostics
- 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 2017
Roslynator 2017
- Roslynator 2017 contains all features - analyzers, refactorings and code fixes for CS diagnostics.
Roslynator Refactorings 2017
- Roslynator Refactorings 2017 contains all features except analyzers, it is a subset of Roslynator 2017.
- Use this extension in combination with package Roslynator.Analyzers or if you are not interested in analyzers at all.
Note: Roslynator for Visual Studio 2015 is no longer in development.
NuGet Packages
- Package Roslynator.Analyzers contains only analyzers.
- Use this package if you want integrate analyzers into your build process.
- Package Roslynator.CodeFixes contains only code fixes for CS diagnostics.
- Use this package if you want to distribute these code fixes to your team members.
- Package Roslynator.CSharp is a must-have for Roslyn-based development.
- It is built on top of Roslyn API (namely Microsoft.CodeAnalysis.CSharp).
- Package Roslynator.CSharp.Workspaces is a must-have for Roslyn-based development.
- It is built on top of Roslyn API (namely Microsoft.CodeAnalysis.CSharp.Workspaces).
Roslynator for VS Code
Currently VS Code does not support distribution of Roslyn-based tools in an extension. Also it does not support analyzers at all. Please read the tutorial how to install refactorings and code fixes for CS diagnostics.
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
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