ReSharper 2020.3 Help

Analyze Search Results

ReSharper | Windows | Find Results

If necessary, you can change the default behavior so that the single found usage is also displayed in the Find Results window. To do so, clear the Go to Usage: if there is only one result.... checkbox in the Environment | Search & Navigation page of ReSharper options.

Filter search results

To filter search results by name, just start typing the part of the name in the window.

Search results of most navigation and search commands can be further filtered by the kind of occurrence.

  • To show only read or write usages, click ThemedIcon UsageRead Screen Gray png or ThemedIcon UsageWrite Screen Gray png on the toolbar.

  • Click Filter Usages ThemedIcon Filter Screen Gray png and choose which kinds of occurrences should be displayed.

  • To clear the filtering, click Filter Usages ThemedIcon Filter Screen Gray png and choose Show all usages.

  • To hide some occurrences, select one or more items or grouping nodes, and press Delete or right-click and choose Ignore. Selected occurrences will be hidden from the current results view. You can use the Show Ignored Usages ThemedIcon IgnoreErrors Screen Gray png button on the toolbar to show or hide ignored items, which are displayed in grey. When ignored items are shown, you can right-click them and choose Undo Ignore to stop ignoring them.

Group search results

By default, all results are shown as separate items. Sometimes it can be convenient to display all results found in the same line as a single item. To do so, click Merge Occurrences on the Same Line ThemedIcon Merge Screen Gray png on the toolbar.

Search results can be displayed in various hierarchical orders. The default order depends on the initial search but you can always change it with the Group by selector on the toolbar.

You can also 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. To do so, click Toggle grouping by kind ThemedIcon Kind Screen Gray png on the toolbar.

If you want to display results as a plain list, select None in the Group by selector.

Set breakpoints and tracepoints

Independently of how you obtained the results in the Find Results window, you will see breakpoints and tracepoints if lines where they are set appear in the search results. Moreover, you can toggle breakpoints with F9 , enable/disable breakpoints with Ctrl+F9 , or access commands related to breakpoints and tracepoints from the context menu.

ReSharper: breakpoints and tracepoints in the Find Results window

Other actions with search results

If the search results are related to each other (that is, if they are usages of a specific symbol, symbols derived from a specific symbol, and so on), you can display them in the type dependency diagram by clicking Show on Diagram ThemedIcon TypeLayoutAlt Screen Gray png on the toolbar.

If any symbol or a grouping node is not the target of the usages search in the current tab, you can find usages of this symbol or find usages of related symbols right from the Find Results window. To do so, right-click this item and choose the corresponding action in the context menu, or alternatively, press Alt+F7 or Shift+Alt+F7 .

Last modified: 29 May 2020