How to: Use Task List Shortcuts
In most Visual Studio programming languages, you can use Task List shortcuts much like bookmarks to mark lines of code. As with bookmarks in the Bookmarks window, you can click on any shortcut displayed in the Task List to display the file indicated in the code window and jump to the line of code marked.
For information on setting and using bookmarks, see How to: Bookmark Code. For information on inserting Task List comments, see How to: Create Task List Comments.
To add a Task List shortcut
In the code window, place the insertion point within the line you want to mark.
On the Edit menu, select Bookmarks and choose Add Task List Shortcut.
A blue arrow icon appears the Indicator margin of the Editor next to the selected line.
In the Task List, select Shortcuts in the dropdown box.
A new Task List shortcut entry displays the text of the marked line. Each entry includes a Description, a File name, and the Line number in that file marked by the shortcut.
To edit the text of the new entry, select Description.
Note
Editing the Description of a shortcut in the Task List window does not modify the line marked in the Editor.
To jump from a Task List shortcut to a line of code
In the Task List, select Shortcuts in the dropdown box.
Double-click any shortcut entry.
The file opens and the line is selected.
To indicate that a task has been completed
Finish editing line marked by the shortcut.
In the Task List, select the check box for the shortcut entry.
The shortcut entry is now shown with a strikethrough, but it is still active. The blue arrow icon for the shortcut remains in the Indicator margin of the Editor next to the line marked.
To remove a Task List shortcut
In the Task List, select the shortcut no longer needed.
On the Edit menu, select Bookmarks and choose Remove Task List Shortcut. When a message box pops up to confirm the operation, click OK.
The shortcut entry is removed from the Task List, and the corresponding blue arrow icon is removed from the Indicator margin of the Editor.
See Also
Tasks
How to: Navigate Code and Text
Reference
Concepts
Editor Convenience Commands and Features