Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Sunday, November 19, 2017

Lombok does not work for Eclipse Neon. How to solve this issue?

In your eclipse.ini, add the following section
    -vmargs
    ...
    -javaagent:lombok.jar
    -Xbootclasspath/a:lombok.jar
It can solve your issue.
Antoniolazaro has given another solution for Eclipse Neon issue on MacOS
When I put the complete path, it works on Mac Os.
-javaagent:/Applications/Eclipse.app/Contents/Eclipse/lombok.jar

Resource Link:

  1. https://github.com/rzwitserloot/lombok/issues/1173
And the lombok project owner rzwitserloot has given 3 suggestions for checking
  1. Can you give us the complete path, from root, of your eclipse install? Starting with 1.16.14, the installer should still find eclipse even with the funky paths that the OOM installer comes up with. I have no idea why the installer isn't finding your eclipse automatically, here. I can't reproduce this on my mac.
  2. The lombok uninstaller has the same 'find eclipses' capability as the installer. Mac doesn't have a registry and we aren't going to dump a bunch of crud in your homedir just to keep track of where we installed your lombok; we like it that way: No cruft. So, that part (that the uninstaller can't find a custom-install location and requires you to again specify it) is not a bug.
  3. You still have to add lombok.jar to your project as a dependency same as any other third party dependency (something like guava, for example). It's not clear from your problem description if you actually did that.

Resource Link:

Tuesday, November 7, 2017

Mule Project Setup in Eclipse

Mule Project Installation and config in eclipse:


1.
git clone -b branchname https://...project-name.git
cd project-name
mvn clean install
mvn eclipse:eclipse

2. Import --> General --> Existing project into workspace --> Next --> Select Root Directory --> set the project path --> finish

3. Right click on the project and press [Convert to mule studio project]

Monday, December 19, 2016

Is there a way to collapse all code blocks in Eclipse?

There is a hotkey, mapped by default to Ctrl+Shift+NUM_KEYPAD_DIVIDE.
You can change it to something else via Window -> Preferences, search for "Keys", then for "Collapse All".
To open all code blocks the shortcut is Ctrl+Shift+NUM_KEYPAD_MULTIPLY.
In the Eclipse extension PyDev, close all code blocks is Ctrl + 9
To open all blocks, is Ctrl + 0


Resource Link: http://stackoverflow.com/questions/1726525/is-there-a-way-to-collapse-all-code-blocks-in-eclipse