Configuring Solution-Wide Analysis
The main calculations of the solution-wide analysis are performed when you first enable this option. Depending on the size of your solution, these calculations 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 files and regions containing generated code to simplify analysis of such code.
- Pause the analysis when you do not need it and resume it only when you need it again.
Pausing/resuming solution-wide analysis
If you turn the solution-wide analysis off 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.
To pause and resume solution-wide analysis
- On the toolbar of the Errors/Warnings in Solution window, 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.
Including/excluding warnings in solution-wide analysis
By default, solution-wide analysis monitors errors and warnings in your solution: as long as there are errors in the solution, only errors will be displayed; unresolved warnings will appear when the last error is fixed. If you only want to monitor errors, you can disable warnings; in this case, the status bar indicator will turn green as soon as the last error is fixed.
To include/exclude warnings in solution-wide analysis
- On the toolbar of the Errors/Warnings in Solution window, click Include/Exclude Warnings .
- On the Include warnings check-box under Enable solution-wide analysis. page of ReSharper options, use the