You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I exactly followed the eclipse plugin installation instructions.
Also I restarted eclipse, cleaned my project, etc. however lombok is not working this way.
I verified using About Eclipse IDE > Installation Details that it is installed:
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Additional context
To underline why I see it important to make it work in Eclipse without changing the eclipse.ini file:
I am using (and maintaining) devonfw-ide and its successor IDEasy that fully automates the installation and configuration of the tools for arbitrary development projects. We create a software repository of pristine tool installations to be shared by multiple projects on the same computer (multi-tenancy) and therefore "hacking" eclipse.ini is not a preferable option. We can install plugins automatically and those are installed separate from the actual Eclipse (or IntelliJ or VSCode) installation and could easily ship lombok for projects that want to use it out-of-the-box on the silver plate if the lombok plugin would actually work.
So currently as a workaround I am modifying my eclipse.ini file to make it work but as soon as I change the eclipse version and reinstall all plugins automatically the changes to eclipse.ini are gone and have to be redone. Also I am using the same eclipse on my disc for other projects that do not want to use lombok. Surely the lombok support does not hurt there but imagine two projects on my machine both use the same Eclipse version but two different lombok versions - that would break and therefore I would prefer the plugin approach.
The text was updated successfully, but these errors were encountered:
The easiest way to confirm it's properly installed is to open the HelpAbout Eclipse IDE dialog. In the white rectangular area, just above the bar with all the logo's (you may need to resize or scroll), the last line should be a text like:
Lombok v1.18.30 "Envious Ferret" is installed. https://projectlombok.org/
I encountered the same issue with Eclipse 03-2024 and Lombok 1.18.32. Installing via the update site didn't solve the errors that happen after updating eclipse. Manually downloading the jar and installing through it did work.
Describe the bug
I exactly followed the eclipse plugin installation instructions.
Also I restarted eclipse, cleaned my project, etc. however lombok is not working this way.
I verified using
About Eclipse IDE > Installation Details
that it is installed:Also when I go to
Configuration
tab and filter forlombok
, I see:But having a simple class like this cannot compile:
So IMHO the eclipse plugin is broken and it is not a bug of Lombok itself.
However, all works fine when I manually add lombok to
eclipse.ini
via-javaagent:«path-to-lombok
.To Reproduce
See above:
Expected behavior
Lombok should become active and hook into the Java compiler to generate getters/setters/logger/...
Version info (please complete the following information):
Additional context
To underline why I see it important to make it work in Eclipse without changing the
eclipse.ini
file:I am using (and maintaining) devonfw-ide and its successor IDEasy that fully automates the installation and configuration of the tools for arbitrary development projects. We create a software repository of pristine tool installations to be shared by multiple projects on the same computer (multi-tenancy) and therefore "hacking" eclipse.ini is not a preferable option. We can install plugins automatically and those are installed separate from the actual Eclipse (or IntelliJ or VSCode) installation and could easily ship lombok for projects that want to use it out-of-the-box on the silver plate if the lombok plugin would actually work.
So currently as a workaround I am modifying my
eclipse.ini
file to make it work but as soon as I change the eclipse version and reinstall all plugins automatically the changes toeclipse.ini
are gone and have to be redone. Also I am using the same eclipse on my disc for other projects that do not want to use lombok. Surely the lombok support does not hurt there but imagine two projects on my machine both use the same Eclipse version but two different lombok versions - that would break and therefore I would prefer the plugin approach.The text was updated successfully, but these errors were encountered: