Skip to main content

Context Menu

  • 2 minutes to read

CodeRush Classic context menu includes all code providers, refactorings and navigation providers available for the current context.

crContextMenu

Note

By default CodeRush Classic context menu includes only the available refactorings and code providers. Use the Smart Tags Catalog options page to customize context menu contents.

You can invoke CodeRush Classic context menu in one of the following ways.

  • Smart Tag

    If there is a refactoring, code provider, or navigation provider available for the current caret position, CodeRush Classic shows a smart tag. CodeRush Classic invokes the context menu once you have placed the cursor over the smart tag.

    SmartTagUsage

  • Shortcut

    To immediately open a CodeRush Classic context menu for the current caret position, use the CTRL+` shortcut.

    ShortcutUsage

    Note

    The Smart Tags Setup options page enables you to specify CodeRush Classic behavior when only a single context menu item or no items are available for the current context.

CodeRush Classic also builds the items listed below into the Visual Studio code editor context menu. The Visual Studio context menu includes these items regardless of the current caret position.

crContextMenus1

Item Description
Refactor!… Shows the list of refactorings available for the current caret position.
Jump to… Shows the list of navigation providers available for the current caret position.
Code!… Shows the list of code providers available for the current caret position.
Spell Checker CodeRush Classic shows this menu item only when the context menu is called for a misspelled word underlined by Spell Checker. Place the mouse pointer over this item to open the Spell Checker sub menu.

You just need to choose the desired item from the appeared list to invoke it.

Note

Customize the list of items included to the Visual Studio context menu via the Smart Tags Catalog options page.