Creating a search function
Quite soon I was asked to put my money where my mouth was:) So I developed an Visual Studio Extension that, using the tfs api, would loop through each file and each file revision. As this would be a quite intense operation I placed it as a new feature in the TFS administrators Toolkit. I have some ideas to make it available as a standalone VS extension, extending source control explorer with a Find in File context menu, but at the moment it’s a TFS Administrators toolkit feature only.
Find in Files window
The result of my effort is the new Find in Files window in TFS Administrators Toolkit. It enables you to search for text in the content of source controlled files. Amongst its features is • Search files in source control matching selected wildcards
• Option to search in History, searching through each file revision.
• Option to search case sensitive or not
• Option to search using Regular Expressions
You can download the TFS Adminsitrators Toolkit from Visual Studio Gallery at http://visualstudiogallery.msdn.microsoft.com/11f5e313-ced1-4713-9794-d7300c7d12e0
At the momet it's only implemented in the VS2010 version.
No comments:
Post a Comment