Pages

12.06.2015

IntelliJ and Lombok

Here's how to start using Lombok in IntelliJ:
  1. Get the plugin: https://github.com/mplushnikov/lombok-intellij-plugin
  2. Follow the instructions in that page according to your platform
  3. Go to File > Project Structure > Global Libraries > Click on (+)
  4. Look for the latest version of org.projectlombok:lombok (org.projectlombok:lombok:1.16.6 at the time if this writing)
  5. For each project module: Go to File > Project Structure:
    1. Select the module
    2. Go to the dependencies tab
    3. Click on (+)
    4. Library...
    5. Global Libraries > Lombok > Add selected
Done!

No comments: