I have the lombok plugin setup in IntelliJ and my code builds fine. I can see the lombok generated methods in the structure view. What I want is some way to actually see the source lombok generates for each of the methods. I realize I can delombok the file but I'm wondering if there is some way I can flip a switch to show or hide the lombok generated code.
Find generated class in folder target/././classname. class and open it in IntelliJ IDEA.
As of IntelliJ version 2020.3, we don't need to configure the IDE to use Lombok anymore. The IDE comes bundled with the plugin. Also, the annotation processing will be enabled automatically.
Just in case somebody ends up looking for an answer here. With lombok plugin starting with v0.8.6 it is possible.
Lombok comes with a 'delombok' feature that you an use as follows:
java -jar lombok.jar delombok -p MyJavaFile.java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With