views:

66

answers:

3

In Eclipse (Galileo) is it possible to filter the list of TODO and FIXME tasks by a specific specific file, or several files? Instead of having the whole list for the entire project.

+1  A: 

I couldn't see a way to do exactly what you wanted.

In a single file you can open the file and locate the TODO items by the icons in the margin.

You can also open the Tasks view (Window->Show View->Tasks) and sort the tasks by clicking on the column headings. Sorting by "Resource" or "Path" might give you some part of the functionality that you are looking for.

You might also look at the Mylin task management plugin. You can create Mylin tasks from TODO items, and you might be able to to more with Mylin's Task List view than you can with TODO's Tasks view.

richj
+2  A: 

I am not running Galileo, but slightly older version of Eclipse. However, you can at least filter the task list by task description, if not the file name. Open the menu of the Tasks view and from there choose Configure Filters... Configure Contents.... From there, you can set up a filter that filters data based on the content of task description. Perhaps you can use this to achieve what you want.

(Plus I'm sure that in case new functionality has been added to the filter configuration in Galileo, it will be obvious from the Configure Contents window.)

Hope this helps.

Tommi
It's called "Configure Contents..." in Galileo.
richj
Ok, thanks richj!
Tommi
+2  A: 

You can select through the upper right arrow of the Task View the option "Configure Content"

From there, you should select a narrower filter like:

"On selected element only"

alt text

VonC