JetBrains Rider 2022.2 Help

Analyze search results

If any of the JetBrains Rider's navigation and search actions produces multiple results, these results can be displayed in the Find window, which provides a lot of ways to analyze the search results.

Some actions, for example Find Usages automatically display the results in this window. For other actions, you can do it manually when a popup with the search results is displayed — click Open in Find Tool Window App actions move to bottom left, press Shift+Enter or + on the numeric keypad .

Results of each new navigation or search action are displayed in a new tab of the Find window, so you can easily get back to previous searches.

If you close the Find window, you can always reopen it by choosing View | Tool Windows | Find in the main menu or by pressing Alt+3. Tabs with search results are preserved until you close the solution.

In contrast to other navigation and search commands, the results of Find in Path Ctrl+Shift+F are by default displayed in the same tab of the Find window. If you want the results of previous textual searches to be preserved in different tabs, click Show Tab Options Show Tab Options in the bottom left corner of the Find in Path popup and choose Open Results in New Tab:

JetBrains Rider: Open results in new tab

To open a specific result in the editor, double-click it or press Enter or F4.

To open the next/previous search result in the editor, press Ctrl+Alt+Down/ Ctrl+Alt+Up click Next Occurrence/Previous Occurrence on the window's toolbar or choose Navigate | Next/Previous Occurrence from the main menu .

To study the source code of the selected item right in the window, click Preview Source App actions preview details on the toolbar.

Filter search results

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

Search results of Find Usages can be further filtered by the kind of occurrence.

  • To show only read or write usages, click Themed icon usage read screen gray or Themed icon usage write screen gray on the toolbar.

Group search results

Search results are shown as a tree view, which can be displayed in various hierarchical orders. The default order depends on the initial search, but you can always change it with the grouping buttons on the toolbar.

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 Themed icon merge screen gray 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 Occurrence type App general filter on the toolbar.

Last modified: 26 October 2022