简体   繁体   中英

How to organize Eclipse - Workspace VS Programming languages

I use Eclipse for programming in PHP (PDT), Python and sometimes Android. Each of this programming languages requires to run many things after Eclipse start.

Of course I do not use all of them at one moment, I have different workspace for each of those. Is there any way, or recommendation, how to make Eclipse to run only neccessary tools when opening defined workspace?

eg:

I choose /workspace/www/ , so then only PDT tools will run

I choose /workspace/android/ , so then only Android tools and buttons in toolbars will appears

Do I have to manually remove all unneccessary things from each of the workspace? Or it is either possible to remove all?

The plug-ins are stored in the Eclipse installation, not in the workspace folder. So one solution would be to different Eclipse installations for every task, in this case only the required plug-ins would load (and the others not available), on the other hand, you have to maintain at least three parallel Eclipse installations.

Another solution is to disable plug-in activation on startup: in Preferences/General/Startup and Shutdown you can disable single plug-ins not loading. The problem with this approach is, that this only helps to not load plug-ins, but its menu and toolbar contributions will be loaded.

I haven't done this myself... but apparently you can have ONE installation of Eclipse with multiple configurations: see this stackoverflow question .

Using different Eclipse configurations (as described in the link) would allow you to open Eclipse differently and thus only load the plugins you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM