Find usages with IDEA 2016.3 EAP (build 163.5644.15), Lombok 1.16.10 and Lombok plugin 0.13.16 not working
See original GitHub issueGiven this simple test class.
import lombok.Data;
@Getter //or @Data
public class TestClass {
private String string;
@Override
public String toString() {
getString();
return string;
}
}
code is generated (as shown) but find usages on the field retrieves no result. IDE event log is empty so don’t know how to provide more insight.
For the record, switching the annotation (so, from @Getter
to @Data
) breaks code generation in the IDE (maven
is still fine). Restarting the IDE invalidating the cache makes code generation working but not find usages (which is particularly annoying since then also refactoring features are broken, since they rely on usages).
Full project attached.
Thanks for any feedback test.zip
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Find usages doesn't work (for example Accessors with Setter ...
Find usages with IDEA 2016.3 EAP (build 163.5644.15), Lombok 1.16.10 and Lombok plugin 0.13.16 not working #294.
Read more >Can't compile project when I'm using Lombok under IntelliJ IDEA
Download the JAR file into the project lib directory (e.g., $HOME/dev/java/project/libs ). Start the IDE. Click File Settings. Expand Build, Execution, ...
Read more >Build project with lombok - IntelliJ Ultimate 2020.3 EAP
now lombok plugin is build in 2020.3 EAP and it uses 1.18.16 version of lombok plugin. Problem is solved by bug --> IDEA-253011....
Read more >Lombok Changelog
FEATURE: You can now use @Accessors(makeFinal = true) to make final getters, setters, and with-ers. Issue #1456. BUGFIX: Various save actions and refactor ......
Read more >dependency 'org.projectlombok:lombok:1.18.24' not found
After fixing those 3 issues lombok worked fine for me. Open side panel. Gradle build ... get the same Error: To build my...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also it seems that Analyse Data Flow don’t find accessors to leading to missed usage
closed as duplicate of #144 and #186