Saturday, August 31, 2013

Tip 5.26: How to create and view TODO comments in the Task List

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Let's focus now on the other aspect of the Task List: the comments left in the code. You need to drop down the combo box at the top right to show Comments to be able to see your comment tokens (for example, UNDONE, TODO, and HACKS) in the Task List.



So let's say that you have a TODO comment in your code as shown here.



By going to the Comments view in the Task List, you can now see your TODO comment.



Happy Programming! =)
Posted by Nils-Holger at 1:02 PM with 513 comments.

Friday, August 30, 2013

Tip 5.25: You can assign a priority to your Task List's user tasks

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Now that you've created a user task, you can assign a priority. She calls this out as a separate tip, as it is most likely not intuitive that you can do this. Under the ! (exclamation point) column, you can click any cell to pop open the priority combo box.

VSTip5250

Then you'll be able to view and sort your user tasks based on priority.

VSTip5250a

Happy Programming! =)
Posted by Nils-Holger at 1:02 PM with 1114 comments.

Thursday, August 29, 2013

Tip 5.24: You can use the Task List to create user tasks that are separate from your code

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



A user task is saved in the .suo file per user, unlike a TODO, HACK, or UNDONE comment that you type into your source code. A .suo file stores all of a user's solution customizations, which you wouldn't want checked into source control.

VSTip5240

To create a user task, open View–Task List, make sure User Tasks is displayed in the combo box drop-down list, and then click the Create User Task button on the toolbar. Note that you can create the first task by directly editing the first row in the task list, but after that you need to press the button. Then, as you finish your task, you can check the check box next to it to scratch it off.

VSTip5240a

And to delete a task, simply right-click it and choose Delete.

VSTip5240b

Happy Programming! =)
Posted by Nils-Holger at 12:11 PM with 507 comments.