Lombok-intellij-plugin: Fix plugin in IntelliJ 2018.1

Created on 27 Mar 2018  路  22Comments  路  Source: mplushnikov/lombok-intellij-plugin

Lombok annotations in IntelliJ 2018.1 are broken

Most helpful comment

It's already released... just click on "Check for Updates..." to update it 馃槈

All 22 comments

The newest IntelliJ announces that the plugin is incompatible: Plugin 'Lombok Plugin' can't be loaded because: Plugin since-build or until-build don't match this product's build number

At least now there is a red message on the release notes window. Fix would be awesome :)
image

If anyone is stuck like I was, this seems to work until a real release comes out.

  1. Clone the repo
  2. In gradle.properties set ideaVersion=2018.1
  3. Run ./gradlew buildPlugin
  4. Open IntelliJ
  5. Uninstall existing Lombok plugin
  6. Install built plugin build/distributions/lombok-plugin-0.17.zip with "Install Plugin from disk" button
  7. Restart IntelliJ

This is NOT thoroughly tested, but did load up without issues and support compiling my reasonably complex codebase without issue.

Looking at the plugin details it shows Version: 0.17-2018.1

PR is underway, running gradle check as we speak...

Here's the link to the plugin built on my local setup until it's offically supported

lombok-plugin-0.17.zip

It's already released... just click on "Check for Updates..." to update it 馃槈

thanks, works like a charm

I'm still seeing the 0.16 version in IntelliJ and he's warning me it doesn't work with the latest update. So I haven't installed that update yet.
When I click "check for updates" my IntelliJ only finds the IntelliJ update again, and not the Lombok plugin.
Am I doing it wrong or what am I missing?

Try to use the update functionality in IntelliJ (on Mac: "IntelliJ IDEA/Check for updates").

This is how I did @iDenzil @svenhaag

http://prntscr.com/ixf38d

So for anyone struggling here. I updated my intellij to the latest version first (using toolbox) and then did the check for updates, at which point it says that the new lombok plugin is 0.15.17.2 at first glance it looks to all be there but time will tell. It's not immediately obvious, and the version numbering is probably throwing a few folks off, it did me.

So the new version is 0.15.17.2, and the previous version was 0.16-2017.3 ?
Thanks for the input everyone. I'm in no rush here, just wondering where is the difference coming from :)

Fixed in #449, but it hasn't been released yet.

@iDenzil I think the new version should be 0.17-2018.1. Perhaps @durimkryeziu was upgrading from old version to 0.16. So he could see the "update" button.

just waiting...

Hello guys, be cool, I'll make a new release next days!

Waiting as well to be able to use 2018.1 with lombok.

It works now (at least for me). After updating to 2018.1 it's possible to download an update ("help->check for updates").

I just pushed current build of plugin as 0.17-2018.1 version. It can be downloaded from Intellij-Plugin-Repository.

I have installed 0.17-2018.1 plugin version but it doesn't works for me. Everything works fine but lombok.config doesn't affects any .java files. Intellij version: 2018.1.2 EAP

This issue was already solved, if you're having problems using the extension please create a new issue including more details about it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gigaSproule picture gigaSproule  路  4Comments

jknight picture jknight  路  6Comments

pavelgordon picture pavelgordon  路  4Comments

wellhor picture wellhor  路  6Comments

pedegie picture pedegie  路  4Comments