JetBrains Rider 2019.2 Help

Error Stripe and Status Indicator

Error stripe and Status indicator let observe the results of the design-time code inspection in the current file and navigate between code issues Also, the error stripe displays special marks for other JetBrains Rider items, for example when you highlight usages in the current file.

The error stripe is not shown and the status indicator shows the pause icon ThemedIcon ErrorStripeOff Screen Gray if:

Error stripe

Error stripe is a sidebar integrated into the editor scroll bar. The Status Bar can represent the following items as individual markers:

Markers have different colors representing kinds of corresponding items. Colors may vary between various color schemes but you can configure error stripe colors for each item kind individually.

The position of a marker on the bar indicates the relative position of the corresponding item in the file. You can get popup 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.

Error stripe

If the code corresponding to the marker is outside the visible editor area, and Show code lens on scrollbar hover is enabled on the Editor | General | Appearance page of JetBrains Rider settings Ctrl+Alt+S, JetBrains Rider will display this code fragment in a popup when you hover the mouse over the marker:

JetBrains Rider: Viewing code outside of the editor frame

To configure the appearance of the error stripe

  1. Press Ctrl+Alt+S, or alternatively from the main menu, choose File | Settings on Windows and Linux or JetBrains Rider | Preferences on macOS, then choose Editor | Color Scheme | General on the left.

  2. Choose an item in the list and use the Error stripe mark checkbox to show or hide it on the error stripe; use the color picker next to it to choose the color to represent the item on the error stripe.

    JetBrains Rider: Configuring marker bar (error stripe)

  3. If you are not sure how to find the item marked on the error stripe, you can locate its settings in the following way:

    1. Click the error stripe marker so that your caret gets to the related item in the editor.

    2. Press Ctrl+Shift+A, start typing jump to colors and fonts and pick this command in the list.

    3. You will see all appearance properties that affect the item and its presentation on the error stripe. In the example below, the yellow error stripe mark is displayed for the Warning.

      JetBrains Rider: editing colors and fonts

    4. When you pick this property, you will get directly to its settings.

Status indicator

Status indicator — a small icon at the top of the error stripe — 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:

ThemedIcon ErrorStripeError Screen Gray

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.

ThemedIcon ErrorStripeWarning Screen Gray

A yellow marker means that there are some warnings, but no errors that would prevent the project from compiling.

ThemedIcon ErrorStripeOK Screen Gray

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).

ThemedIcon ErrorStripeOff Screen Gray

The file is excluded from code inspection.

Last modified: 18 October 2019