Roslynator
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
Install / Use
/learn @dotnet/RoslynatorREADME
Roslynator <img align="left" width="48px" height="48px" src="images/roslynator-logo-small.png" />
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
IMPORTANT: Analyzers will be removed from Roslynator IDE extensions in the next major release. It's recommended to use Roslynator NuGet packages (e.g. Roslynator.Analyzers) instead.
Tools
- IDE extensions for:
- Visual Studio
- VS Code
- Prerequisite is to use OmniSharp. Otherwise (i.e. C# Dev Kit), use NuGet packages with analyzers, refactorings and code fixes.
- Open VSX
- NuGet packages that contain collection of analyzers
- Testing framework that allows unit testing of analyzers, refactoring and code fixes
- .NET client libraries that extend Roslyn API
- Command line tool
Documentation
Contributions
Contributions are welcome! If you are interested please see:
- documentation for developers
- available issues
TIP: Bugfixes or small improvements can be implemented right away. Larger task like adding new analyzer or refactoring should be discussed first.
Donations
Special thanks to:
- .NET on AWS Open Source Software Fund for donating $6000.00 USD ($500.00 for 12 months starting November 2024).
- Microsoft for donating $1000.00 USD.
- @IanKemp for donating $13.00 USD / month starting July 2021.
- @Genbox for donating $5.00 USD / month starting October 2024.
- Timo Nürnberg for donating $5.00 USD / month starting March 2025.
.NET Foundation
This project is supported by the .NET Foundation.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
Command Line Tool
Run following command to install Roslynator command line tool:
dotnet tool install -g roslynator.dotnet.cli
See documentation for further information.
Testing Framework
- Roslynator Testing Framework can be used for unit testing of analyzers, refactorings and code fixes.
- See documentation for further information.
Client Libraries
- Roslynator client libraries are meant be used for development of your own analyzers/refactorings.
- It does not contain any analyzers/refactorings itself.
- See reference.
| Package | Version | Extends |
| --- | --- | --- |
| Roslynator.Core | | Microsoft.CodeAnalysis.Common |
| Roslynator.Workspaces.Core |
| Microsoft.CodeAnalysis.Workspaces.Common |
| Roslynator.CSharp |
| Microsoft.CodeAnalysis.CSharp |
| Roslynator.CSharp.Workspaces |
| Microsoft.CodeAnalysis.CSharp.Workspaces |
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
