murat8505 / projectlombok

Automatically exported from code.google.com/p/projectlombok
0 stars 1 forks source link

Run as eclipse plugin. #324

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If eclipse is running on a 1.6 VM, we should be able to use lombok.patcher's 
hook-into-self trick to live-patch eclipse during the initialization of our 
plugin. That way, lombok can just be an eclipse plugin, no messing with 
eclipse.ini needed. Of course, on 1.5 VMs we either have to tell users to run 
the installer, or we run the installer from inside eclipse (and, presumably, we 
rewrite it to SWT. Well, next time somebody sticks something stupid in a final 
release, I've got a punishment all worked out :P)

This would also be a fine springboard for eclipse-specific features like 'show 
delomboked result' and perhaps even lombok-specific refactors/quickfixes 
(replace setters/getters with @Getter, turn an entire class into a @Data class, 
add sneakythrows, etc).

Original issue reported on code.google.com by reini...@gmail.com on 6 Jan 2012 at 6:31

GoogleCodeExporter commented 9 years ago
See also 
http://dev.eclipse.org/mhonarc/lists/eclipse.org-committers/msg00870.html

Original comment by reini...@gmail.com on 6 Jan 2012 at 6:32

GoogleCodeExporter commented 9 years ago
According to Peter Mucha, eclipse plugins can add/remove JVM arguments as part 
of their install/uninstall scripts, and eclipse will automatically force a 
reboot of eclipse if you do this. He's built a demo plugin and has managed to 
make this work, which means an eclipse plugin will take the place of the lombok 
installer.

This seems like a great idea - but should it take priority over other features 
or IntelliJ support?

https://groups.google.com/forum/?fromgroups#!topic/project-lombok/lldCRLjpeco

Original comment by reini...@gmail.com on 19 Jul 2012 at 1:52

GoogleCodeExporter commented 9 years ago
Well, I think so. Eclipse is a very competitive IDE and the installer solution 
is not enough for medium to big workgroups. Think that the fact of installing a 
plugin to get it working is yet a problem. Programmers are not always "advanced 
users" of IDE's. My possibilities to get accepted my recommendation of lombok 
to be used in my company (+/- 1000 programmers) depends on this kind of facility

Original comment by santiago...@gmail.com on 21 Jul 2012 at 12:37

GoogleCodeExporter commented 9 years ago
Hi all, any interest to revive this one? The rather awkward installation 
procedure seems to be the #1 reason why people refrain from using it. I just 
spoke to the maintainers of STS and they'd be eager to add a Lombok Eclipse 
Plugin to their welcome dashboard which would make the installation a one-click 
issue. We could even think about shipping it out of the box with the default 
installation.

Any chance we can get a Eclipse 4.5 compatible plugin/updatesite hosted 
somewhere?

Original comment by ogie...@pivotal.io on 1 Apr 2015 at 11:42