[Lombok] IntelliJ 에서 Lombok 사용
1. Plugin 설치
[File] > [Plugins] > Lombok
2. Lombok Dependency 설정
Maven
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
Gradle
dependencies {
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
}
3. Lombok requires annotation processing
Plugin 설치 후 Restart 되면, 우측하단에 알림을 선택.
수동으로 Enable 방법은
[File] > [Settings] > [Build, Execution, Deployment] > [Compiler] > [Annotation Processors] > Enable annotation processing
https://hermeslog.tistory.com/443
[IntelliJ] 설정들
https://hermeslog.tistory.com/536 [Settings] >> [Plugins] > lombok 설치 1-2. Enable annotation processing 체크 1-3. 단축키 ( Alt + Ins ) Getter, Setter 뿐만 아니라, Cons.." data-og-host="hermeslog....
hermeslog.tistory.com
https://hermeslog.tistory.com/536?category=302347
[IntelliJ] 설정들 #2
https://hermeslog.tistory.com/443 > [Settings] >> [Plugins] > lombok 설치 1-2. Enable annotation processing 체크 1-3. 단축키 ( Alt + Ins ) Getter, Setter 뿐만 아니라, Cons.." data-og-host="hermeslog..
hermeslog.tistory.com