Saturday, August 9, 2014

How to create a working set in Eclipse

So, the amount of imported projects that your eclipse IDE has, seems like turning it into a mess?

Have you already thought of a way to separating them into smaller sets, according to the project/concept that they rely on?

Here is an example of mine, when I wanted to split some of the projects, regarding the JCG community.

1) Near the "Package Explorer", click the drowdown button (the corresponding tooltip names it "View Menu") :

2) From the options provided, click on Select Working Set:

3) Select th Java as the Working set type:

4) Create a new Window Working Set:

5) Give a name to the working set and after selecting the projects that you want to be added to it, click "Finish":

6) After creating the working set, a window pops up, prompting you to declare the working sets that you currently want to work with, so just check them and click "OK":

7) Obviously, now the Package Explorer is set up according to the projects included in the selected working set:

Alternative Paths
  • You can edit the existing projects of a working set by selecting Edit Active Working Set from the "View Menu" dropdown (this option is visible if there is at least one working set in your Eclipse environment).
  • You can deselect a working set in order to get the Package Explorer to its initial state (displaying all existing projects in the workspace that Eclipse runs on) by clicking Deselect Working Set from the "View Menu" dropdown.