Resharper detects errors and problems in C#, XAML, XML, and ASP.NET code. ReSharper inspects code continuously, from opening your solution to closing it and all the way as you type. That means you don't have to compile your code just to find out what compilation errors it contains.
You can see the exact location of errors and problems in a file using
ReSharper code analysis is enabled by default.
- On the main menu, choose ReSharper | Options.
- Choose Code Inspection | Settings in the left pane of the Options dialog box.
- Use the Enable code analysis check box to turn code analysis on
or off. You can also configure code analysis using other controls in the Settings tab. For details, see
Code Inspection Settings.
- Click OK.
In this section, you will learn how to:
Distinguish between different types of code highlighting
Find out what exactly is wrong with a highlighted block of code
Inspect state of your code using Marker Bar and Status Indicator
Extend code analysis to the entire solution
Get an overview or all code issuesin your whole solution or in a narrower scope.
Navigate between highlighted sections of code
Eliminate errors using ReSharper's powerful quick-fixes(and you can also glance through various practical examples of quick-fixes)
Configure code inspection severity
- Benefit from
external annotations- specifically, for value analysisand custom string formatting methods