add support for lombok
projectlombok.org adds very nice features to eclipse saving you from many lines of (automatically generated) code, cleaning up you classes.
By adding one (or more) annotations, you get
- getters and setters
- constructor generation for all final variables
- toString
- equals and hash
Thanks for the hint. We’ll look into integrating it.
1 comment
-
anonymous
commented
Workaround if you want it any earlier (like: now :-)
- Download lombok.jar
- locate the eclipse instance you are using
(start eclipse, About->Installation Details->Configuration shows the path)
- Copy lombok.jar into the instance
On mac: /Users/<yourName>/.yoxoslauncher/instances/<fromAbove>/Eclipse.app/Contents/MacOS
On linux (I think): /Users/<yourName>/.yoxoslauncher/instances/<fromAbove>/Eclipse
- Go to the Yoxos perspective and select Launching in you profile
- Paste the following 2 lines into VM Arguments
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar
- Save the configuration and restart