1 out of 1 rated this helpful - Rate this topic

Task List (Visual Studio)

Updated: December 2010

The Task List helps you create and manage a list of programming tasks. In the Task List window, you can do the following:

To display the Task List, click Task List on the View menu. Use the Categories drop-down list to select the entries you want to display.

To sort the list, click any column header. To sort the results of the first sort, press and hold the SHIFT key and then click another column header.

To display or hide columns, right-click the Task List window and then click Show Columns.

To change the order in which columns are displayed, drag any column header to the location you want.

Categories

Lets you select the type of task entry that is displayed. By default, the following are selected:

  • User Tasks (tasks entered in the Task List).

  • Comments (tasks entered as comments in your code, prefaced by a token keyword).

Only categories that have tasks are listed. New categories can be added by other applications.

Create User Task

Adds a new line to the User Tasks pane of the Task List when you click this icon containing the red checkmark. The new line has a cleared check box in the Completed column and an editable field in the Description column.

Priority

Indicates the importance of the task.

Completed

Indicates whether you have completed the task.

Description

Entered in the Task List for User Tasks, or entered in your code for Task Comments.

File

Displays either the file name only or the path and file name.

To specify which is displayed, select or clear the option Show only the file name, without the file path on the Task List page of the Options dialog box. For more information, see Task List, Environment, Options Dialog Box.

Line

Indicates the line in your code where a Task Comment occurs.

Column

Indicates the column in your code where a Task Comment occurs.

The following commands are displayed when you right-click the Task List.

Sort By

Sorts the Task List by the selected column for the active Category.

To sort the results of the first sort, press and hold SHIFT and then click another column header.

Show Columns

Select or clear check boxes to display or hide columns for the selected Category.

Copy

Copies the text of an entry.

Delete

Deletes a selected User Task. Task Comments must be deleted in your code.

Next Task

Selects the next task in the list and, if it is possible, jumps to the line in the code editor where the task starts.

Previous Task

Selects the previous task in the list and, if it is possible, jumps to the line in the code editor where the task starts.

Date

History

Reason

December 2010

Revised to remove incorrect link and to add additional information.

Customer feedback.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Where are the user task items saved?
In which file is this info stored?
Only seems to partially work in C++
I've got VS2010 SP1, I've turned on "Enumerate comment tasks" in Tools | Options. I've got a Native code (MFC) C++ project.

I find that the Task List only shows //TODO comments for the file I am currently viewing in the editor. If I switch to another file then its // TODO comments are added to the list and the previous ones are still remembered, but that's it.

There doesn't seem to be a way of getting all the //TODO comments in the project listed in the task window, short of opening every file in the editor, which is impractical.

Am I doing something wrong or is this a bug? Thanks.
It's work with C++ code in VS2010 too.
Check Tools->Options->Text Editor->C/C++->Formatting->Enumerate Comment Tasks is True.
Doesn't work with C++ code in 2010
$0It looks that VS does not detect TODO, TOFIX comment from the source files. Task List window is empty.$0 $0
Advertisement