ReSharper 2024.3 Help

Go to Symbol

This command allows searching by name for any code symbol (type or type member) within symbols and files in your entire solution as well as all assemblies referenced in the projects of your solution. Search results also include matching items from all assemblies that are currently loaded in the Assembly Explorer window.

Note that this command works in global scope, that is you do not need to bring your focus to the editor to invoke it.

Navigate to a symbol

  1. Press Shift+Control+Alt+N or choose ReSharper | Navigate | Go to Symbol… from the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.

  2. In the Enter symbol name popup that appears, start typing the item name. As you type, the lookup list narrows down, suggesting names that match the entered substring.

  3. Optionally, select Include library types or press Alt+N to display matching items from libraries referenced in the solution.

    By default, as long as your input matches something in your solution, only solution items are displayed. If there are no matches for your input in the solution, ReSharper starts looking for matching library types automatically.

  4. To narrow down the list of items, you can type / to apply filters. For example, you can type /me to display only events. Note that you can type filters both before and after your search query.

  5. Do one of the following:

  6. The selected search result can be opened either in the normal editor tab or in the Preview tab. To always open the results in the Preview tab, select Open new files in preview tab from everywhere on the Environment | Search & Navigation page of ReSharper options and make sure that it is also enabled in Visual Studio options.

If the item you navigate to belongs to the current solution, ReSharper opens the corresponding file in the editor and places the caret at the symbol declaration. If it is in referenced libraries, ReSharper navigates according to the settings defined on the Tools | External Sources page of ReSharper options Alt+R, O.

Search for items with compound names

You can narrow down the list of items using CamelHumps. It is case-insensitive, so there is no difference between rtbf and RTBF. ReSharper always shows recently visited items at top of the list and highlights them in green.

ReSharper can also find items that match parts of the query in any order. For example, a search for exactMatching will match isMatchingExactly.

Search by fully-qualified names

If you want to navigate to a symbol in a particular type, you can specify parts of the type's fully qualified name and member name and split them with spaces or dots. Consider the example below:

ReSharper: Go to symbol. Using spaces to separate parts of a fully-qualified symbol name

Search for exact matches

If you want to search for an exact match, use quotes: looking up "Collection" will return Collection but will not return FilteredCollection, IterateCollection(), and so on. However, while using exact search to filter out compound names, you can still use wildcard symbols * and ? to allow exactly as much variation as you need.

This feature is supported in the following languages and technologies:

Language: C#

Language: VB.NET

Language: C++

Language: HTML

Language: ASP.NET

Language: Razor

Language: JavaScript

Language: TypeScript

Language: CSS

Language: XML

Language: XAML

Language: Resx

Language: Build Scripts

Language: Protobuf

Language: JSON

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in HTML

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in JavaScript

Feature is available in TypeScript

Feature is not available in CSS

Feature is not available in XML

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

Feature is not available in Protobuf

Feature is not available in JSON

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the ReSharper by language section.

Last modified: 23 September 2024