Search & Navigation
This page of ReSharper options allows you to adjust ReSharper's features related to Navigate and Search.
|Enable 'Search Everywhere'|
If this checkbox is selected the Search Everywhere/Go to Type command searches for types, symbols, and files; if it is cleared, it only searches for types.
|Integrate Go to Text into Search Everywhere|| |
By default, navigation to text is integrated into Search Everywhere Ctrl+N — ReSharper will show textual occurrences matching the query string in the end of the results list, after all matching types, symbols, and files. You can disable this behavior by clearing this checkbox.
|Remember last search|| |
ReSharper can remember the last input that you used to find something with Search Everywhere/Go to Type, Go to Symbol, Go To File, and Go to Text actions. When this option is selected, ReSharper will also use your current selection in the editor as the initial search query. For example, you can select a filename in a string and then press Ctrl+Shift+N to search for files in your solution that match this name.
|Remember extended search preferences|
|Go to Usage: if there is only one result, navigate without displaying the list|
If this checkbox is selected and a single usage is found by the Go to Usage feature, the pointer is transferred to the usage right away.
|Go to Base/Inheritor: if there is only one result, navigate without displaying the list|
|Rich mouse navigation in the editor|| |
If this checkbox is selected, you can navigate to declaration of a symbol by Ctrl-clicking any of its usages in the editor.
The main menu command and the Ctrl+B shortcut stay available regardless of this setting.
|Use Ctrl+Shift click to open the result in the peek view|
If this checkbox is selected, you will be able to open the declaration of a symbol in the Peek Definition view by Ctrl+Shift-clicking any of its usages in the editor.
|Use Ctrl+Alt click for Go to Implementation|| |
If this checkbox is selected, you will be able to navigate to implementation of a symbol by Ctrl+Alt-clicking symbols.
Note that in Visual Studio 2017 and later, the Ctrl+Alt-click is used for adding multiple carets. So you may want to disable this option if you use Visual Studio's multi-caret features.
The main menu command and the Ctrl+Shift+Alt+B shortcuts stay available regardless of this setting.
|Open new files in preview tab from everywhere|
|Smart Go to Declaration behavior|| |
Use this selector to choose how the Go to declaration command Ctrl+B behaves when the caret is already on a declaration. You have the following options:
|Find generic type usages behavior|| This selector allows you to choose how the Find Usages feature searches for generic type usages. |
When searching for usages of generic types such as
Find Results window
|Expand search results tree by default|
If this checkbox is selected, whenever a ReSharper search feature (for example Find Usages or Structural Search and Replace) derives results that can be presented as a tree structure, all branches of that tree are expanded in the Find Results window.
|Merge occurrences on a single line|
If this checkbox is enabled, several search matches on the same line are displayed as a single result in the search results list in the Find Results window
|Open preview tab for selected item|
Elements to skip
In this section, you can specify a list of files, folders or file masks that will be ignored by Search by Name commands, for example:
?to match one character
*to match one or more characters
>**to match files and folders recursively
Source Browsing URIs
If you use JetBrains Upsource for code review and repository browsing, you can specify a URI to your Upsource installation in this field. This will allow you to quickly copy the Upsource link for the current file using the Copy Fully-qualified Name feature.
|Source Browsing URI|
If you use Roslyn-based source browser for code repository browsing, you can specify a URI to your source browser installation in this field. This will allow you to quickly copy the source browser link for the current file using the Copy Fully-qualified Name feature.