View lombok generated code in IntelliJ IDEA
Intellij IdeaLombokIntellij Lombok-PluginIntellij Idea Problem Overview
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.
Intellij Idea Solutions
Solution 1 - Intellij Idea
Just in case somebody ends up looking for an answer here. With lombok plugin starting with v0.8.6 it is possible.
Solution 2 - Intellij Idea
Lombok comes with a 'delombok' feature that you an use as follows:
java -jar lombok.jar delombok -p MyJavaFile.java
Solution 3 - Intellij Idea
Find generated class in folder target/././classname.class and open it in IntelliJ IDEA.