mapstruct-idea
mapstruct-idea copied to clipboard
An IntelliJ IDEA plugin for working with MapStruct
when write expression in multiple lines, syntax check works unexpected. eg: ```java @Mapping(target = "totalAmount", expression = "java(a.getDetailList().stream()" + ".map(ADetail::getAmount).reduce(BigDecimal.ZERO, BigDecimal::add))") B a2b(A a); ```
When I refactor-rename a field (and its getter) using IDEA, then the mapping annotation is changed incorrectly. For example when I rename a field from foo to bar, then the...
I got the following exception when I used the `Ignore all unmapped target properties` action ``` java.lang.Throwable: Too many non-blocking read actions submitted at once. Please use coalesceBy, BoundedTaskExecutor or...
I'm trying to use this plugin in Android Studio (latests v4.1) and the autocomplete/assistant is not working while creating a `@Mapping`. I mean, the suggestions for the `target` and `source`...
Using https://github.com/mapstruct/mapstruct-examples/tree/master/mapstruct-lombok as a reference, I tried to add a field to both `Source` and `Target` and then modified the test to cover the new field. ``` @Test public void...
It'd be great to see warnings/errors similar to the way it's done in Eclipse, i.e. with warning/error markers right on the mapper interface and its annotations, e.g. if a mapping...
With the quick fix there comes the "Fix all '**Unmapped target properties**' problems in file" option. But this only fixes the selected target property and not all as it should....
Hi, I use mapstruct namely by mapping with some Immutables. Mapstruct deals correctly with auto-generated builders. It would be nice if the plug-in could propose auto-completion given the builders.
I've been trying to make this work. However, there are some problems with the custom `ConstructorParametersReferencesSearcher` that I've implemented. Find usages works properly. However, that causes some other problems: *...
Hi, Thank you for great plugin! 👍👍👍 It's really helpful during daily development. I noticed that `Mapstruct IDEA plugin` doesn't support auto-completion for `target` attribute in `@Mapping` for latest `mapstruct`...