ReSharper 2021.2 Help

Find Results window

This window is used to display various search results (for example, usages of a symbol, usages of external symbols, exposing APIs of a symbol, and more) It displays results of the latest search as well as results of previous searches in different tabs. The results of each new search command are displayed in a separate tab except for the same search/navigation command.

ReSharper: Find results window

You can quickly open documents containing specific search results by double-clicking on these results. If you want the files to be opened in the Visual Studio's Preview tab, you can tick the corresponding checkbox on the Environment | Search & Navigation page of ReSharper options (Alt+R, O).

Window tabs

When search results open in the window, they are displayed in new tabs, which show up on the left. The previously open tabs move to the right if the width of the window allows, otherwise they unload themselves saving memory - but you can always restore them by clicking the arrow that appears to the right of the tabs and clicking the required tab:

Tool window tabs

To prevent a tab from unloading, click the pin icon Themed icon pin screen gray next to the tab title.

Toolbar Controls

Depending on the type of search results, the set of toolbar controls may vary.

Control

Name

Description

Themed icon refresh screen gray

Refresh

Updates window content to reflect any changes made in the code or externally.

Themed icon expand all screen gray Themed icon collapse all screen gray

Expand All/ Collapse All

Expands/collapses all nodes in the current tab.

Themed icon up screen gray Themed icon down screen gray

Previous/ Next


Shift+F8/ F8

Navigate to the previous/next item and scrolls through the source code accordingly.

Themed icon preview toggle screen gray

Show Preview Ctrl+P

Hides or shows the pane with a preview of the selected item in the position specified using the list (at the bottom or in the right part of the window).

Themed icon export screen gray

Export

Click this button to export the data currently displayed in the window in text format, or use the drop-down selector to export the data in XML or HTML format. The Export Data dialog that appears, will help you to save the data to a file or copy it to the clipboard.

Themed icon merge screen gray

Merge Occurrences on the Same Line

When this option is selected, occurrences on the same line are shown as a single item.

Themed icon usage read screen gray

Show Only Read Usages

When this option is selected, only read usages are displayed. Available for usages of fields, properties and local variables.

Themed icon usage write screen gray

Show Only Write Usages

When this option is selected, only write usages are displayed. Available for usages of fields, properties, and local variables.

Themed icon filter screen gray

Filter Usages

With this list, you can select specific kinds of usages to display - for example, declaration, invocation, parameter, method return, and so on. Click Show All Usages to enable all kinds of usages or Clear Filters to disable all kinds of usages thus hiding all usages in the current tab.

Themed icon type layout alt screen gray

Show on Diagram

Click this button to display all the types shown in the window in the type dependencies diagram view.

Themed icon kind screen gray

Toggle grouping by kind

Use this button to group search results by kind of usage - that is, how exactly the target item is used at different places — for example, declaration, invocation, parameter, method return, and so on. You can further refine grouping inside 'kind' groups using the Group by selector.

You can also use the Filter Usages Themed icon filter screen gray selector to show/hide usages of specific kinds.

Group by

Allows grouping items in the window by different categories.

Last modified: 30 September 2021