ReSharper 2024.1 Help

Locate current document in Solution/Assembly Explorer

This handy navigation feature lets you expand the tree in the Solution Explorer, auto-scroll and highlight the item corresponding to the current document. It is especially useful when you have a massive solution, or a limited screen area that forces you to shrink the Solution Explorer window to the limit.

This command also works with decompiled code allowing you to locate decompiled symbols in the Assembly Explorer window. In this case, the command is sensitive to the caret position: If the caret is on a specific symbol, the item corresponding to this symbol is highlighted in the Assembly Explorer; if the caret is elsewhere in the document, the root type of the document is highlighted.

  1. In the editor, switch to a document that you want to locate in the Solution Explorer.

  2. Press Alt+Shift+L or choose ReSharper | Tools | Locate in Solution/Assembly Explorer in the main menu,

  3. ReSharper will bring up the Solution Explorer window or the Assembly Explorer window (depending on whether your caret is in the source code or in decompiled code) to focus and show you the item there.

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 available in CSS

Feature is available in XML

Feature is available in XAML

Feature is available in Resource files

Feature is available in build script files

Feature is available in Protobuf

Feature is 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: 16 May 2024