ReSharper Web Help

Instead of browsing 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. Place the caret at a symbol in the editor.
  2. On the main menu, choose ReSharper | Find | Highlight Usages in File or press Ctrl+Shift+F7Shift+Alt+F11.
  3. To step though the highlighted usages, press Ctrl+Alt+UpCtrl+Alt+PageUp or Ctrl+Alt+DownCtrl+Alt+PageDown.
  4. To remove highlighting, press Esc.

Consider the example below, usages of the specificContext variable are highlighted.

Navigation_and_Search__Finding_Usages__Highlighting_Usages_in_File


This feature is supported in the following languages/technologies:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

Tip

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.