javaeclipsegoogle-java-format

Add Eclipse plugin via dropins on MacOS


I used to add a google-java-format plugin in Eclipse via drop an e.g. google-java-format-eclipse-plugin-1.13.0.jar into a dropins folder. On Windows and Linux it always worked.

But on MacOS 12.6 it looks like it doesn't. Eclipse version: 2022-09 (4.25.0)

Here is how I do it:

  1. I have an Eclipse.app in ~/programs/Eclipse.app
  2. Right-click, Show package content
  3. Pasting a given jar google-java-format-eclipse-plugin-1.13.0.jar under: Eclipse.app/Contents/Eclipse/dropins
  4. (Re)Starting Eclipse

I've also tried with adding -clean option in eclipse.ini but it doesn't help.

I see that changes in Eclipse.app are used, because if I make some change I see an effect (e.g. breaking changes in eclipse.ini, then it doesn't start).

Any ideas?


Solution

  • It looks like downloading a fresh Eclipse with a fresh empty workspace solved the problem.