Compartir a través de


Options dialog box: Environment > Task List

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This Options page allows you to add, delete, and change the comment tokens that generate Task List reminders. To display these settings, select Options from the Tools menu, expand the Environment folder, and choose Task List.

Task List Tokens

When you insert a comment into your code whose text begins with a token from the Token list, Task List displays your comment as new entry whenever the file is opened for editing. Click a Task List entry to jump directly to the comment line in your code. For more information, see Using the Task List.

Token List
Displays a list of tokens, and allows you to add or remove custom tokens. Comment tokens are case sensitive in C# and C++, but not in Visual Basic.

Note

If you don't type the desired token exactly as it appears in the token list, a comment task will not be displayed in Task List.

Priority
Sets the priority of tasks that use the selected token (low, normal, or high). Task comments that begin with this token are automatically assigned the designated priority in Task List.

Name
Enter the token string here and then click Add to add the string to the token list.

Add
Enabled when you enter a new Name. Click to add a new token string using the values entered in the Name and Priority fields.

Delete
Click to delete the selected token from the token list. You cannot delete the default comment token.

Change
Click to make changes to an existing token using the values entered in the Name and Priority fields.

Note

You can't rename or delete the default comment token, but you can change its priority level.

See also