ReSharper 2018.2 Help

Go to Related Files

ReSharper | Navigate | Related Files…
Ctrl+Shift+Alt+G
ReSharper_GotoRelatedFiles

This command can take you to all files whose contents are somehow related to the current file.

Navigating to related files may be very useful for web applications: for example, it enables you to jump from a web form to its master page, user controls, referenced images or JavaScript and CSS files. In ASP.NET MVC applications, it simplifies navigation from views to controllers and back.

To navigate to related files

  1. Place the caret within the file or select the file in the Solution Explorer.

  2. Press Ctrl+Shift+Alt+G or choose ReSharper | Navigate | Related Files… from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.

  3. If there are some related files, the Select File drop-down list opens. Select a file from the list and click on it to open it in the editor.

    Navigation and Search Go to Related Files

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

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is available

Feature is not available

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: 21 December 2018

See Also