Add lombok to IntelliJ IDEA

Lombok study link: https://www.jianshu.com/p/365ea41b3573

    1. Add below dependency code to pom.xml
      <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>1.16.12</version>
      </dependency>
    2. Install IntelliJ IDEA plug in for lombok
      1. Go to File->Setting→Plugins
      2. Search "Lombok Plugin" plugins
      3. Open Proxy and Install plugin
      4. restart IntelliJ IDEA

posted on 2018-06-05 15:03  两轮明月  阅读(198)  评论(0编辑  收藏  举报

导航