afaik the eclipse task list is workspace-based and cannot really be filtered by default.


filtering by working sets works fine, but i had to put the packages into a working set, rather than the whole project.


simply close the projects you are not working on.
you can leave them in the workspace, too.


in eclipse juno 4.2.1, i found that it's possible to disable specific projects todo tasks.

in the projects properties open: java compiler > task tags

from that page check the option "enable project specific settings" and remove the todo entry from the list below, after that the todo comments from that project won't be shown in tasks. you could also remove other tags from the list.


configure contents... can be used to filter to things like working sets (if you're not already using working sets, you should), but yet another way is to use mylyn to filter out any ui elements not relevant for what you're currently working on.


in eclipse 2019-06:

1- open the tasks window.
2- click on the arrow pointing down .
3- click on filters...
enter image description here

4- in the configurations panel on the left select todos (or any configuration that you have saved).
5- under scope select on elements in selected projects
enter image description here

6- click on apply and close

now the task view will only show the tasks of the project where you are at the moment.


close projects that you aren't working on. tasks show for any part of the workspace, so remove projects that you arent working on by doing a close operation. (right click on the project in the project explorer and then "close project")


there should be a down arrow in the top-right with several options in it. for the old eclipse the option you want is filters... and for the newer eclipse the option is now configure contents. at the top of the configure contents dialog is a scope selection with options you want, i think.. if not check preferences and search for tasks, or scope. it should be in there somewhere.


in eclipse helios (3.6) you can configure the scope.

down arrow at the top right -> configure contents:

configure contents img

select a configuration on the left (or create a new one) and on the right in the scope section select "on any element in same project".

Related Query

More Query from same tag