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.
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.
CodeRush Classic also supports Tab to Next Reference navigation within Razor code blocks (in MVC 3 projects).
in <script> sections within .html files...
and within tags...
Once references are found, you can view all of them in the References tool window.
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 email@example.com.
You can customize shortcuts within the Shortcuts options page.