Highlighting Usages in File
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.
To highlight usages of a symbol in code
- Position the caret at a symbol in the Code Viewer.
- On the main menu, choose Navigate | Highlight Usages in File or press Ctrl+Shift+F7.
- To step though the highlighted usages, press Ctrl+Alt+Down or Ctrl+Alt+Up.
- To remove highlighting, press Esc.
In the following figure, usages of the local variable
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.