ReSharper 2016.1 Help

Deal with a lot of entries in resource files

Managing lots of data in resource files can be tough, but ReSharper does its best to help you with localized data. First thing you’ll notice is the support for .resx files in the File Structure Window, which shows a convenient list of string identifiers and their content:

File structure for a .RESX file

ReSharper also includes code inspections that can help you identify issues with resource entries – for example, in cases where you forgot to declare a resource in the default culture:

ReSharper helps declare resource entry in the default culture

ReSharper’s navigation features work very well for resources, letting you navigate to declaration (Ctrl+B) or usages (Ctrl+Alt+F7) to move between culture-neutral, culture-specific resource files, and resource usages in source code. Besides, you can use the action indicators (ThemedIcon.SpecificCulture.Screen.[Gray] and ThemedIcon.BaseCulture.Screen.[Gray]) to jump between resource definitions in different cultures:

Navigating from the resource definition in the default culture

See Also

Last modified: 19 August 2016