Is there any way in Visual Studio to prefix comment while commiting?

Viewed 77

From the screenshot below

enter image description here

I want to prefix my comment to the changes including work item's id. So I expect to get this:

TFS - 123: Want to prefix this comment with work item's id

Currently I need to enter work item's id in both places in Comment and Related Work Items sections which is borring. What I want is just pass them into one place (Related Work Items section) and when I click Check In Visual studio will automatically prefix my comment.

Would be nice to set some pattern how to prefix: TFS - {id}: {comment} or something like that in Visual Studio settings.

0 Answers
Related