ReSharper 2023.2 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 (Themed icon specific culture screen gray and Themed icon base culture screen gray) to jump between resource definitions in different cultures:

ReSharper: Hierarchy marks for resources
Last modified: 22 September 2022