Go to Usages of Symbol
This command allows you quickly navigate to a specific usage of a symbol from its declaration or any other usage. You can invoke this command from the editor, from the File Structure window and other tool windows. The opposite navigation is available with the Go to Declaration command.
The list of usages that you get with this command is the same as that of Find Usages. But this command is more convenient for symbols with a limited number of usages, in cases when you are looking for a specific usage and want to get to this usage without opening the Find Results window.
You can configure ReSharper behavior for the cases when a single usage is discovered. By default, the usage is displayed in a pop-up. If you want ReSharper to jump tho the single usage in these cases, select the corresponding option (Go to Usage: if there is only one result, navigate without displaying the list) on the page of ReSharper options.
To navigate to a usage of a symbol
Place the caret at a symbol in the editor or select the symbol in a tool window.
- If the symbol has only one usage, ReSharper will navigate to it directly.
Otherwise, found usages and their contexts appear in a popup. Do one of the following:
Click the desired item to open it in the editor.
Select the desired item by pressing Up and Down and then press Enter to open it in the editor.
Start typing to filter results. Note that you can use CamelHumps here. If necessary, press Esc once to clear the filtering.
To show the matched items on the type dependency diagram, press Alt+Num+ or click Show on Diagram .
This feature is supported in the following languages and technologies:
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.
- Finding Usages
- Finding Usages of a Symbol
- Finding Usages of Related Entities
- Search Everywhere/Go to Type
- Go To File
- Go to File Member
- Go to Symbol
- Go to Base Symbols
- Go to Derived Symbols
- Go to Declaration
- Go to Implementation
- Go to Type of Symbol
- Navigate To
- Navigation by Name
- Navigation from Symbols
- Navigate To
- Navigating Current Context
- Navigating Recent Locations and Changes
- Structural Search and Replace