Click here to Skip to main content
11,705,212 members (47,673 online)
Click here to Skip to main content

Task List Feature of Visual Studio Framework

, 30 Sep 2013 CPOL 41.4K 42
Rate this:
Please Sign up or sign in to vote.
This is all about Task list window which is helpful in managing our comments within the code.

Introduction

This is my first .NET article on CodeProject. This is all about Task list window which is helpful in managing comments. Most of us are not aware of this feature. That’s why I decided to write an article on this feature of the VS framework.

Task List

Task list is nothing but an integrated to-do list within the Visual Studio framework. We can use Task list feature of VS framework to create 3 types of tasks.

  1. Comments
  2. Shortcuts
  3. User Tasks

To view Task List window, select the task list entry as shown in Fig 1.

TaskList/1.JPG

Figure 1: How to open Task list window

All the three tasks are listed in the dropdown of Task list window [Fig 2].

TaskList/2.JPG

Figure 2: Task list window with category list

1. Comments

Comments are the tasks that we want to perform in the code. Suppose we want to create a function which returns the addition of two integers. And this task remains uncompleted because of some other task. We can add a comment using TODO and later perform this task. [As given in Fig 3]:

TaskList/3.JPG

Figure 3: Comments task list window with TODO comment

Here TODO is nothing but an identifier and any comment that starts with TODO is listed in the Comment window of the task list. TODO is one of the identifiers that is in Visual Studio by default. We can create an identifier of our own. Click Tools -> Options. In the Options dialog, select Environment -> Task List option. Enter name of the identifier in the name box and click add. We can set the priority of an identifier by selecting priority dropdown list.

TaskList/4.JPG

Figure 4: How to add user defined identifier

After creating the Test1 identifier, we can use it in our code as shown in Fig 5. It is added in the comments task list window. If we double click the comments task, we can jump to the line of code where we place the comment.

TaskList/5.JPG

Figure 5: User defined identifier example in Comments

2. Shortcuts

Shortcut tasks are nothing but links to the line of code within the project. They are similar to bookmarks. We can jump to the line of code by clicking the shortcut task of task list window.

To add a shortcut task, just click Ctrl+E, T Or go to Edit -> Bookmarks -> Add task list shortcut

If we completed a particular shortcut task, just check the checkbox associated the task. This is only for our information.

TaskList/6.JPG

Figure 6: Shortcut symbol and Shortcut window

3. User Tasks

User task are the tasks that the user wants to do. It's either personal or project related he/she wants to list. User tasks are directly entered in the task list window. We need to click a button near the category dropdown list to add a new user task as shown in Figure 6.

If we completed a particular user task, just check the checkbox associated with the task.

TaskList/7.JPG

Figure 7: User tasks window

Summary

This article is for entry level programmers who do not know the Task list feature of Visual Studio .NET Framework.

History

  • Written on 03 August 2011, Wednesday

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sandesh M Patil
Software Developer (Senior)
India India
Sandesh has a 6 years of total professional experience in a software development. He first handled the computer in his school days when he was in 7th std working on Lotus. In summer vacation, the school authorities allowed him and other students to use the computers for practicing Lotus and playing different games Smile | :) .

He has done computer engineering. Currently he is working in Net 4.0 framework. Even though he is using .Net 4.0 framework for development but still he has not got a chance to work with newer technologies like MVC, WCF etc. However he always try to learn these technologies from his end and eagerly waiting for a chance to work with the newer technologies like MVC, WCF and Silverlight etc.

You may also be interested in...

Comments and Discussions

 
Questionquesiton Pin
Dan page25-Jun-13 2:02
memberDan page25-Jun-13 2:02 
AnswerRe: quesiton Pin
$andesh M Patil1-Oct-13 4:12
member$andesh M Patil1-Oct-13 4:12 
GeneralMy vote of 3 Pin
Pie At The Raven28-Feb-13 1:54
memberPie At The Raven28-Feb-13 1:54 
GeneralRe: My vote of 3 Pin
SChristmas28-Feb-13 2:18
memberSChristmas28-Feb-13 2:18 
QuestionThanks Pin
Ted Goulden14-Jan-13 9:16
memberTed Goulden14-Jan-13 9:16 
AnswerRe: Thanks Pin
SChristmas14-Jan-13 22:22
memberSChristmas14-Jan-13 22:22 
GeneralMy vote of 3 Pin
Vincent02613-Jan-13 23:16
memberVincent02613-Jan-13 23:16 
GeneralRe: My vote of 3 Pin
SChristmas14-Jan-13 22:20
memberSChristmas14-Jan-13 22:20 
GeneralRe: My vote of 3 Pin
Vincent02614-Jan-13 23:08
memberVincent02614-Jan-13 23:08 
GeneralMy vote of 3 Pin
MandarKatre13-Jan-13 18:30
memberMandarKatre13-Jan-13 18:30 
GeneralMy vote of 4 Pin
Ahmed Habbachi13-Jan-13 0:25
memberAhmed Habbachi13-Jan-13 0:25 
GeneralRe: My vote of 4 Pin
SChristmas14-Jan-13 22:24
memberSChristmas14-Jan-13 22:24 
GeneralMy vote of 5 Pin
Fosna8-Nov-12 22:09
memberFosna8-Nov-12 22:09 
GeneralRe: My vote of 5 Pin
SChristmas12-Nov-12 1:11
memberSChristmas12-Nov-12 1:11 
QuestionBit light, but useful... Pin
Naerling22-Jul-12 5:39
memberNaerling22-Jul-12 5:39 
GeneralMy vote of 5 Pin
Tieske819-Aug-11 12:30
memberTieske819-Aug-11 12:30 
GeneralRe: My vote of 5 Pin
SChristmas7-Sep-11 1:01
memberSChristmas7-Sep-11 1:01 
GeneralRe: My vote of 5 Pin
Tieske87-Sep-11 1:40
memberTieske87-Sep-11 1:40 
Since I know of it, I'm using it a lot! would change it to a 6 if I could Smile | :)
QuestionIs this really a subject matter worthy of an article? Pin
Slacker0073-Aug-11 7:24
memberSlacker0073-Aug-11 7:24 
AnswerRe: Is this really a subject matter worthy of an article? Pin
SChristmas3-Aug-11 7:33
memberSChristmas3-Aug-11 7:33 
GeneralRe: Is this really a subject matter worthy of an article? Pin
Slacker0073-Aug-11 7:39
memberSlacker0073-Aug-11 7:39 
GeneralRe: Is this really a subject matter worthy of an article? Pin
Craig Pelkie8-Aug-11 21:01
memberCraig Pelkie8-Aug-11 21:01 
GeneralRe: Is this really a subject matter worthy of an article? Pin
Kent K9-Aug-11 8:15
memberKent K9-Aug-11 8:15 
GeneralRe: Is this really a subject matter worthy of an article? Pin
pk_davidson9-Aug-11 19:17
memberpk_davidson9-Aug-11 19:17 
GeneralRe: Is this really a subject matter worthy of an article? Pin
Red Feet9-Aug-11 23:38
memberRed Feet9-Aug-11 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 30 Sep 2013
Article Copyright 2011 by Sandesh M Patil
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid