ReSharper 2018.2 Help

Navigation within Resx Files

ReSharper | Navigate | Go to File Member
Ctrl+F12

ReSharper | Windows | File Structure
Ctrl+F11

If you prefer to use XML editor for working with .resx files, ReSharper will help you navigate and search for resources within these files. The Go to File Member command works perfectly in .resx files and allows you to jump to any resource with a few keystrokes.

To navigate to resources in XML Editor

  1. Open a .resx file in the XML (Text) Editor.

  2. In the main menu, choose ReSharper | Navigate | Go to File Member, or press Ctrl+F12.

  3. Start typing letters in the text field. As you type, the lookup list narrows down, suggesting names that match the entered substring:

    Resources Resource Navigation Go to File Member

  4. Optionally, you can tick a check box to include members from related files.

  5. When you see the desired string in the list, select it and press Enter or click on it.

  6. To view and analyze the list of matched items in the Find Results window, click Show in Find Results ThemedIcon SearchResults Screen Gray , press Shift+Enter or + on the numeric keypad.

ReSharper's File Structure window can display the structure of resource files. It lists all entries in a resource file, visualizing resource IDs, resource text in the current culture, and resource comments (if any). In addition, this window specifies whether resource entries are overridden in other cultures, and whether they contain format placeholders.

To navigate to resources from File Structure

  1. Open a .resx file in the XML (Text) Editor.

  2. In the main menu, choose ReSharper | Windows | File Structure or press Ctrl+F11.

  3. In the File Structure window that appears, select the desired string and double-click on it to locate it in the editor.

  4. Optionally, you can use navigation and refactoring features provided by the File Structure window. For more information, see Viewing File Structure.

Last modified: 21 December 2018

See Also