ReSharper 2024.3 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 File Structure command works perfectly in .resx files and allows you to jump to any resource with a few keystrokes.

Navigate resources in the editor

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

  2. Press Control+F12 or choose ReSharper | Navigate | Go to File Member… from the main menu . Alternatively, you can press Control+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).png, press Shift+Enter or + on the numeric keypad .

ReSharper's File Structure window 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.

Navigate to resources from File Structure

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

  2. Press Control+F11 or choose ReSharper | Windows | File Structure from the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.

  3. In the File Structure window 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: 26 May 2024