[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Collapse]CodeRush
  System Requirements
  Improve Performance
 [Expand]Features by Language
 [Expand]Getting Started
 [Expand]How To
 [Expand]Coding Assistance
 [Collapse]Navigation and Search Tools
   Code Places
   Search for a Code Symbol
   Navigate Through Files
  [Expand]Navigate To
   Navigate and Search in Compiled Code
   Navigate to Symbol Declaration
   Navigate to XAML Element
   Structural Navigation
   Find References
   Markers and Bookmarks
 [Expand]Static Code Analysis
 [Expand]Visualization Tools
 [Expand]Code Style Assistance
  Building Assistance
  Debugging Assistance
 [Expand]Refactoring Assistance
 [Expand]Unit Testing Assistance
 [Expand]Decompiling Tools
 [Expand]Configuration Options
 [Expand]Extensibility
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Search for a Code Symbol

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.

Expanded How to Search

  • Invoke the Jump to Symbol window.

    Use one of the following ways:

    1) The Ctrl + Shift + Q shortcut in the code editor.

    2) The CodeRush | Navigate | Jump to Symbol... menu item.

    3) The NumPad Plus Enter shortcut in the code editor.

    To enable this shortcut: choose CodeRush | Setup Wizard... menu item to invoke the CodeRush Setup wizard, and enable the Add Numeric Keypad Bindings option on the Numeric Keypad Bindings page.

  • Type a symbol's name or a part of it in the search field.

    CodeRush filters the search result list dynamically as you type in the Jump to Symbol window.

    CodeRush can search for a symbol using two or more parts of a symbol's name. Type, for example, "CoSe" in the search field. CodeRush splits the search string and applies heuristic matching. The search is a case-insensitive, so there is no difference between "CoSe" and "cose".

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

  • Double-click the item or press Enter.

    CodeRush closes the Jump to Symbol window and moves the caret to the identifier declaration.

Expanded View Search Results in the References Window

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

  • Type a symbol's name or a part of it in the search field.

  • Click the "Display data in a separate window" button.

    CodeRush closes the Jump to Symbol window and displays the search results in the References window.

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

    Note

    When the References window is opened, press F8 to jump to the next item and press Shift + F8 to jump to the previous item.

Expanded 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

    Possible values: solution, project, namespace, and file.

  • Types

    Possible values: class, struct, interface, enumeration, and delegate.

  • Members

    Possible values: methods, properties, events, fields, and variables.

  • Access modifier

    Possible values: private, public, protected, internal/friend, and protected internal/friend.

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

Expanded 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 Specify a Default Filter for the Jump to Symbol Window for more information.

Expanded Options

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

For more information, see Navigation Tools Options.

Expanded See Also

Is this topic helpful?​​​​​​​