[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)

Navigate to Symbol Declaration

CodeRush can navigate to an identifier declaration from any reference in C#, Visual Basic, TypeScript, JavaScript, and XAML files.

Expanded How to Navigate

  • Place the caret in an identifier.

  • Press the Ctrl+Alt+N shortcut to invoke the Jump To window.

  • Choose the Declaration item.

CodeRush moves the caret to the symbol declaration.

You can run the Navigate to Declaration command with the F12 keyboard shortcut. See the section below to learn how to configure this shortcut.

Note

You can also use the F12 shortcut to open a resource dictionary source or image source in XAML code.

Expanded Configure a Shortcut

  • Select CodeRush\Shortcuts... from the Visual Studio menu to open the Shortcuts options page.

  • Use the search text box on the Shortcuts page to find the F12 shortcut that executes the Jump To Declaration command.

  • Select this entry and enable the F12 shortcut in it.

  • Click the OK button to close the options dialog and save the changes.
Note

You can change the default shortcut for the Jump To Declaration command. See the Adding a Shortcut section of the Shortcuts topic.

  • Press F12 to run the Jump to Declaration command.

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