Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to automatically convert Visual Studio TODO comment tasks into Team Foundation work items?

In visual studio, one can create "tasks" by inserting comments like this:

//TODO: Make me a sandwich before looping.

These tasks can then be viewed under the View > Task List menu. But these tasks are entirely independent from Team Foundation Server.

It would be extremely useful to be able to automatically create a new Team Foundation work item when a TODO task is added, so that the work item can be assigned, commented, attached to, linked, and associated with check-ins, etc.

Anyone know if this is possible?

like image 230
defines Avatar asked Jun 09 '11 12:06

defines


1 Answers

My suggestion - even if it was somehow possible:

Don't do that :)

//TODO: is very lightweight, you can add/remove/modify those lines as you like with no impact besides being source controlled.

TFS work items are much more heavyweight and process oriented (only so-and-so many state changes are allowed according to a process template).

Synchronization and keeping track would be a nightmare. Therefore I think nobody I know of does it.

like image 172
oleschri Avatar answered Sep 28 '22 15:09

oleschri