Enabling Solution-Wide Analysis
Solution-wide analysis is disabled by default and should be explicitly turned on for every new solution you open.
To toggle solution-wide analysis
- In the ReSharper | Options | Code Inspection | Settings, make sure that the Enable code analysis check-box is selected, and click Analyze errors in whole solution.
- If you turn on solution-wide analysis, the Solution-Wide Analysis pop-up warning displays, click OK to continue.
- Click Save to apply the modifications and let ReSharper choose where to save them, or save the modifications to a specific settings layer using the Save To drop-down list. For more information, see Managing and Sharing ReSharper Settings.
Alternatively, you can right-click the circle indicator in the right corner of the status bar and choose Analyze errors in solution in the context menu. If the solution-wide analysis is off, just double-click the gray circle.
After you have switched on the solution-wide analysis, several changes are made:
The circle indicator in the right corner of the status bar displays the progress of solution-wide analysis.
After it is complete, the indicator turns either
(if no solution-wide errors were found) or
(if errors were discovered):
- A small area to the left of the circle indicator is allocated to show the number of solution files that contain errors, if any. You can click in this area to go to next error in the solution.
- Solution-wide code inspections for non-private members become available both in the design-time code inspection and when you inspect code in a specific scope.
- Names of the navigation commands in the menu are changed. Specifically, Next Error changes to Next Error in Solution and Previous Error becomes Previous Error in Solution.