Find shelvesets via Visual Studio as quickly as possible

前端 未结 4 1507
囚心锁ツ
囚心锁ツ 2021-02-07 19:15

I need to review many shelvesets using Visual Studio every day. I have added the TfsPendingChanges command to the my toolbar, but the rest of the procedure to acce

相关标签:
4条回答
  • 2021-02-07 19:15

    If you go to right click and then "Customize" on any toolbar, it will bring up a dialog. Press the "Keyboard" button on it, choose File.TfsUnShelvePendingChanges and assign a Hot Key to it. I do believe that the Source Control Explorer window needs to be open and active for your hot key to work.

    OR...This may not be exactly what you are looking for, but if you have the Source Control Explorer window open and active, then ALT-F ALT-R ALT-F ALT-F ALT-S will bring up the dialog. That is actually navigating File/Source Control/Find/Find Shelvesets.

    0 讨论(0)
  • 2021-02-07 19:22

    The easiest way to work with Shelvesets is to use the new My Work feature. By suspending and resuming work Visual Studio will automatically do all the Shelveset magic for you with a simple drag/drop of the task that you want to have in progress.

    The same applies to reviews, Suspend your current work, or create a new temporary workspace, open the Review Request, let it unshelve the changes automatically and when you're done go back to where you were by resuming your previous tasks.

    It's really great once you get the hang of it. That it uses Shelvesets under the hood is nice to know, but this way you don't really need to know, it just works.

    As for TWA Diff, there've been great improvements with TFS 2012 Update 2 which is almost ready to be released...

    0 讨论(0)
  • 2021-02-07 19:29

    Command that you are looking for is TfsUnshelvePendingChanges under File.

    Right click on any toolbar, click on customize and a dialog will open. Go to 'Commands' tab on the top.

    Choose appropriate button out of Menu Bar | Toolbar | Context Menu. Select the desired option under that. My favorite is to add it to Toolbar>Work Item Tracing (toolbar where New Item/Open Item appears).

    After choosing from above step appropriately, click on 'New Command'. Then select to File>TfsUnShelvePendingChanges. This will add a shortcut to unshelve changes.

    Thanks to @Alex for pointing out the correct command name. Writing here separately for people looking for answers in future.

    0 讨论(0)
  • 2021-02-07 19:41

    If this is only for reviews then maybe Team Web Access would be better for you? Just navigate to http://:8080/tfs/web/, select team project, then click Source Tab and Find Shelvesets. You can then open each shelveset in new browser window and it will list all changes and allows you to quickly do compare etc.

    0 讨论(0)
提交回复
热议问题