AutoMapper.FindUsage is a plugin for JetBrains Rider and ReSharper that provides seamless navigation between DTOs and Models based on your AutoMapper configurations.
- Find Usages: Deep integration with the standard Find Usages action in Rider and ReSharper.
- Quick Navigation: Seamlessly jump between source and destination properties.
- Fluent API Support: Automatically recognizes mappings configured via
CreateMap<TSource, TDest>(). - Bidirectional Mapping: Full support for
.ReverseMap(). Navigation from Destination to Source always works, while Source to Destination navigation is available when a reverse mapping is defined. - Smart Grouping: Mappings are grouped by type in the Find Results window for properties with multiple sources or destinations.
- Open a C# file containing a class used in AutoMapper mappings.
- Place the caret on the
setorinitaccessor of a property. - Run
Find Usagesaction. - View the search result for source properties or jump to the corresponding member.
Find Results window:
The plugin analyzes your codebase to find various mapping patterns:
// Standard mapping (Destination -> Source navigation)
CreateMap<User, UserDto>();
// Reverse mapping support (Bidirectional navigation)
CreateMap<Order, OrderDto>().ReverseMap();
// Support for init accessors
public class UserDto { public string Name { get; init; } }You can install the plugin directly from the JetBrains Marketplace.
To test the plugin in a sandbox environment:
-
Build the .NET part:
./gradlew compileDotNet
(On Windows, use
.\gradlew.bat compileDotNet) -
Launch Rider with the plugin:
./gradlew runIde
(On Windows, use
.\gradlew.bat runIde) This will start an experimental instance of Rider with the plugin installed. -
Verify functionality: Open any solution with AutoMapper configurations and test the
Find Usagesaction.
This project is licensed under the Apache License 2.0 – see the LICENSE file for details.
Created by Sergey Rogatnev.

