mirror of
https://github.com/SKCraft/Launcher.git
synced 2025-02-27 03:32:24 +01:00
Created Using an IDE (markdown)
parent
2cd07f312c
commit
237fca7564
34
Using-an-IDE.md
Normal file
34
Using-an-IDE.md
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
To open the launcher in an IDE, you need to install a plugin for [Project Lombok](http://projectlombok.org/).
|
||||||
|
|
||||||
|
Project Lombok is used to generate code automatically. For example:
|
||||||
|
|
||||||
|
```java
|
||||||
|
public class Example {
|
||||||
|
@Getter
|
||||||
|
private int age;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Generates:
|
||||||
|
|
||||||
|
```java
|
||||||
|
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.
|
||||||
|
|
||||||
|

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

|
Loading…
Reference in New Issue
Block a user