The update site will contains some plugins:
- Static Import plugin: contribute to the Favorites and add some static import, such as
java.util.Collections
. This plugin will add a default set of imports. Note: this plugin will not scan for static methods in your project, it will only add a fixed set of static import.
To install the plugin(s), simply follow theses step:
- Open Help > Install New Softwares
- Add https://glhez.github.io/eclipse-plugins (simply paste the URL and press enter, it should work)
- Select the plugin you want to install
For various reasons, I began to rename my project package from fr.glhez
to com.github.glhez
.
I did not find a simple way to say to Eclipse that the new plugin/feature are superseding the previous one.
TL/DR: old plugin fr.glhez.eclipse.plugins.staticimport
/ feature fr.glhez.eclipse.features.all
must be removed.
If you forget to clean your Eclipse, then the PreferenceInitializer
will get called twice which is unneeded.