CodeRush provides Tab to Next Reference and References window features which help you find references to a selected type or identifier.
Tab to Next Reference allows you to jump between references to a selected identifier or type.
Place the caret in an identifier or type and press Tab.
CodeRush underlines all references and moves the caret to the next one.
Press Tab again, if the next reference is not the one you are looking for. You can press Tab multiple times until you reach the desired reference.
When you reach the last reference, press Tab to navigate to the first instance.
Press Shift+Tab to navigate to the previous reference.
Press Esc to navigate back to the start position and remove underlines from references.
Tab to Next Reference searches for references in the entire solution. If CodeRush finds the next reference in the closed file, it opens this file and places the caret to the found reference.
The References window shows references found in the solution and allows you to navigate through results.
Place the caret in an identifier or type.
Open the References window.
Press Shift + F12 or choose CodeRush | Navigate | Find All References menu item.
The References window shows references to a selected identifier or type.
The References window supports the following operations.
Press F8 to navigate to the next item.
Press Shift + F8 to navigate to the previous item.
The References window shows the surrounding code for a selected item in the preview and code editor.
CodeRush can group references by any combination of the following entities:
The image below shows Project, Directory, and Type nodes in the References window.
CodeRush allows you to filter items by the following operation types:
The image below shows the selected Write item in the toolbar's drop down box to filter items by writes.
Enter text in the search box to remove items that do not contain that text within their entry.
The image below shows items filtered by the word "add".
The References window supports sessions that allow you to switch between the search results when CodeRush performs multiple searches.
Place the caret in an identifier and click the New Search button to create a new session.
CodeRush creates a new tab filled with identifier references and keeps the previous search results untouched in a separate tab.
CodeRush can overwrite the search results in the current tab (session).
Place the caret in an identifier and click the Refresh button.
CodeRush refreshes the active session when you reopen the References window.