VSTS:在所有项目中搜索库引用

问题描述 投票:0回答:1

我有一个库,我想搜索所有引用该库的项目。

所有项目都在主分支中。我们正在使用Git和VSTS。

有没有办法搜索所有项目?

azure-devops
1个回答
0
投票

使用Code Search(正如Wouter所说)可以使您通过所有团队项目(或团队项目)快速搜索引用。

Search the library from all the repos in a team project:

转到团队项目代码选项卡(https://account.visualstudio.com/_git/project) - >输入要搜索的关键字。

enter image description here

如搜索packages\Microsoft.Net,它将列出代码选项卡中包含packages\Microsoft.Net的所有文件。你还可以指定回购,分支,路径等。

enter image description here

Search the library from all the team projects of the VSTS account:

转到VSTS主页(https://account.visualstudio.com/_projects) - >输入要搜索的关键字。

enter image description here

如果您还搜索packages\Microsoft.Net,那么它将列出所有团队项目中的所有相关文件。您还可以指定项目,仓库,分支和路径等。

enter image description here

你也可以参考文件Search your code

© www.soinside.com 2019 - 2024. All rights reserved.