dotPeek Web Help

Navigate | Highlight Usages in File
Ctrl+Shift+F7Shift+Alt+F11

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
  1. Position the caret at a symbol in the Code Viewer.
  2. On the main menu, choose Navigate | Highlight Usages in File or press Ctrl+Shift+F7Shift+Alt+F11.
  3. To step though the highlighted usages, press Ctrl+Alt+DownCtrl+Alt+PageDown or Ctrl+Alt+UpCtrl+Alt+PageUp.
  4. To remove highlighting, press Esc.

Note

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.

Navigation_and_Search__Finding_Usages__Highlighting_Usages_in_File

This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.