ReSharper 2020.3 Help

Navigation and Search in CSS

Most of ReSharper's navigation and search features are also supported in CSS. You can find the detailed information on these features in the corresponding topics of the Navigate and Search section. In the main topic of the section, you can also find the feature matrix and check what exactly is supported in CSS.

In this topic, you can find some examples of using navigation and search features in CSS.

ReSharper: File structure of a CSS file
ReSharper: member search in CSS file
ReSharper: Highlighting usages of a CSS selector
ReSharper: Navigation from CSS selector to its usages in markup files
ReSharper: Navigating from a markup class to its CSS definition
ReSharper: Finding usages of a CSS selector

Go To Matched Tags

This navigation feature allows you to find all HTML and other markup tags that are matched by a specific CSS selector. To invoke this feature, place the caret at a CSS selector and press Control+Shift+G or choose ReSharper | Navigate | Navigate To in the main menu, then choose Matched tags.

ReSharper Navigating from CSS style to matched tags
ReSharper Navigating from CSS style to matched tags

There is no default shortcut for this action. However, you can assign a custom shortcut in Visual Studio options (Tools | Options | Environment | Keyboard). The action alias is: ReSharper_GotoMatchedTags

Last modified: 08 May 2020