The main calculations of the solution-wide analysis are performed when you enable this option. Depending on the size of your solution, they may take from several seconds up to dozens of minutes. You will still be able to keep working, but some performance degradation is possible.
Once these global time-consuming calculations are finished, only necessary incremental analysis will be performed according to modifications.
When enabled, solution-wide analysis might also extensively use memory. If you notice that your system resources suffer too much, you can do one of the following:
- Configure the list of files, file masks, and folders to skip when performing code analysis.
- Edit the list of auto-generated code files and regions to avoid analysis of such code.
- Pause the analysis when you do not need it and resume it only when you need it again.
- Disable solution-wide analysis.
If you turn off the solution-wide analysis and then decide to turn it on again, ReSharper will have to repeat some initial calculations, which may be time-consuming. To avoid this, you can pause and resume the solution-wide analysis instead.
- On the toolbar of the Errors in Solution dialog box, click Pause Analysis or Continue Analysis .
- Right-click on the circle indicator in the right corner of the status bar and then choose Pause Analysis or Continue Analysis in the context menu.
The progress of initial calculations of the solution-wide analysis can be displayed in two ways:
- as a progress bar next to the circle indicator in the right corner of the status bar
- as a round clock-like progress within this circle indicator.
- Right-click the circle indicator in the right corner of the status bar and choose Customize.
- In the Customize Solution-Wide Analysis Indicator dialog box that appears, click Bar or Round to choose the corresponding appearance of the initial progress. It will apply the next time you reanalyze errors in your solution,
- You can clear the Display errors count check box to hide the small area in the status bar where the number of error-containing solution files is displayed.