Eclipse - "On Demand" Download Plugin

I have many plugins installed on Eclipse Luna (including Spring, JBoss, Android, Genymobile, Tomcat, Apache, Axis, ...). enter image description here

However, as you can argue, I am not using them all at the same time. They also seem to slow down Eclipse in many ways. So, I would like to do this to prevent eclipse, to load them on startup and instead only as needed. Is there a way to achieve this goal?

+3


source to share


2 answers


Eclipse startup is lazy by default. It will read all of the plugin manifests to determine their dependencies and if they add themselves to the UI and the like. But they will only be launched if they are used.

Say the plugin adds a view. It will be selected in the browse dialog, but no code will be loaded until you decide to use it. I believe this is the same with toolbar buttons and menu items, but if they need code to determine their enabled state (as many do), which will most likely require a full plugin load.

You can install plugin functionality in Eclipse to get a view of the plugin registry. From there, you can see which plugins are actually active. The list is likely to be smaller than you think.

However, to make it even smaller:



  • Remove plugins you never use
  • Set up your perspective to remove views you never use.
  • Customize toolbar and menus to remove buttons and functions that you never use.

Removing plugins on startup is not a good idea, as they might rely on some functionality to run at startup.

Some plugins tend to completely hijack your Eclipse installation and download themselves no matter what you do. I used Aptana as an Eclipse plugin a few years ago, and that's how it is. For this I had to create a separate installation. If you are using heavyweight plugins that add a lot of functionality, it may be a good idea to keep separate Eclipse installations for them.

+3


source


In the Windows-> Preferences-> General-> Startup and Shutdown window, a list of installed plugins will appear, select the plugins you want to activate at startup.



0


source







All Articles