DCSIMG
Better search and history add-in for Source Control Explorer - Team Foundation Sidekicks

Better search and history add-in for Source Control Explorer

Did you ever complain about search missing in TFS Source Control Explorer? Or did you ever need to research history of multiple items one after another, and that lazy history window did not update when you selected next item?

If you answered yes, then have a look at version 1.1 of Team Foundation Sidekick add-in. If you do not know what it is all about, you might also wish to have a look - just in case.

Version 1.1 of add-in is based upon Team Build Sidekick. It appeared to us that creating separate add-in would be a bad idea - after all Team Build is integral part of TFS, so new version was rebranded to Team Foundation Sidekick add-in and now it is useful to general TFS practioners, not only to Team Build afficionados.

New features in v1.1 are relatively uncomplicated and yet may give you a huge productivity boost.

Search Items feature allows you to search items in TFS source control and when found, select the item in Source Control Explorer. By the way, the search feature is also available in History Sidekick (part of Team Foundation Sidekicks stand-alone application).

To invoke "Search Items" window, you right-click any item in Source Control Explorer, and first menu appearing will be "Search Items" (see screenshot). Upon click on it, "Find Item" window will be invoked. As seen on screenshot below, it has three search criteria - search string, team project to search in, and item type to search. By default, empty search string (corresponding to any item), team project for selected item and all item types are the selected options. The search string may contain wildcards such as * (any number of any characters) or ? (any single character). Clicking upon "Find" button executes the search, and once item in list is selected it is possible to select that item in Source Control Explorer by clickin "Jump To Item" button (well, it actually selects the folder containing the item due to extensibility limitations). Search is performed for all or only not deleted items (depending on Source Control Explorer settings), and the item status is displayed in search results.

Dynamic History feature (configured through Tools->Team Foundation Sidekick window) provides for dynamic update of the "History" toolwindow. By default, in order to view item history one should right-click the selected item and click "View History". Want to view history for aniother item? Perform the same sequence again. When "Dynamic history" option is set in configuration (see screenshot), when item selection in Source Control Explorer changes "History" window is updated. If you need to view history of some ten items, that simple feature could be a huge time saver.
NB: it may be unwise to leave the option set at all times if you are using Source Control Explorer extensively, as every history refresh takes time, so if you see that selecting items becomes slow, turn the option off.

So check out Team Foundation Sidekick add-in latest version and let us know how that works for you. And by the way, to contiue the tradition from previous version, source code for the add-in new version is available.

Published Tuesday, November 07, 2006 8:10 AM by Eugene Zakhareyev
תגים:,

Comments

# Pretty cool TFS add-on

I just got mail informing me that Attrice has released a new version of their TFS add-on called TFS Sidekick.

Tuesday, November 07, 2006 2:54 PM by bharry's WebLog

# Pretty cool TFS add-on

I'm mostly posting these interesting blog posts I find for my own sake so I have a record of it somewhere.

Tuesday, November 07, 2006 5:21 PM by It's Way Too Early For This

# Team Foundation Sidekick add-in

Wednesday, November 08, 2006 9:26 PM by Lars Keller ...inspired by .NET

# Team Foundation Sidekicks add-in for Source Control Explorer

超酷的小工具,讓你能直接 搜尋到 TFS 版本管控的資訊, 透過 詢檔名 歷史資料等.. Link to Team Foundation Sidekicks : Better search and history

Friday, November 10, 2006 6:51 PM by Refines.Info["Polo Lee"]

# http://sstjean.blogspot.com/

Sunday, November 12, 2006 4:56 AM by TrackBack

# re: Better search and history add-in for Source Control Explorer

It looks like some of your event handlers for the TeamFoundationAddIn are removed. Can you check this for me. I want to write a blog about these tools and while testing I discovered the following. These handlers are not in FormConfigure.Designer.cs this.buttonBrowse.Click += new System.EventHandler(this.buttonBrowse_Click); this.radioButtonExternal.CheckedChanged += new System.EventHandler(this.radioButtonVS_CheckedChanged); Please update your add-in Mike

Thursday, November 16, 2006 5:27 PM by Mike Glaser

# re: Better search and history add-in for Source Control Explorer

Thank you Mike!

We have uploaded fixed version, and also I will create new post on it.

Friday, November 17, 2006 3:02 AM by Eugene Zakhareyev

# re: Better search and history add-in for Source Control Explorer

I would really like it if this add-in could optionally search within the source code. There's many times when I would like to know where a method or class is referenced.

Friday, February 09, 2007 7:40 PM by Simon

# re: Better search and history add-in for Source Control Explorer

Thanks for suggestion Simon. It is something that we were looking at; but unfrtunately only mechanism available for searching code in this version of TFS would be to retrieve all versions of files being searched to local hard drive; searching in database is not supported.

As this operation may be very lengthy that will probably limit the usefulness of such search.

Tuesday, February 13, 2007 10:26 AM by Eugene Zakhareyev

# re: Better search and history add-in for Source Control Explorer

When the Dynamic History feature is enabled, you cannot compare two items in the history list anymore. When you select two history items and right click the history list you should be able to click the Compare option. When the Dynamic History feature is enabled, the Compare option is greyed out.

Tuesday, March 20, 2007 3:22 PM by Bart

# re: Better search and history add-in for Source Control Explorer

Bart,

Thank you for your feedback; we are aware of the issue and will fix it the next release.

Sunday, April 08, 2007 10:12 PM by Eugene Zakhareyev

# re: Better search and history add-in for Source Control Explorer

It would be helpful if the search dialog could be non modal?  Is that something you can control?  It would be nice to be able to view one of the file and then go back to the search list.  Maybe even integrate the window with the IDE framework so it can dock.

Tuesday, October 02, 2007 10:12 PM by Jay

# re: Better search and history add-in for Source Control Explorer

Jay,

Thank you for your suggestion. We have planned to make next version in a full blown VSIP package, so perhaps it will allow for better integration.

However, the search window is modal for the reason, since it is invoked from Source Control Explorer and returns control to SCE after search. Additionally, we could not implement selection of the files from the window (due to missing functionality in VS extensibility). Thus it is not obvious that the search should be modeless.

Regards,

Monday, October 08, 2007 7:27 AM by Eugene Zakhareyev

# re: Better search and history add-in for Source Control Explorer

Hi,

I have using the Sidekicks and really find it handy. However, the history sidekick takes forever for me and hangs most of the time.Any suggesstions?

Thanks,

Ritu.

Friday, May 09, 2008 6:55 PM by Ritu

# re: Better search and history add-in for Source Control Explorer

Ritu,

As far as we know, some screens may take a while to load; but overall it should be responsive.

If you care to provide more specific repro steps, please drop a line at eugenez_at_attrice_dot_info

Monday, May 12, 2008 9:10 AM by Eugene Zakhareyev

# How to search Team Foundation Server? | keyongtech

Pingback from  How to search Team Foundation Server? | keyongtech

Thursday, January 22, 2009 7:38 AM by How to search Team Foundation Server? | keyongtech

# re: Better search and history add-in for Source Control Explorer

Strange...

I just installed Team Foundation Server Sidekicks 2.4, the installation went smoothly and everything seems to work fine. Having said that, right clicking an item on the Source Control Explorer does not bring a context menu with the "Search Items" options on it (my first option is still "Get Latest Version")

Any reason for that?

Tuesday, March 16, 2010 7:14 PM by martin surasky

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: