Question

Hi I'm using Project Lombok (version 0.11.2) in a project. I have both Intellij, and Eclipse (STS) installed, with lombok integrated with both IDEs (STS, via the lombok JAR, IntelliJ via the plugin [version 0.4, released 22/01/12]).

When I try to use the 'val' data type in IntelliJ, it fails to recognise the resulting types, however the same code works in STS.

Is this an issue with the IntelliJ plugin, or does the plugin just not support this feature?

val types were added in lombok 0.10.0, so are not a new feature.

Était-ce utile?

La solution

At this time, according to the documentation of the Lombok IntelliJ Plugin, this is not yet supported.

Disclosure: I am one of the core Lombok developers.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top