mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-28 12:57:07 +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.
|
||||
|
||||
![Plugin Repository](http://i.imgur.com/8vEjYp9.png)
|
||||
|
||||
In addition, you need to enable annotation processors in the settings:
|
||||
|
||||
![Annotation Processors](http://i.imgur.com/XQcQHk0.png)
|
Loading…
Reference in New Issue
Block a user