Search code examples
tfsversion-controltfs-2015

What's the best way to find some specific code across multiple projects in TFS2015?


Sourcegraph- this site help me find usage of some of the libraries and usage examples provided by others, where official documentation of the libraries would go only so far. This has been incredibly valuable to me as a developer.

I'd like to see how other developers have used some APIs. We are working on a really huge team. Of course there are all sorts of permissions restrictions for multiple projects. However, most of the code is open. It really is a valuable asset to people like me.

TFS is a source control provider, I think it should also have something inside like sourcegraph. My question is- What's the best way to do this in TFS?


Solution

  • Suggest you to upgrade your TFS to TFS2017. This new release includes our most recent feature innovations and improvements. One of important update is code serach.


    Code Search

    Code Search provides fast, flexible, and accurate search across all your code. As your codebase expands and is divided across multiple projects and repositories, finding what you need becomes increasingly difficult. To maximize cross-team collaboration and code sharing, Code Search can quickly and efficiently locate relevant information across all your projects.

    From discovering examples of an API's implementation, browsing its definition, to searching for error text, Code Search delivers a one-stop solution for all your code exploration and troubleshooting needs.

    Code Search offers:

    • Search across one or more projects
    • Semantic Ranking
    • Rich filtering
    • Code collaboration

    enter image description here

    For details, see Search across all your code.