Comments (4)
We are using the IntelliJ PSI (Program Structure Interface) to get the getters and setters for the auto completion. Perhaps the Lombok Plugin doesn't expose them properly. We'll need to debug the plugin with the Lombok Plugin together to see why it isn't working.
from mapstruct-idea.
This issue is not limited to version 2019.2 It was not working on any version of IDEA and any version of lombok and the plugin I used until now.
from mapstruct-idea.
Can confirm that lombok added getters are accessible from PSI methods and the only functionality that seems to be breaking (At least for me) is completion. References seem to be resolved correctly once the mappings are defined (cmd+click works)
from mapstruct-idea.
Thanks for the check @Avinm.
I am going to close this ticket since it seems like Lombok is not the problem.
@FLXT-Qi, @neowin35 please provide example files that can reproduce this problem so we can analyse it better.
from mapstruct-idea.
Related Issues (20)
- Disable unmapped target property warnings when implicitly mapping from a map HOT 2
- Completion for properties don't work (both target and source) HOT 2
- Array and Map paramter ignored as source-parameter if used as only source
- Java expression HOT 1
- Report Non-existing target properties as errors HOT 1
- WrongUsageOfMappersFactoryInspection ignores if componentModel is defined in MapperConfig HOT 1
- IDE Support of `BeanMapping#ignoredTargets`
- Code Completion didn't work well. HOT 12
- Wrong usage of mappers factory should be able to remove static initializer
- code wraps automatically, does not recognize keywords HOT 1
- Incompatible with idea 2024.1 RC HOT 4
- Plugin reports "Can't find related attribute" warning when using `source="."` HOT 2
- Code completion: mapTo... suggestions take precedence over more useful suggestions HOT 6
- Code completion for annotation parameters like @Mapping is not working HOT 9
- False positive missing mapping warning HOT 11
- Incorrect no source property defined inspection for `@Mapping`
- Renaming a @Getter annotated field results in a getter inside the mapping definition (instead of the new field name) HOT 4
- Add a warnig when using `source = "."`
- Expression can not get method hint when target uses @Lombok @FieldNameConstants HOT 3
- When using Lombok in @Mapping's target, the expression field will lose the reference relationship HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapstruct-idea.