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:
"Would like" requirements:
(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. )
You can remove the workspace from the suggested workspaces by going into the General/Startup and Shutdown/Workspaces section of the preferences (via Preferences > General > Startup & Shudown > Workspaces > [Remove] ).
If all of your old projects exist in a single directory or in a single parent directory, you can do File -> Import... -> Existing Projects into workspace. Choose a root directory that is a parent all of the projects you want to import. You will then be able to import all of the projects at once.
There is a similar concept in Eclipse to the solutions (similar, not equivalent): Project sets. It is only a GUI option to group your projects into sets. These sets cannot be executed together, and is only visible in the Project navigator. Another way is to create multiple workspace folders, and you can use them as an alternative to solutions.
An Eclipse workspace stores a lot of meta-information about projects, their physical location (possibly in or outside of the workspace folder), etc., and even workbench settings. It is not a good idea to upload this information into source control, as it is possible that other developer uses other physical locations for the projects, etc.
And when using project managers like Maven, one maven project is usually divided into many little eclipse projects. It's simply a best practice to have a separate workspace for a project.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With