To fine-tune how potential errors, code redundancies or bad practices are displayed
On the main menu, choose
ReSharper | Options.
Code Inspection | Settings.
Make sure that
Enable code analysisis selected.
Code Inspection | Inspection Severitycategory.
Select an entry in the
Click the drop-down list to the right of the selected entry, and
choose one of four standard display options:
To modify inspection severity for a specific quick-fix from the Text Editor
- Put the caret into a code position where a red or yellow bulb displays to the left of your code.
Alt+Enterto open a drop-down list with a quick-fix for which you'd like to change inspection severity.
In the drop-down list, choose
Inspection options for [name of quick-fix]:
Inspection options for [name of quick-fix]dialog box that appears, change severity of an issue that the quick-fix is intended to fix, by selecting any of the five radio buttons: Error, Warning, Suggestion, Hint, or Do not show:
To change inspection severity for other issues, click
Open options, which opens the traditional ReSharper | Options | Code Inspection | Inspection Severitytab. Otherwise, click OKto close the Inspection options for [name of quick-fix]dialog box.