lombokanylogic

How do I make AnyLogic recognize the Lombok plugin?


Lombok is a great plugin that has an installer for Eclipse and IntelliJ. AnyLogic is Eclipse-based, so how do we get it to work there too?


Solution

  • On a Mac, this is the most recent process:

    1. Go to Applications, right click on AnyLogic, and select Show Package Contents
    2. Copy lombok.jar to Contents/MacOS
    3. Edit AnyLogic.ini. Add -javaagent:lombok.jar on a line by itself after -vmargs

    Windows and Linux are similar.