Implement indexed full-text search of work items, check-in comments and source
TFS stores a tremendous amount of text, but finding what you are looking for with the built-in tools is not very easy. The work item query editor follows the old structured approach - which is good for some things - but is clumsy for full-text, unstructured searches. Check-in comments are even more problematic.
Imagine a search engine that crawls the full TFS content, with simple scoping (project/folder and item type) that instantly finds changesets, work items and source code. The web frontent should have a very familiar "web search engine" style, but it should also be possible to perform these searches in a more integrated fashion from VS.
There is no option to search code using particular string etc in TFS.
There must be a feature to search across different versions for the given string and show the result in TFS Client.
Add search capabilities to TFS Explorer which can search for the file name, content in file. This is similar to windows search, however this search should be context based with respect to folder selection in tfs branch.
Would like to be able to search all of the code in a source tree for the usage of a class or view/table. This frequently happens when we manage several apps that work off the same large database. People forget where they used "x" code.
It would be very useful to be able to search and entire project collection - or multiple collections - for a code snippet. I've done this before by exporting the code with a nightly schedule then indexing it into SharePoint. However, a more intelligent search mechanism would be better. Something that is code aware. Eg, search for all uses of a particular class - ignoring comments and designer files. This would make the code repository a much more useful knowledge base than just googling around for a code snippet as it would show how you have done things before.
Thanks for the feedback. The web access site for TFS 2010 features a search box for work items. The work item search box has been added into the product for the next version of Visual Studio. As BertrandH notes, there’s a third party plug-in that adds a search box for work items to VS 2010. Our official powertools for VS 2010 also recently released with a work item search box added in: http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f.
We continue to look into a comprehensive search solution for all artifacts in TFS besides just work items.
Matthew Mitrik commented
There is an existing suggestion for adding search capabilities to TFS. I suggest voting on that issue: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2037649-implement-indexed-full-text-search-of-work-items-
Chris Lee commented
This all-encompassing search should work like Resharper's find functionality, or even Windows 8's search functionality. That's been designed well
According to Wikipedia article: http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems#Features, TFS lacks Full-Text-search, Indexed-Full Text search and Indexed-file search.
I guess the entire artifact-wide and index-based search would cover those areas.
http://tfsgiggle.codeplex.com is a proof of concept on one way to do it using Lucene.Net
In case people some people not aware, there is a plug-in on Galery that helps a little: http://visualstudiogallery.msdn.microsoft.com/3f31bfff-5ecb-4e05-8356-04815851b8e7
Paul Wistrand commented
This would be one of my pet hates about TFS. Overtime it becomes increasingly had to find tasks/bugs that you remember working on 6,12,18+ months ago. I remember a 3rd party company ,that MS acquired, that had a web front end onto TFS that gave you FTI search not sure whatever happened to that functionality.