Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prodot/ReCommended-Extension
Code analysis improvements and context actions
https://github.com/prodot/ReCommended-Extension
code-analysis context-actions csharp resharper resharper-annotations
Last synced: 3 months ago
JSON representation
Code analysis improvements and context actions
- Host: GitHub
- URL: https://github.com/prodot/ReCommended-Extension
- Owner: prodot
- License: apache-2.0
- Created: 2015-12-22T11:26:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-25T18:55:12.000Z (5 months ago)
- Last Synced: 2024-06-25T20:42:45.648Z (5 months ago)
- Topics: code-analysis, context-actions, csharp, resharper, resharper-annotations
- Language: C#
- Homepage:
- Size: 42.3 MB
- Stars: 59
- Watchers: 9
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ReCommended Extension for ReSharper [![ReSharper Extension](https://img.shields.io/resharper/v/Prodot.ReCommendedExtension.svg?label=ReSharper%20Extension)](https://plugins.jetbrains.com/plugin/11646-recommended-extension-for-resharper)
The ReCommended Extension for ReSharper augments the sophisticated code analysis engine by providing more rules not (yet) available from JetBrains. Among the most interesting features are
- advanced disposable object analysis built around the `[MustDisposeResource]` and `[HandlesResourceDisposal]` annotations,
- detection of more cases when collection expressions can be used,
- detection of redundant assertions,
- inappropriate use of `async void`,
- exception analyzer (exceptions that should never be thrown or caught, exceptions thrown in unexpected locations),
- array initializers (empty arrays or arrays initialized with default values),
- `await` expression analyzer (add `.ConfigureAwait(false)` for last expressions),
- `ValueTask`/`ValueTask` analyzer (possible multiple consumption),
- incorrect use of `ArgumentException` constructor parameters,
- locking on weak identity objects,
- using `yield return` inside the `lock` blocks,
- incorrect use of ReSharper annotations,
- and lots more.The most highlightings also have quick fixes for obvious solutions.
Another feature of the extension are new context actions that simply save time for accomplishing everyday tasks, e.g. for adding ReSharper annotations, adjusting XML doc comments, setting language injections, etc.
[show more...](https://github.com/prodot/ReCommended-Extension/wiki)
# Some Screenshots
![](Images/MulitpleConsumption.png)
![](Images/RedundantAssertion.png)
# Installation
To install the ReCommended Extension use the ReSharper's Extension Manager.
# Limitations
- The extension works only with C# and XAML files.
# Bugs? Questions? Suggestions?
Please feel free to [report them](https://github.com/prodot/ReCommended-Extension/issues).