ReSharper 2018.3 Help

Navigation between Cultures

ReSharper lets you navigate between cultures up and down the culture hierarchy. It prompts what resource entry overrides and where it is overridden. The quickest way to navigate between resource definitions in different cultures is using the action indicators that appear on the left of resource entries.

To navigate between cultures using action indicators

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

  2. For each resource defined in multiple cultures, you will see an action indicator on the left of the resource entry.

  3. Hover the mouse over the action indicator to see what resource entry overrides and where it is overridden:

    Resources Resource Navigation Hierarchy Marks 01

  4. To navigate to definition of the resource in a specific culture, click on the action indicator and choose the desired culture.

You can navigate from resource entries in a culture-neutral resource file to the corresponding entries in culture-specific resource files with the Go to Derived Symbols command, and vice versa with the Go to Base Symbols command.

To navigate to base resource entry

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

  2. Set the caret at the name of a resource.

  3. Press Ctrl+U or choose ReSharper | Navigate | Base Symbols from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.

  4. If there are two or more base resource declarations, select one of them in the drop-down list.

To navigate to derived resource entry

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

  2. Set the caret at the name of a resource.

  3. Press Ctrl+Alt+B or choose ReSharper | Navigate | Derived Symbols from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.

  4. If there are two or more derived entries, select one of them in the drop-down list.

You can also use the Go to Implementation command that will navigate you to all definitions of a particular resource in all cultures.

To navigate to resource implementation

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

  2. Set the caret at the name of a resource.

  3. Press Ctrl+Shift+Alt+B or choose ReSharper | Navigate | Go To Implementation from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.

  4. If there are two or more implementations of the resource, select one of them from the drop-down list.

Last modified: 25 April 2019

See Also