Tab to Next Reference

  • 2 min to read

Tab to Next Reference highlights all references and enables you to navigate among them with ease. Place the caret inside an identifier, type a reference or namespace, and press Tab. As a result, all references on screen will be underlined, and the next reference will be selected.

TabToNextRef

To get back to the previous reference, press Shift+Tab.

 

In MVC projects, Tab to Next Reference enables you to navigate among action and controller references, including references in string arguments passed to the ActionLink, Action, and RenderAction methods.

 

TabToNextRefMvc

 

CodeRush Classic also supports Tab to Next Reference navigation within Razor code blocks (in MVC 3 projects).

 

TabToNextReferenceRazor

 

Tab to Next Reference is also available in JavaScript. You can easily navigate through references in .js files...

ttnrJsFiles

 

in <script> sections within .html files...

ttnrScriptTag

 

and within tags...

ttnrTags

 

Once references are found, you can view all of them in the References tool window.

Note

The Tab to Next Reference feature relies upon the DXCore's background parse, and may not be available for a few seconds immediately following the opening of a solution. If you press Tab inside an identifier before the background parse is complete and see a whitespace inserted in the middle of your identifier (instead of the expected Next Reference behavior), try this:

  • Apply Undo to remove the whitespace.
  • Wait a few seconds.
  • Try again.

Large projects with thousands of files can take up to a minute to complete the background parse on a slow machine. We expect most projects to be background-parsed in only a few seconds, so you should rarely see this. We expect future releases to improve on this user experience. If you find this to be a recurring issue, please let us know at support@devexpress.com.

You can customize shortcuts within the Shortcuts options page.

Note

This product is designed for outdated versions of Visual Studio. Although Visual Studio 2015 is supported, consider using the CodeRush extension with Visual Studio 2015 or higher.