ReSharper 2016.3 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:

/help/img/dotnet/2016.3/Resources__Quick-Fixes_01.png

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 (/help/img/dotnet/2016.3/ThemedIcon.SpecificCulture.Screen.[Gray].png and /help/img/dotnet/2016.3/ThemedIcon.BaseCulture.Screen.[Gray].png) to jump between resource definitions in different cultures:

/help/img/dotnet/2016.3/Resources__Resource_Navigation__Hierarchy_Marks_01.png

See Also

Last modified: 3 April 2017