TFS 2010 和 VS 2010 在源代码管理中搜索代码 [英] TFS 2010 and VS 2010 searching code in source control

查看:33
本文介绍了TFS 2010 和 VS 2010 在源代码管理中搜索代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题类似于:在文件中查找: 在 Team Foundation Server 中搜索所有代码 但是 4 年前有人问过.我特别询问 TFS 2010 和 VS 2010.

This question is similar to: Find in Files: Search all code in Team Foundation Server However it was asked 4 years ago. I'm asking specifically about TFS 2010 with VS 2010.

Microsoft 是否终于开始重新添加代码片段的文件搜索,就像在 Visual Source Safe 中一样?如果是这样,如何启用和使用它?

Has Microsoft finally got around to adding back the searching of files for code snippets like they had way back in Visual Source Safe? If so, how to enable it and use it?

我已尝试添加 Microsoft 的 Power Tools.虽然它具有搜索功能,但搜索仅用于文件名,而忽略查看文件中的内容.:(

I've tried adding in Microsoft's Power Tools. While it has a search feature, the search is only for file names and ignores looking in the content in the files. :(

推荐答案

我遇到了同样的问题,并在寻找解决方案时发现了这个线程.然后我发现这个功能在名为 'TFS 管理员工具包' 在 Visual Studio 库中.似乎有效!

I had the same problem and found this thread whilst looking for the solution. I then found that this functionality is available in a Visual Studio 2010 add-on called 'TFS Administrators Toolkit' in the Visual Studio Gallery. It seems to work!

MSDN 链接:

适用于 VS 2010 的 TFS 管理员工具包

适用于 VS 2012 的 TFS 管理员工具包

适用于 VS 2013 的 TFS 管理员工具包

这篇关于TFS 2010 和 VS 2010 在源代码管理中搜索代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆