ReSharper
 
2024.3
Get ReSharper

Deal with a lot of entries in resource files

Last modified: 15 May 2024

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 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: Quick-fixes for resources

ReSharper’s navigation features work very well for resources, letting you navigate to declaration F12 or usages ShiftAltF12 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).png and ThemedIcon.BaseCulture.Screen.(Gray).png) to jump between resource definitions in different cultures:

ReSharper: Hierarchy marks for resources