ReSharper 2023.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 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 Control+B or usages Control+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).png and ThemedIcon.BaseCulture.Screen.(Gray).png) to jump between resource definitions in different cultures:

ReSharper: Hierarchy marks for resources
Last modified: 21 March 2024