ReSharper 2021.1 Help

Navigate To Consuming APIs

ReSharper | Navigate | Navigate To | Consuming APIs
Control+Shift+G | Consuming APIs
ReSharper_ConsumingApiesNavigation

This command allows you to navigate from a type to all methods in the solution that receive objects of this type in their parameters.

The command becomes available when you invoke Navigate To on a declaration or a usage of any type from the solution or any library type. You can invoke this command from the Solution Explorer, from the File Structure window and other tool windows.

ReSharper: Navigating to consuming APIs of a type

If the command returns a single result, ReSharper navigates directly there. In case of multiple results, they will be listed in a drop-down where you can do one of the following:

  • Click the desired item to open it in the editor.

  • Select the desired item by pressing Up and Down and then press Enter to open it in the editor.

  • Start typing to filter results. Note that you can use CamelHumps here. If necessary, press Esc once to clear the filtering.

  • To view and analyze the list of matched items in the Find Results window, click Show in Find Results Themed icon search results screen gray, press Shift+Enter or + on the numeric keypad.

  • To show the matched items on the type dependency diagram, press Alt+Num+ or click Show on Diagram Themed icon type layout alt screen gray.

This feature is supported in the following languages and technologies:

Language: C#Language: VB.NETLanguage: C++Language: HTMLLanguage: ASP.NETLanguage: RazorLanguage: JavaScriptLanguage: TypeScriptLanguage: CSSLanguage: XMLLanguage: XAMLLanguage: ResxLanguage: Build ScriptsLanguage: ProtobufLanguage: JSON
Feature is available in C#Feature is available in Visual Basic .NET Feature is not available in C++ Feature is not available in HTML Feature is not available in ASP.NET Feature is not available in Razor Feature is not available in JavaScript Feature is not 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 details specific to other languages, see corresponding topics in the ReSharper by Language section.

Last modified: 08 March 2021