Back to Devexpress

Search for a Code Symbol

coderushforroslyn-115796-navigation-and-search-tools-searching-for-a-code-symbol.md

latest2.4 KB
Original Source

Search for a Code Symbol

  • May 29, 2023
  • 3 minutes to read

CodeRush provides the Jump to Symbol window that allows you to navigate to an identifier from any code place.

This feature works in C#, Visual Basic, TypeScript, and JavaScript code.

  1. Invoke the Jump to Symbol window.

  2. Type a symbol’s name or a part of it in the search field.

  3. Use the mouse or arrow keys to select an item in the search result list.

  4. Double-click the item or press Enter.

View Search Results in the References Window

  1. Invoke the Jump to Symbol window in the code editor (see the section above on how to do it).

  2. Type a symbol’s name or a part of it in the search field.

  3. Click the “Display data in a separate window” button.

  4. Select the item in the search result list. CodeRush navigates to the identifier declaration in the code editor.

Filter Search Results

Press the Ctrl key to switch to filter mode in the invoked Jump to Symbol window.

Note

Press Ctrl again to get back to the search mode.

You can filter the search result list by the following criteria:

  • Scope

  • Types

  • Members

  • Access modifier

Use the mouse or corresponding keyboard shortcuts listed in the menu to change options.

Specify a Default Filter

You can specify a default filter for the Jump to Symbol window that CodeRush uses to filter search results. Refer to How to: Search for Code Symbols of a Certain Kind for more information.

Options

You can customize the Jump to Symbol window in the Navigation | General options page.

For more information, see Navigation Tools Options.

See Also

Navigate Through Files

Navigate To

Find References