Eclipse建working set

转自:

Real World Problem

Suppose you are having a requirment in which you have atleast 10 projects in your Workspace where the Eclipse is pointing & you want that the package explorer will show only the project on which you are working on and not display the other packages/Folders?

You may have different solution for this problem Like

1.Move the project into different workspace.

2.In project explorer,Closed the project on which you are not working and custumize the view to exclude the close projects.

3.In package explorer,Closed the project on which you are not working and filter the items to exclude the closed projects.

4.But the simple and best solution is define the working sets

Working sets are simply, as their name suggests, a sub-set of files/classes/folders/projects that represent a certain developer workflow.Developer have so many options while dealing with a working set.Working set allows you to group many projects in a single group that belongs to single application.Working sets are defined as global means they are available with each perspective.

Now to create a working set let us we have 6 project in our Eclipse in package explorer

To Open Package Explorer

Windows->show View ->package Explorer

In package Explorer,Click on View Menu and select Working set

Windows like below will open there click on New it will open an other window where you can have choices which kind of working set you want to have is it a resource,Breakpoint,java etc

As we are creating a working set for Java so click on that

Now a window will open here,give the name of working set,after that select the projects Testing,Testing_1,Testing_2,Testing_4 and say add,This will add the project in working set and then click Finish

After you click on finish you will get a window like below where you can Select the working set created and say ok

If you see in the package Explorer only 4 projects which we have selected in Working set will be available

You can also deselect the working set by clicking Deselect working set

,选择逃避,选择被动的去面对生活。

Eclipse建working set

相关文章:

你感兴趣的文章:

标签云: