In this article, we will look into Task List window and how it is helpful in navigating through code. This window shows code comments that use tokens such as TODO or HACK, or custom tokens, and to manage shortcuts that will take you to a specific location in the code.
Let’s open Visual Studio 2015 and create a sample Console application named as “TaskListDemo”
We can open Task List by going to View -> Task List (or) shortcut: Ctrl + \, T.
For example, in below comment:
// UNDONE: Remove this comment from Task List
// - comment marker
UNDONE: Task list built-in token
The rest of the text is a comment.
Let’s add some comments that include HACK, TODO, UNDONE in it. These tokens are predefined, recognized by Task List and will be displayed in Task List as shown below:

Double-click on specific task to take you to that line of code.
We can add our own tokens as well by going to Tools -> Options -> Environment -> Task List as shown below. Enter a Name, priority and click on Add.

We can add a bookmark\shortcut as well in the code, which is different from regular bookmark and will be shown in Task List as shown below:

Click on Edit -> Bookmarks -> Add Task List shortcut, [Ctrl+K, Ctrl+H]. Double-click on shortcut in Task List to go to that location in the code.
We can navigate through the shortcuts in the code by choosing a shortcut in the list, and then choose Next Task or Previous Task from the shortcut menu.

The user task feature, that is present in prior versions like VS 2013 has been removed and won’t be displayed in Task List in VS 2015.
I am ending things here, I hope this article will be helpful for all.
We can open Task List by going to View -> Task List (or) shortcut: Ctrl + \, T.
For example, in below comment:
// UNDONE: Remove this comment from Task List
// - comment marker
UNDONE: Task list built-in token
The rest of the text is a comment.
Let’s add some comments that include HACK, TODO, UNDONE in it. These tokens are predefined, recognized by Task List and will be displayed in Task List as shown below:

Double-click on specific task to take you to that line of code.
We can add our own tokens as well by going to Tools -> Options -> Environment -> Task List as shown below. Enter a Name, priority and click on Add.

We can add a bookmark\shortcut as well in the code, which is different from regular bookmark and will be shown in Task List as shown below:

Click on Edit -> Bookmarks -> Add Task List shortcut, [Ctrl+K, Ctrl+H]. Double-click on shortcut in Task List to go to that location in the code.
We can navigate through the shortcuts in the code by choosing a shortcut in the list, and then choose Next Task or Previous Task from the shortcut menu.

The user task feature, that is present in prior versions like VS 2013 has been removed and won’t be displayed in Task List in VS 2015.
I am ending things here, I hope this article will be helpful for all.
Read more articles on Visual Studio 2015:


Karthik ElumalaiPosted Apr 29, 2016, 1:09 AM EDT
It was usefull,thanks for sharing...:
Humayun Kabir MamunPosted Apr 28, 2016, 9:53 AM EDT
Nice...
Thiruppathi RPosted Apr 28, 2016, 5:11 AM EDT
Great info
Sonu ChaudharyPosted Apr 27, 2016, 12:11 PM EDT
Good one...
Rahul Kumar SaxenaTOP 100Posted Apr 27, 2016, 9:27 AM EDT
Good Show
Debasis SahaTOP 100Posted Apr 27, 2016, 6:14 AM EDT
Good One..
Sonu ChaudharyPosted Apr 27, 2016, 4:04 AM EDT
nice share
Bhuvanesh MohankumarPosted Apr 26, 2016, 10:59 PM EDT
Nice
Gowtham RajamanickamTOP 100Posted Apr 26, 2016, 10:22 PM EDT
good one..
Vivek KumarPosted Apr 26, 2016, 8:58 PM EDT
Nice sharing
Hari ShankerPosted Apr 26, 2016, 7:42 PM EDT
nice thanks for sharing
Bhavik PatelPosted Apr 26, 2016, 6:05 PM EDT
useful
Kumaresh RajalingamPosted Apr 26, 2016, 5:54 PM EDT
Good one
Kuppurasu NagarajTOP 100Posted Apr 26, 2016, 10:42 AM EDT
Nice Sharing..