开发者

Visual Studio 2010 - How to get TFS options to show in toolbar and window tab context menu

开发者 https://www.devze.com 2023-03-22 20:06 出处:网络
This is to do with setting up my Visual Studio to do TFS workflows in a convenient manner. Currently I have to lookup the code file, seek it in my Solution Explorer and then right click on that file t

This is to do with setting up my Visual Studio to do TFS workflows in a convenient manner. Currently I have to lookup the code file, seek it in my Solution Explorer and then right click on that file to see the Source Control Options. I am aware there is the option to right click within the source and select Source Control, but I would like to enable more options.

What I would like to do is right-click on the code window tab, and for the Source Control options to show up. This was how I worked with SVN and AnkhSVN plugin for VS. The specific items I would like to see is 'View History' and 'Annotate'.

Another thing I noticed in my toolbar, I have setup the Source Control - Team Foundation options, and I have checkin, checkout, View History, but I can't get Annotate to show up as an option. I can't believe MS would have skipped on this option, there must be something I'm doing wrong.

If anyone knows how I can enable the TFS Source Control context menus on the code tab, or how to add Annotate on the toolbar menu, that would be great.

开发者_StackOverflow

Thank you in advance.


The options to view history and see an annotated view of the file is available from the right click menu in the editor. Does that satisfy your needs, or are the reasons for specifically wanting it on the tab?

Here's how to add the Annotate button to the TFS source control toolbar.

  1. For that toolbar, click "Add or Remove Buttons" and click "Customize...".

  2. In the Customize dialog, click "Add Command...".

  3. Choose "File" in the left column, and choose "TfsAnnotate" in the right column.

Buck

Visual Studio 2010 - How to get TFS options to show in toolbar and window tab context menu

0

精彩评论

暂无评论...
验证码 换一张
取 消