Add support for default Roslyn analyzer to CLI
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
Description
**Product and Version Used**: Roslynator.Commandline 0.1.0
**Steps to Reproduce**:
Create an empty console project.
Add `.editorconfig` with `csharp_prefer_braces = true:error`.
Add line in the code violating this rule.
Run roslynator `fix` or `analyze`.
**Actual Behavior**:
IDE0011 (missing if braces) is not shown in the roslynator cli output.
**Expected Behavior**:
All analyzers are supported, even built-in Roslyn analyzer.
Related to https://github.com/dotnet/roslyn/issues/33629 and https://github.com/dotnet/roslyn/issues/2020
Contributor guide
Research direction
Start with the CLI's analyze and fix commands and reproduce the issue using the empty console project and .editorconfig setting described here. Confirm that the built-in Roslyn IDE0011 analyzer appears in analyze output and is handled by fix, then verify the behavior against the related Roslyn issues.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100