Lombok-intellij-plugin: lombok.config doesn't works

Created on 18 Feb 2018  路  4Comments  路  Source: mplushnikov/lombok-intellij-plugin

Short description

lombok.fieldDefaults.defaultPrivate = true
lombok.fieldDefaults.defaultFinal = true
These properties doesn't affects my classes. If i put @FieldDefaults directly above class then it works.
I put lombok.config file in root directory

Version information

  • IDEA Version: Intellij Idea Ultimate EAP 2018.1
  • JDK Version: 1.8
  • OS Type & Version: Windows
  • Lombok Plugin Version: 0.15.17.2
  • Lombok Dependency Version: 1.16.20

Steps to reproduce

Just put lombok.config with properties described in Short description then

  1. Create class in lombok.config scope
    @RequiredArgsConstructor
    public class ProductSearchParams {
    Set parameters;
    }
  2. It's possible to invoke ProductSearchParams p = new ProductSearchParams(); // no required argument

    1. Put @FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE) above class

    2. NOT possible to call ProductSearchParams constructor without argument

Sample project

Please provide a sample project that exhibits the problem.
You should also include .idea folder so we can inspect the settings.

  • [ ] Sample project provided
  • [x ] I am able to reproduce this error on the sample project by following the steps described above
duplicate

All 4 comments

Having the same issue - trying to set

config.stopBubbling = true
lombok.extern.findbugs.addSuppressFBWarnings=true

Put the file in root, src/main/java - it's not applied.

lombok plugin is not compatible with IDEA 2018.1 (see #449)

duplicate of #353

I still have the issue of this not working:

config.stopBubbling = true
lombok.extern.findbugs.addSuppressFBWarnings=true

I placed lombok.config in /, /src/main/java, and in /src/main/java/my/package

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timothymdavis picture timothymdavis  路  4Comments

Sudio picture Sudio  路  3Comments

clayreimann picture clayreimann  路  3Comments

leialexisjiang picture leialexisjiang  路  5Comments

eilensm picture eilensm  路  6Comments