Resharper CLI Cleanup tool

Is there a way to filter the resharper cleanup by issue type? I was able to run the Inspect Code CLI tool, filtering it by Category, and now I want to run the cleanup tool to try to fix only one group of issues, that matches the ID, AccessToDisposedClosure in the example, is that possible?

 

 

 <IssueTypes>

    <IssueType Id="AccessToDisposedClosure" Category="Potential Code Quality Issues" CategoryId="CodeSmell" Description="Access to disposed captured variable" Severity="WARNING" WikiUrl="https://www.jetbrains.com/resharperplatform/help?Keyword=AccessToDisposedClosure" />

  </IssueTypes>

  <Issues>

    <Project Name="CN.Infrastructure">

    <Issue TypeId="AccessToDisposedClosure" File="Features\Captcha\CaptchaService.cs" Offset="3502-3507" Line="77" Message="Captured variable is disposed in the outer scope" />

    <Issue TypeId="AccessToDisposedClosure" File="Features\Captcha\ImageGenerator.cs" Offset="3149-3166" Line="66" Message="Captured variable is disposed in the outer scope" />

    <Issue TypeId="AccessToDisposedClosure" File="Features\Captcha\ImageGenerator.cs" Offset="3548-3560" Line="71" Message="Captured variable is disposed in the outer scope" />

    <Issue TypeId="AccessToDisposedClosure" File="Features\Captcha\ImageGenerator.cs" Offset="3810-3815" Line="74" Message="Captured variable is disposed in the outer scope" />

    <Issue TypeId="AccessToDisposedClosure" File="Features\Captcha\ImageGenerator.cs" Offset="5457-5471" Line="102" Message="Captured variable is disposed in the outer scope" />

    <Issue TypeId="AccessToDisposedClosure" File="Features\Notifications\NotificationService.cs" Offset="24947-24956" Line="489" Message="Captured variable is disposed in the outer scope" />

    </Project>

  </Issues>
0
1 comment

Hello Matias Luna

No, there is no such option.

0

Please sign in to leave a comment.