|
1 |
| -# Roslynator <img align="left" width="48px" height="48px" src="http://pihrt.net/images/Roslynator.ico"> |
| 1 | +# Roslynator <img align="left" width="48px" height="48px" src="http://pihrt.net/images/Roslynator.ico" /> |
2 | 2 |
|
3 |
| -A collection of 500+ [analyzers](docs/analyzers/README.md), [refactorings](docs/refactorings/README.md) and [fixes](docs/cs/README.md) for C#, powered by [Roslyn](https://github.com/dotnet/roslyn). |
| 3 | +Roslynator is a set of code analysis tools for C#, powered by [Roslyn](https://github.com/dotnet/roslyn). |
4 | 4 |
|
5 |
| -### Features |
| 5 | +## Tools |
6 | 6 |
|
7 |
| -* [Extensions for Visual Studio](#extensions-for-visual-studio) |
8 |
| -* [NuGet Packages](#nuget-packages) |
9 |
| -* [Roslynator Client Libraries](#roslynator-client-libraries) |
10 |
| -* [Roslynator Command Line Tool](#roslynator-command-line-tool) |
11 |
| -* [Roslynator for VS Code](#extensions-for-vs-code) |
12 |
| -* [Release notes](ChangeLog.md) |
13 |
| -* Follow on [Twitter](https://twitter.com/roslynator) |
| 7 | +- IDE extensions for: |
| 8 | + - [Visual Studio](https://marketplace.visualstudio.com/items?itemName=josefpihrt.Roslynator2022) |
| 9 | + - [VS Code](https://marketplace.visualstudio.com/items?itemName=josefpihrt-vscode.roslynator) |
| 10 | + - [Open VSX](https://open-vsx.org/extension/josefpihrt-vscode/roslynator) |
| 11 | +- [NuGet packages](#nuget-packages) that contain collection of analyzers |
| 12 | + - [Roslynator.Analyzers](https://www.nuget.org/packages/Roslynator.Analyzers) |
| 13 | + - [Roslynator.CodeAnalysis.Analyzers](https://www.nuget.org/packages/Roslynator.CodeAnalysis.Analyzers) |
| 14 | + - [Roslynator.Formatting.Analyzers](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers) |
| 15 | +- [Testing framework](testing-framework) that allows unit testing of analyzers, refactoring and code fixes |
| 16 | +- [.NET client libraries](ref) that extend Roslyn API |
| 17 | +- [Command line tool](#command-line-tool) |
14 | 18 |
|
15 |
| -### Donation |
16 |
| - |
17 |
| -* Although Roslynator products are free of charge, any [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BX85UA346VTN6) is welcome and supports further development. |
18 |
| -* [List of donations](Donations.md) |
| 19 | +## Documentation |
19 | 20 |
|
20 |
| -## Extensions for Visual Studio |
| 21 | +- [Configuration](https://josefpihrt.github.io/docs/roslynator/configuration) |
| 22 | +- [Guides](https://josefpihrt.github.io/docs/roslynator/guides) |
| 23 | +- [Roslynator CLI](https://josefpihrt.github.io/docs/roslynator/cli) |
| 24 | +- [Roslynator Client Libraries](https://josefpihrt.github.io/docs/roslynator/ref) |
21 | 25 |
|
22 |
| -| Extension | Comment | |
23 |
| -| --- | --- | |
24 |
| -| [Roslynator 2022](https://marketplace.visualstudio.com/items?itemName=josefpihrt.Roslynator2022) | contains analyzers, refactorings and fixes for C# compiler diagnostics. | |
25 |
| -| [Roslynator 2019](https://marketplace.visualstudio.com/items?itemName=josefpihrt.Roslynator2019) | contains analyzers, refactorings and fixes for C# compiler diagnostics. | |
| 26 | +## Contributions |
26 | 27 |
|
27 |
| -## Extensions for VS Code |
| 28 | +Contributions are welcome! If you are interested please see: |
| 29 | +- documentation for [developers](https://josefpihrt.github.io/docs/roslynator/developers) |
| 30 | +- available [issues](https://github.com/JosefPihrt/Roslynator/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Aup-for-grabs) |
28 | 31 |
|
29 |
| -| Extension | Comment | |
30 |
| -| --- | --- | |
31 |
| -| [Roslynator](https://marketplace.visualstudio.com/items?itemName=josefpihrt-vscode.roslynator) | contains analyzers, refactorings and fixes for C# compiler diagnostics. | |
| 32 | +TIP: Bugfixes or small improvements can be implemented right away. Larger task like adding new analyzer or refactoring should be discussed first. |
32 | 33 |
|
33 |
| -## Extensions for VS Code Compatible Editors |
| 34 | +## Command Line Tool |
34 | 35 |
|
35 |
| -| Extension | Comment | |
36 |
| -| --- | --- | |
37 |
| -| [Roslynator](https://open-vsx.org/extension/josefpihrt-vscode/roslynator) | contains analyzers, refactorings and fixes for C# compiler diagnostics. | |
| 36 | +Run following command to install Roslynator command line tool: |
| 37 | +```sh |
| 38 | +dotnet tool install -g roslynator.dotnet.cli |
| 39 | +``` |
38 | 40 |
|
39 |
| -## NuGet Packages |
| 41 | +See [documentation](https://josefpihrt.github.io/docs/roslynator/cli) for further information. |
40 | 42 |
|
41 |
| -| Package | Version | Comment | |
42 |
| -| --- | --- | --- | |
43 |
| -| [Roslynator.Analyzers](https://www.nuget.org/packages/Roslynator.Analyzers) | [](https://www.nuget.org/packages/Roslynator.Analyzers) | common analyzers (RCS1xxx) ([list](http://pihrt.net/Roslynator/Analyzers?Query=RCS1)) | |
44 |
| -| [Roslynator.CodeAnalysis.Analyzers](https://www.nuget.org/packages/Roslynator.CodeAnalysis.Analyzers) | [](https://www.nuget.org/packages/Roslynator.CodeAnalysis.Analyzers) | analyzers for Roslyn API (RCS9xxx) ([list](http://pihrt.net/Roslynator/Analyzers?Query=RCS9)) | |
45 |
| -| [Roslynator.Formatting.Analyzers](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers) | [](https://www.nuget.org/packages/Roslynator.Formatting.Analyzers) | formatting analyzers (RCS0xxx) ([list](http://pihrt.net/Roslynator/Analyzers?Query=RCS0)) | |
| 43 | +## Testing Framework |
46 | 44 |
|
47 |
| -*Note: All analyzers in package Roslynator.Formatting.Analyzers are disabled by default.* |
| 45 | +- Roslynator Testing Framework can be used for unit testing of analyzers, refactorings and code fixes. |
| 46 | +- Framework is distributed as NuGet [package](https://www.nuget.org/packages/Roslynator.Testing.CSharp.Xunit).  [](https://www.nuget.org/packages/Roslynator.Testing.CSharp.Xunit) |
| 47 | +- Learn how to use the framework from actual usages in Roslynator repo: |
| 48 | + - Tests of analyzers are [here](https://github.com/JosefPihrt/Roslynator/tree/main/src/Tests/Analyzers.Tests), [here](https://github.com/JosefPihrt/Roslynator/tree/main/src/Tests/CodeAnalysis.Analyzers.Tests) and [here](https://github.com/JosefPihrt/Roslynator/tree/main/src/Tests/Formatting.Analyzers.Tests) |
| 49 | + - Tests of refactorings are [here](https://github.com/JosefPihrt/Roslynator/tree/main/src/Tests/Refactorings.Tests) |
| 50 | + - Tests of fixes of compiler diagnostics are [here](https://github.com/JosefPihrt/Roslynator/tree/main/src/Tests/CodeFixes.Tests) |
48 | 51 |
|
49 |
| -## Roslynator Client Libraries |
| 52 | +## Client Libraries |
50 | 53 |
|
51 |
| -* Roslynator client libraries are meant be used for development of your own analyzers/refactorings. |
52 |
| -* It does not contain any analyzers/refactorings itself. |
53 |
| -* See [reference](docs/api/README.md). |
| 54 | +- Roslynator client libraries are meant be used for development of your own analyzers/refactorings. |
| 55 | +- It does not contain any analyzers/refactorings itself. |
| 56 | +- See [reference](https://josefpihrt.github.io/docs/roslynator/ref). |
54 | 57 |
|
55 |
| -| Package | Version | Built on top of | |
| 58 | +| Package | Version | Extends | |
56 | 59 | | --- | --- | --- |
|
57 | 60 | | [Roslynator.Core](https://www.nuget.org/packages/Roslynator.Core) | [](https://www.nuget.org/packages/Roslynator.Core) | [Microsoft.CodeAnalysis.Common](https://www.nuget.org/packages/Microsoft.CodeAnalysis.Common) |
|
58 | 61 | | [Roslynator.Workspaces.Core](https://www.nuget.org/packages/Roslynator.Workspaces.Core) | [](https://www.nuget.org/packages/Roslynator.Workspaces.Core) | [Microsoft.CodeAnalysis.Workspaces.Common](https://www.nuget.org/packages/Microsoft.CodeAnalysis.Workspaces.Common) |
|
59 | 62 | | [Roslynator.CSharp](https://www.nuget.org/packages/Roslynator.CSharp) | [](https://www.nuget.org/packages/Roslynator.CSharp) | [Microsoft.CodeAnalysis.CSharp](https://www.nuget.org/packages/Microsoft.CodeAnalysis.CSharp) |
|
60 | 63 | | [Roslynator.CSharp.Workspaces](https://www.nuget.org/packages/Roslynator.CSharp.Workspaces) | [](https://www.nuget.org/packages/Roslynator.CSharp.Workspaces) | [Microsoft.CodeAnalysis.CSharp.Workspaces](https://www.nuget.org/packages/Microsoft.CodeAnalysis.CSharp.Workspaces) |
|
61 |
| - |
62 |
| -## Roslynator Command Line Tool  [](https://www.nuget.org/packages/Roslynator.DotNet.Cli) |
63 |
| - |
64 |
| -Run following command to install Roslynator command line tool: |
65 |
| -``` |
66 |
| -dotnet tool install -g roslynator.dotnet.cli |
67 |
| -``` |
68 |
| - |
69 |
| -* [Documentation](docs/cli/README.md) |
70 |
| -* [Change log](src/CommandLine/ChangeLog.md) |
71 |
| - |
72 |
| -## Roslynator Testing Framework |
73 |
| - |
74 |
| -* Roslynator Testing Framework can be used for unit testing of analyzers, refactorings and code fixes. |
75 |
| -* Framework is distributed as NuGet [package](https://www.nuget.org/packages/Roslynator.Testing.CSharp.Xunit).  [](https://www.nuget.org/packages/Roslynator.Testing.CSharp.Xunit) |
76 |
| -* Learn how to use the framework from actual usages in Roslynator repo: |
77 |
| - * Tests of analyzers are [here](src/Tests/Analyzers.Tests), [here](src/Tests/CodeAnalysis.Analyzers.Tests) and [here](src/Tests/Formatting.Analyzers.Tests) |
78 |
| - * Tests of refactorings are [here](src/Tests/Refactorings.Tests) |
79 |
| - * Tests of fixes of compiler diagnostics are [here](src/Tests/CodeFixes.Tests) |
80 |
| - |
81 |
| -## Documentation |
82 |
| - |
83 |
| -* [How to Configure Roslynator](docs/Configuration.md) |
84 |
| -* [Analyzers vs. Refactorings](docs/AnalyzersVsRefactorings.md) |
85 |
| -* [How to Fix All Diagnostics in a Solution](docs/HowToFixAllDiagnostics.md) |
86 |
| -* [How to Generate API Documentation](docs/HowToGenerateDocumentation.md) |
87 |
| - |
88 |
| -Would you like to improve Roslynator documentation? Please see [how to update documentation](docs/HowToUpdateDocumentation.md). |
89 |
| - |
90 |
| -## Other Projects |
91 |
| - |
92 |
| -* [Snippetica](https://github.com/JosefPihrt/Snippetica) - A collection of snippets for C++, C#, HTML, JSON, Markdown, VB, XAML and XML |
93 |
| -* [DotMarkdown](https://github.com/JosefPihrt/DotMarkdown) - Markdown framework for .NET |
94 |
| -* [LINQ to Regex](https://github.com/JosefPihrt/LinqToRegex) - A library that provides language integrated access to .NET regular expressions |
95 |
| -* [Snippet Manager](https://github.com/JosefPihrt/SnippetManager) - A library that enables to work with Visual Studio snippets |
96 |
| -* [Regexator](http://pihrt.net/Regexator) - A comprehensive development environment for .NET regular expressions |
0 commit comments