Skip to content

Using an IDE

sk89q edited this page Feb 20, 2015 · 1 revision

To open the launcher in an IDE, you need to install a plugin for Project Lombok.

Project Lombok is used to generate code automatically. For example:

public class Example {
    @Getter
    private int age;
}

Generates:

public class Example {
    private int age;

    public int getAge() {
        return age;
    }
}

Since it's automatic, you need the plugin.

IntelliJ IDEA

The plugin can be installed by browsing the plugin repository from IntelliJ IDEA's settings.

Plugin Repository

In addition, you need to enable annotation processors in the settings:

Annotation Processors