mapstruct-idea
mapstruct-idea copied to clipboard
An IntelliJ IDEA plugin for working with MapStruct
My DTOs are auto generated. each field is generated with an setter(setXXX) and chained accessor(withXXX). I wrote a customized `AccessorNamingStrategy` SPI to exclude those methods start with `with` and added...
In continuous to https://github.com/mapstruct/mapstruct/issues/2926, I'd like to request the feature of enabling "Go To Definition" (cntl + B) for the methods names that are references within the `qualifiedByName` parameter.
Protobuf is widely used in the industry and often we need to convert proto generated classes to/from POJOs (or models generated by Lombok/AutoValue/Immutables/YouNameIt). While it would be awesome for MapStruct...
As discussed in #5 I add a smart filter to prevent already mapped source values from being displayed. @filiphr could you have a look?
Thank you for your hard work. 👍 The actual implementation show the quickfix for builder fields when the builders are disabled in an external `@MapperConfig`. This PR handles that case.
Closes #95 I'm not sure if the added test is optimal here (this is just a tweaked copy of the very first test case with target and expression). The behavior...
Add support for [Lombok](https://projectlombok.org); especially `@AllArgsConstructor` and `@RequiredArgsConstructor` which makes we can omit the constructor parameter, so the reference to not work. Also fixes: if some constructor is `protected` (e.g.,...
idea version 2020.1.3 ,mapstruct verison 1.5.2.Final MapStruct Support 1.3.1
Currently we support all IntelliJ versions from 2020.1. We should discuss if we upgrade to prevent using outdated functions. The current version is 2022.1.3