When you have 5+ languages and 100+ projects, IMO the default of using one workspace is not acceptable because the one workspace becomes horribly disorganized. Having one huge unorganized workspace lowers your productivity.
The question:
What are the more advanced ways of using Eclipse when you have 5+ languages and 100+ projects? I would really appreciate advice that elaborates a little bit more than just giving one sentence like "use multiple workspaces" or "use working sets".
"Must have" requirements:
- The project navigator only shows related projects (like only projects from abc language or only projects from xyz language)
- The described method is currently being used by you or someone you know and has been used for more than two weeks
"Would like" requirements:
- the ability to be able to have projects with the same name (like "helloworld" for language xyz and "helloworld" for language abc)
(Side note:
FYI, one of the reasons for asking on SO.com is because I have searched enough on Google to know that there are LOTS of people who have the same "Help my Eclipse workspace is out of control" problem. )
If these projects are completely independent from each other, I would create separate workspaces, one workspace for each set of projects that are connected and cannot be built on their own. Is there a reason you don't want to split to multiple workspaces? I'm pretty sure this is how Eclipse was intended to be used in this case. I've done it many times and find it to be a good solution.
In fact there is no problem in using single workspace even when there are large number of projects.
Ways to improve performance
Build Automatically
fromProject
menuWay to reduce the clutter
Use
Working Set
to drill down to the specific set of projects.Select the submenu (down arrown button) on Navigator view and select the
Select Working Set
. Then create a working set by selecting theNew
button. SelectResource
on the new popup window and select the projects that you wish to currently work on. Navigator view only show these projects.You can switch between different working sets whenever you felt the need.Hope the answer will help you.
I'm a Java web developer. Not all of our production servers have the same version of java. So, I make separate work spaces for each java version.
So, the defaults for one work space is Java 1.5, and another one is Java 1.6. And I have a separate work space for personal games I'm developing.
The way I work with my hundreds of projects is this:
For example, my big workspace uses SpringSource Tool Suite, but my side-project workspaces are vanilla Eclipse with m2eclipse installed.
I find that this works well as long as I don't have too many projects opened at once in my big workspace.