The ability to review errors in a file at a glance is provided by ReSharper Marker Bar and Status Indicator.
Marker Bar is a colored sidebar that ReSharper
adds to the right-hand side of the editor window. It represents all warnings, errors,
and suggestions displayed in your code as individual markers, as well as to-do items (notes, bugs, and
errors). Warning markers
are orange, error markers are red, suggestion markers and green, and to-do markers are cyan. The
position of a marker on the
bar indicates the relative position of the corresponding code inspection item in the file. You can get
pop-up tips about errors
and warnings in your code by placing the mouse pointer over corresponding markers, and you can navigate
directly to relevant
lines of code by clicking on them.
Status Indicator, a small colored box at the top of the Marker Bar, shows the overall status of the current file. It changes color if the file contains errors or warnings. When you hover over it, the indicator shows the total number of errors and warnings in the current file.
Essentially, Status Indicator works like traffic lights:
|Whenever you see a red mark, it means that your file contains errors that would prevent it from compiling.|
|A yellow mark means that there are some warnings, but no errors that would prevent the file from compiling.|
|A green mark means that your code doesn't contain errors or warnings and it will compile.|
Placing the mouse pointer over the Status Indicator retrieves overview of code analysis as a tooltip: