Marker Bar and Status Indicator
Marker Bar and Status Indicator enable you to observe results of the design-time code inspection in the current file and navigate between code issues Also, the marker bar displays special marks for other Rider items, e.g. when you highlight usages in the file.
The marker bar is not shown and the status indicator shows the pause icon if:
Markers have different colors representing kinds of corresponding items.
The position of a marker on the bar indicates the relative position of the corresponding item in the file. You can get pop-up tips for each item by placing the mouse pointer over markers, and you can navigate directly to relevant lines of code by clicking on them.
If the code corresponding to the marker is outside the visible editor area, and the 'Lens' Mode is enabled, Rider will display this code fragment in a pop-up when you hover the mouse over the marker:
Status Indicator — a small icon at the top of the Marker Bar — shows the status of the code inspection in the file. When you hover the mouse cursor over it, the indicator shows the total number of errors and warnings in the current file.
Meanings of status indicator icons
Status Indicator can have different icons with the following meanings:
|Whenever you see a red marker, it means that the file contains errors that would either prevent the project from compiling or lead to exceptions in runtime, unless Treat warnings as errors is enabled in project properties.|
|A yellow marker means that there are some warnings, but no errors that would prevent the project from compiling.|
|A green marker means that your code doesn't contain errors or warnings, but there still can be code issues with minor severity levels (Suggestion or Hint).|
|The file is excluded from code inspection.|