Or click the little down arrow in the top right part of the tasks view and choose configure contents. You can then choose your configuration and select "on selected element and its children". This will show the TODOs for the project you have currently selected.
For all open projects, Maneesh's suggestion is better. I find it more convenient to customize further.