ReSharper 2016.1 Help

Finding Out What is Wrong with Your Code

As a result of the design-time code inspection, ReSharper highlights code issues right in the editor in different ways depending on their severity levels:

  • Errors are highlighted with red:
    • Unresolved symbols are displayed in red:
    • Statements or parts of them are highlighted with a red curly underline:
  • Warnings are greyed out or highlighted with blue:
    • Redundant symbols are displayed with grayed text:
    • Other warnings are highlighted with a blue curly underline:
  • Suggestions are highlighted with a green curly underline:
  • Hints are highlighted by adding a dashed green underline to the initial two letters of the corresponding symbol:

Besides, you can view short descriptions of the problems. There are several ways to do so:

  • Set the mouse pointer over any highlighted code issue to get a tooltip with the corresponding message:
  • Set the mouse pointer in the marker bar over a colored marker that corresponds to a specific issue, and check the details of the issue in the tooltip:
  • Set the caret at a highlighted issue and the issue message will appear in the status bar:

As an alternative to opening files and exploring code issues there, you can inspect issues in a specific scope - project, project folder, or the whole solution.

See Also

Last modified: 19 August 2016