.. _How to use Working Sets for filtering Problems/Task/Search views?:

How to use Working Sets for filtering Problems/Task/Search views?
=================================================================

First of all, in general you can customize the contents of the
Problems/Tasks/Search views by using the :menuselection:`View Menu --> Configure contents`.

To see only the issues/tasks related to "your own code", you must first tell Eclipse what "your own code" means, and this can be achieved by using **Working Sets**.

For easier access to Working Sets related commands, you should first enable two command groups: go to :menuselection:`Window --> Customize Perspective --> Command Groups Availability`, and from the Available Command Groups list on the left select **Window Working Set** and **Working Set Manipulation**.

.. figure:: ../../images/edt-working-sets-command-group.png
	:align: center

Now, there should be **three new buttons in the Eclipse toolbar** that allow you to select/deselect current working sets and add/remove resources from existing working sets.

.. figure:: ../../images/edt-working-sets-buttons.png
	:align: center

#.  Modify workbench working sets
#.  Add the selected elements to a working set
#.  Remove the selected elements from a working set

Using the **add/remove buttons** you can craft one or more Working Sets to contain various sets of resources (i.e. files/folders). If you haven't created any working sets before you will be prompted to create a new one. Then, using the ' **Modify Workbench Working Set** ' button you can select several sets of resources form the ' **Current Working Set** '.

.. figure:: ../../images/edt-working-sets-new.png
	:align: center

Finally, to achieve the **Problems View/Tasks View** filtering you require,you should create a filter (:menuselection:`View Menu --> Configure contents --> New`) with the **Scope** set to ' **On Working Set: Window Working Set** '. With this filter activated, the **Tasks** and **Problems views** will only show the errors that are contained in the sets selected from the toolbar dropdown.

.. figure:: ../../images/edt-working-sets-config-contents.png
	:align: center

.. figure:: ../../images/edt-working-sets-new-filter.png
	:align: center
