JetBrains Rider 2017.2 Help

Ignoring Errors in solution

At some stage of your solution development, you may have too many errors known to you. JetBrains Rider allows you to flexibly ignore some errors or error-containing files and not include them into solution-wide analysis results.

Such items will be hidden from the error list in the Errors in Solution window and they will not affect the state of the status bar indicator. When necessary, you can stop ignoring these items to display them.

To allow solution-wide analysis ignore specific errors

  1. With solution-wide analysis enabled, choose View | Tool Windows | Errors in Solution in the main menu.
  2. In the Errors in Solution window, select a discovered error/warning or the containing file to ignore all issues in it.
  3. Click Ignore Error/Warning(s) ThemedIcon IgnoreErrors Screen Gray on the toolbar. If you have selected a file, JetBrains Rider will ignore all issues that it contains, and removes its entry from the list.
    If you have selected a single error/warning, JetBrains Rider only ignores this specific item and removes it from the list.
  4. To view the ignored errors, click Show Ignored errors ThemedIcon ShowIgnoredErrors Screen Gray on the toolbar - you will see all errors/warnings in the solution, the ignored items are shown as crossed out. Even if you choose to display ignored items in the list, they will not affect the status bar indicator.

To stop ignoring specific errors/warnings in solution

  1. With solution-wide analysis enabled, choose View | Tool Windows | Errors in Solution in the main menu.
  2. On the toolbar of the Errors in Solution window, click Show Ignored errors ThemedIcon ShowIgnoredErrors Screen Gray .
  3. Select an ignored item or file. Such items are shown as crossed out.
  4. Click Stop Ignoring errors(s) ThemedIcon UnignoreErrors Screen Gray to stop ignoring the selected item.
Last modified: 17 November 2017

See Also