awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dotnet avatar

dotnet/roslynator

0
View on GitHub↗

Roslynator

Roslynator is a set of tools for finding and fixing code quality, correctness, and style problems in C#, built on the Roslyn compiler platform. It combines a collection of rule-based analyzers distributed as NuGet packages, an extension for Visual Studio and VS Code that applies refactorings and compiler diagnostic fixes while editing, and a command-line tool installed as a global .NET tool. Analyzers report issues during builds and in the editor, and many come with automatic code fixes.

The command-line tool runs analysis headlessly over whole solutions, so the same checks work in scripts and continuous integration pipelines. It can export findings as SARIF or GitLab analyzer reports, and it can be set to return a success exit code when issues are found so builds don't fail on findings alone. Beyond analysis, it can find and optionally remove unused types and members, spellcheck identifiers, comments and file names, and generate API reference documentation from assemblies in formats suited to static site generators such as Docusaurus or Sphinx.

Roslynator also serves people who write their own analyzers. Helper libraries add types on top of the compiler platform API for building custom analyzers, refactorings, and code fixes, and xUnit and MSTest testing packages let authors run them against sample code and assert the exact diagnostics and resulting source. Analyzer behavior is tuned through editor config files, including rule toggles and options such as maximum line length. For editors where the main extension cannot be installed, refactorings and compiler fixes are also available as standalone NuGet packages.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
josefpihrt.github.io/docs/roslynator
↗

Features

  • Roslyn Analyzer Collections - Ships a large set of rule-based C# analyzers as NuGet packages that flag quality, correctness, and style problems during builds and in the editor, with automatic fixes.
  • C# Static Analysis - Runs rule-based C# analyzers in the editor, during builds, and from the command line to catch quality, correctness, and style problems.
  • Code Quality Analyzers - Installs collections of C# analyzer packages through NuGet so quality, correctness, and formatting issues appear during builds and in the editor.
  • C# Code Analysis Toolkits - Combines analyzers, an IDE extension, and a command-line tool to find and fix quality, correctness, and style problems in C# code.
  • Automated Code Refactoring - Applies code transformations and fixes for compiler warnings and errors directly while editing C# in Visual Studio or VS Code.
  • Command-Line Installers - Installs as a global .NET tool that runs C# code analysis from the terminal, in scripts and CI pipelines.
  • Roslyn Analyzer Development Libraries - Provides helper libraries over the compiler platform API plus xUnit and MSTest packages for building and testing custom analyzers, refactorings, and code fixes.
  • Automated Code Fixes - Flags style and correctness problems with rule-based analyzers that offer automatic fixes, such as removing redundant catch blocks.
  • Static Code Analyzers - Ships rule-based analyzers through NuGet packages that scan C# code for quality, correctness, and formatting problems during builds and in the editor.
  • .NET API Reference Generators - Generates API reference documentation from assemblies, formatted for static site hosts such as Docusaurus or Sphinx.
  • Custom Analyzer Authoring Libraries - Provides helper libraries on top of the compiler platform API for building custom analyzers, refactorings, and code fixes.
  • Headless Solution Analysis Hosts - Loads whole solutions through an MSBuild workspace as a global .NET tool and runs analyzers headlessly for scripts and pipelines.
  • Continuous Integration Checks - Plugs C# analysis into CI pipelines and exports findings as SARIF or GitLab reports without failing builds on findings alone.
  • Analyzer Package Distributions - Ships analyzer rules as NuGet packages that the compiler loads automatically during builds and in editor design-time analysis.
  • API Documentation Generators - Generates API reference documentation from compiled assemblies in formats suited to static site generators such as Docusaurus or Sphinx.
  • .NET Command Line Interfaces - Ships as a global .NET command-line tool that runs analysis, spellchecking, and documentation generation in scripts and CI pipelines.
  • Syntax Tree Analysis - Analyzes C# code by walking compiler syntax trees and semantic models so checks understand real language structure instead of raw text.
  • Compiler Analyzers - Provides libraries and testing packages for creating analyzers, refactorings, and code fixes on the Roslyn compiler platform and verifying them.
  • Local Refactoring Testing - Offers xUnit and MSTest packages to verify custom analyzers, refactorings, and compiler fixes without pinning the compiler version.
  • Unused Code and Translation Audits - Searches a solution for unused types and members matching kind and visibility filters, and optionally removes them from source.
  • SARIF Integrations - Exports analysis findings as SARIF files or GitLab analyzer reports so pipelines and hosting platforms can display them.
  • Unit Testing and Code Coverage - Supports unit tests that run analyzers, refactorings, and code fixes against sample code and assert exact diagnostics and resulting source.
  • Analyzer Sample-Code Test Harnesses - Compiles sample code snippets in memory, runs analyzers or fixes against them, and asserts exact diagnostics and resulting source text.
3,499 stars·299 forks·C#·8 views

Star history

Star history chart for dotnet/roslynatorStar history chart for dotnet/roslynator

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Roslynator

These projects share indexed features with Roslynator. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • openrewrite/rewriteopenrewrite avatar

    openrewrite/rewrite

    3,965View on GitHub↗

    OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework

    Javaabstract-syntax-treeastcode-search
    View on GitHub↗3,965
  • crate-ci/typoscrate-ci avatar

    crate-ci/typos

    4,214View on GitHub↗

    Typos is a source code spell checker and automated typo fixer designed to detect and correct spelling errors across programming languages and project files. It functions as a CI spelling validator and SARIF compatible linter, allowing projects to prevent misspelled text from reaching production. The tool features a customizable dictionary engine that utilizes TOML configuration and locale-specific dictionaries to manage project-specific terminology. It differentiates itself by splitting programming language identifiers into individual words for validation and verifying the spelling of filenam

    Rust
    View on GitHub↗4,214
  • analysis-tools-dev/static-analysisanalysis-tools-dev avatar

    analysis-tools-dev/static-analysis

    14,389View on GitHub↗

    This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It serves as a central resource for developers to discover, compare, and select tools based on specific programming languages, licensing models, and integration requirements. The directory distinguishes itself by providing deep metadata for each listed utility, including community-driven popularity rankings, maintenance status, and deployment methods. By aggregating these tools into a single searchable index, it enables teams to identify solutions for enforcing coding standards, ma

    Rustanalysisawesome-listcode-quality
    View on GitHub↗14,389
  • rrrene/credorrrene avatar

    rrrene/credo

    5,230View on GitHub↗

    Credo is a static analysis tool and linter for Elixir. It functions as a code quality analyzer that scans source code to identify stylistic inconsistencies, common mistakes, and potential security vulnerabilities. The tool provides a customizable framework for defining and testing specialized rules to enforce project-specific coding standards. It identifies complex code fragments and duplication to highlight opportunities for refactoring and simplification. Its capabilities cover automated code reviews, the enforcement of Elixir coding standards, and real-time developer feedback through edit

    Elixir
    View on GitHub↗5,230
Compare all 30 related projects→

Frequently asked questions

What does dotnet/roslynator do?

Roslynator is a set of tools for finding and fixing code quality, correctness, and style problems in C#, built on the Roslyn compiler platform. It combines a collection of rule-based analyzers distributed as NuGet packages, an extension for Visual Studio and VS Code that applies refactorings and compiler diagnostic fixes while editing, and a command-line tool installed as a global .NET tool. Analyzers report issues during builds and in the editor, and many come with…

What are the main features of dotnet/roslynator?

The main features of dotnet/roslynator are: Roslyn Analyzer Collections, C# Static Analysis, Code Quality Analyzers, C# Code Analysis Toolkits, Automated Code Refactoring, Command-Line Installers, Roslyn Analyzer Development Libraries, Automated Code Fixes.

Which projects share features with dotnet/roslynator?

Projects with overlapping indexed features include: openrewrite/rewrite — OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic… crate-ci/typos — Typos is a source code spell checker and automated typo fixer designed to detect and correct spelling errors across… analysis-tools-dev/static-analysis — This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It… rrrene/credo — Credo is a static analysis tool and linter for Elixir. It functions as a code quality analyzer that scans source code… myriad-dreamin/tinymist — Tinymist is a comprehensive suite of tools for Typst document authoring, serving as a language server, document… troessner/reek — Reek is a static code analyzer for Ruby projects designed to identify design flaws and maintainability issues known as…