ReSharper 2016.2 Help

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:

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 Reference__Windows__Errors_in_Solution__Pause_Analysis or Continue Analysis Reference__Windows__Errors_in_Solution__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 ThemedIcon.Warning.Screen.[Gray].
  • On the Code Inspection | Settings page of ReSharper options, use the Include warnings check-box under Enable solution-wide analysis.

See Also

Last modified: 15 December 2016