dotPeek Web Help

Highlighting Usages in File

Navigate | Highlight Usages in File
Ctrl+Shift+F7

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+F7.
  3. To step though the highlighted usages, press Ctrl+Alt+Down or Ctrl+Alt+Up.
  4. To remove highlighting, press Esc.

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.

See Also

Last modified: 5 December 2014
comments powered by Disqus