uesr3387956
uesr3387956

Reputation: 33

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?

Upvotes: 0

Views: 162

Answers (2)

beyang
beyang

Reputation: 545

Sourcegraph now supports full-regex search across all code and is now deployable as a single Docker image (https://about.sourcegraph.com/docs) and indexes any Git-based code host.

Upvotes: 0

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51103

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.

Upvotes: 1

Related Questions