ReSharper 2017.3 Help

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 ReSharper items, e.g. when you highlight usages in the file.

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

Marker bar

Marker Bar (also known as the 'Error Stripe') is a sidebar integrated into the editor scroll bar or displayed on the right of the 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 marker bar 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 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.

Marker bar

To configure the appearance of the marker bar

  1. Open the Environment | Editor | Editor Appearance page of ReSharper options.
  2. Use the radio buttons under Marker bar to choose whether to display the marker bar and if it should be integrated into the scroll bar (starting from Visual Studio 2013).
  3. If the marker bar is integrated into the scroll bar, you can also set the width of the markers.

To configure colors of the markers

  1. Choose Tools | Options in the menu and then go to Environment | Fonts and Colors page.
  2. In the Display items list, find items that start with ReSharper and end with ... Marker on Error Stripe, e.g.: ReSharper Code Analysis Error Marker on Error Stripe.
  3. Use the Item foreground selector to pick a color for the selected marker.

Status Indicator

Status Indicator — a small icon at the top of the Marker Bar — shows the status of the code inspection in the file or indicates the usage highlighting mode . When you hover the mouse cursor over it, the indicator shows the total number of errors and warnings in the current file, or (if you are in the usage highlighting mode) the number of usages in the file.

You can click on the status indicator to jump between code issues or usages in the file.

Status indicator

Context menu of the status indicator

You can also right-click the status indicator to use the following commands and options from its context menu:

Go to Next/Previous Error/Warning/Suggestion These commands appear if there are code issues in the current file. They allow you to navigate between issues of the highest severity level. So if there are errors, they only navigate between errors, as soon as all errors are fixed they navigate between warnings, and so on.
Go to Next/Previous Usage These commands appear when you highlight usages in file and allow you to jump between found usages.
Enhanced syntax coloring This option lets you enable or disable ReSharper syntax highlighting scheme.
If it is selected, language identifiers are highlighted with colors as defined in Visual Studio options: Tools | Options | Environment | Fonts and Colors.
The list of syntax identifiers provided by ReSharper is available in the Display items list, each name starting with ReSharper prefix.
The option is synchronized with the Color identifiers option on the Code Inspection | Settings page of ReSharper options.
Show import/include popup If this option is selected, a pop-up that suggests importing namespaces shows up if there is one or more non-imported types are detected in the file:
Namespace import quick-fix
If it is not selected, the corresponding action appears in the action list. See Importing Missing Namespaces for details.
The option is synchronized with the Show the 'Import namespace' action using popup option on the Code Inspection | Settings page of ReSharper options.
Enable Clang-Tidy Analysis
Lets you toggle the integrated Clang-Tidy analysis for the current document.
Suppress VS bulb This option is not available in Visual Studio versions older than 2015.
If it is selected, Visual Studio's light bulbs are not shown separately. If necessary, Visual Studio's quick actions are integrated into ReSharper's action list. For each Visual Studio's quick action, ReSharper does the following:
  • If there is a similar ReSharper's quick-fix, the Visual Studio's quick action is not displayed.
  • If there are no similar ReSharper's quick-fixes, the Visual Studio's action becomes available in the ReSharper's action list. You can recognize Visual Studio's quick actions by the special icon ThemedIcon YellowBulbVS Screen Gray .

The option is synchronized with the Do not show Visual Studio bulb... option on the Code Inspection | Settings page of ReSharper options.
Suppress VS squiggles This option is not available in Visual Studio versions older than 2015.
If it is selected, Visual Studio's error highlighting in the editor is not displayed, only ReSharper's highlighting appears.
The option is synchronized with the Suppress Visual Studio squiggles... option on the Code Inspection | Settings page of ReSharper options.
Pause/Resume analysis
This option lets you exclude the current file from code inspection or include it if it was excluded earlier.

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.
ThemedIcon ErrorStripeFindNext Screen Gray When you highlight usages in file, marker shows blue marks corresponding to the usages and the status indicator displays the corresponding icon until you press Esc. In this mode, you can click on the status indicator to jump between found usages.
Last modified: 15 March 2018

See Also