Navigate | Highlight Usages in File
Instead of browsing/navigating through the search results in the Find Results window, you can simply highlight usages in your code and step through discovered occurrences. Note that read and write accesses are highlighted in different colors.
- Position the caret at a symbol in the Code Viewer.
- On the main menu, choose Navigate | Highlight Usages in File or press Ctrl+Shift+F7Shift+Alt+F11.
- To step though the highlighted usages, press Ctrl+Alt+DownCtrl+Alt+PageDown or Ctrl+Alt+UpCtrl+Alt+PageUp.
- To remove highlighting, press Esc.
You can also highlight usages of namespace symbols and expressions (see ReSharper Horizons: Highlighting Usages of What? for details).
In the following figure, usages of the local variable i are highlighted.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.