Reputation: 612
I am using IntelliJ IDEA 2016.3 + lombok plugin with the following structure:
Edit: this is the Module Content Root configuration:
Everything works as expected in src/main/java
and src/test/java
, but classes in src/integration-test
and src/end-to-end-test
don't see the generated lombok code (so no autocomplete).
I can still run the tests without any issue though.
Does anyone have any idea what I should do to benefit from auto-complete from these other test source folders?
Thanks!
Upvotes: 7
Views: 3777
Reputation: 2175
You need to enable Annotation processing for your modules in IntelliJ. If you have enabled it already make sure integration-test and end-to-end-test are listed under Default.
Go to settings (Ctrl + Alt + S) ->Build Execution Deployment -->Compiler --->Annotation processors
Upvotes: 4
Reputation: 783
Double check that you have enabled Lombok itself in project properties as far as processing annotations on that. Everything is in Project preferences.
Upvotes: 1