Search & Navigation
This page of ReSharper options allows you to adjust ReSharper's features related to Navigation and Search.
Item | Description |
---|---|
General | |
Enable 'Go To Everything' | If this check box is selected the Go to Everything/Type command searches for types, symbols, and files; if it is cleared, it only searches for types. |
Enable 'Smart Go to Declaration' | If this check box is selected, you can enjoy usage-aware behavior of the Go to Declaration command. if it is cleared, Go to Declaration can be only invoked on symbol usages to go to its declaration. |
Remember last search | ReSharper can optionally remember the last input that you used to find something with Go to Everything/Type, Go To File, and Go to Text actions. When this option is selected, ReSharper will also use your selection in the editor as the search string. For example, you can select a file name in a string and then press Ctrl+Shift+N to search for files in your solution that match this name. |
Go to Usage: if there is only one result, navigate without displaying the list | If this check box 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 | If this check box is selected and a single occurrence is found by either Go to Base Symbols or Go to Derived Symbols, the pointer is transferred to the occurrence right away. |
Rich mouse navigation in the editor | If this check box is selected, you can navigate to declaration of a symbol by Ctrl-clicking any of its usages in the editor and navigate to implementation of a symbol by Ctrl+Alt-clicking symbols. The main menu commands and the Ctrl+B/Ctrl+Shift+Alt+B shortcuts stay available regardless of this setting. |
Open new files in preview tab from everywhere | If this check box is selected, every time a navigation or search command opens a new file, it opens in the Preview tab. |
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 check box is selected, whenever a ReSharper search feature (e.g. Finding 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 check box 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 | If this check box is selected, the files are opened in the Preview tab when you double-click the results in the Find Results window. |
Elements to skip | |
In this section, you can specify a list of files and folders that will be ignored by Navigation by Name commands. | |
Source Browsing URIs | |
Upsource URI | 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. If your project in Upsource corresponds to the Visual Studio solution name, the URI should be https://[yourUpsorceServer]/ . If the Uspource project name differs, the URI should be https://[yourUpsorceServer]/[UpsourceProjectName]/ . |
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. |