Navigation commands are available:
- in ReSharper | Navigate menu
- on the context menu in the editor
- on the Navigate To context menu
You can also:
- navigate from the File Structure window
- find usages of a symbol
ReSharper helps reveal a code structure in countless numbers of code lines.
helps overview the structure of the current file.
Also you can navigate to a member declaration by double-clicking the member in the File Structure window.
Go to Declaration - place the caret at the name of a function
and navigate directly to the file where the function is declared.
If selected item has several declarations, you are prompted to choose one from the drop-down list.
Pay attention that functions declared within paired <script> tags are visible in the current file only.
Go to Usages of Symbol - very useful if you want to find out
how many usages of a function are in the whole solution.
If you place the caret on a symbol within paired <script> tag and invoke the command, ReSharper will look through the current file only.
Go to File Member - helps you quickly navigate to
a desired member within the current file.
- Place the caret at the name of a variable or function.
On the main menu, choose
ReSharper | Find | Find Usages
Alt+F7Ctrl+K,R or Shift+F12.
- If only one usage is found, ReSharper navigates to the usage directly in the editor.
- If several usages are found, the Find Results window opens:
You can also navigate to a usage from the Find Results window, select and double-click a usage.