ReSharper 2019.2 Help

Navigation within Resx Files

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 resources in the editor

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

  2. Press Ctrl+F12 or choose ReSharper | Navigate | Go to File Member… from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the popup, and then choose it there.

  3. You will see the list of resource entries in a popup. You can start typing to narrow down the list.

    ReSharper: Resources navigation. Go to file member

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

  5. When you see the desired string in the list, select it and press Enter or click 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 resource 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. Press Ctrl+F11 or choose ReSharper | Windows | File Structure from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the popup, and then choose it there.

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

  4. Optionally, you can use navigation and refactoring features provided in the File Structure window.

Last modified: 18 November 2019