Structural Highlighting

Structural Highlighting supplements your code with lines that highlight block boundaries. This helps you verify that your code's indentation is correct. This feature is useful when you work with a code block that can not be fully displayed on the screen at once.

CRR_Vis_Struct

Structural Highlighting is available in all languages which CodeRush supports.

The following image shows this feature in Blazor:

CRR_Vis_Struct

You can configure the Structural Highlighting feature in the Editor | All Languages | Structural Highlighting options page. See the Structural Highlighting Settings topic for more information.

How to Enable

To enable Structural Highlighting, use one of the following ways:

  1. The Quick Setup options page.
  • Click "Options..." item in the CodeRush menu to access the "CodeRush Options" page.

    Options

  • Select the "Quick Setup" options page in the tree view and enable the "Structural Highlighting" option.

    QuickSetup

  • Press OK to apply the change and close the Quick Setup options page.

  1. Enable the corresponding option in the Editor | All Languages | Structural Highlighting options page.

    Option

  2. Click the "Show structural highlighting" button on the CodeRush Visualize toolbar

    Toolbar

  3. Enable the corresponding option in the "Structural Highlighting" wizard page.

Wizard

Click the "Setup Wizard..." item in the CodeRush menu to open the wizard.

Wizard