简体   繁体   English

CodeLens只显示引用?

[英]CodeLens only showing references?

I installed Visual Studio 2015 Enterprise RTM and only seeing "references" from Code Lens. 我安装了Visual Studio 2015 Enterprise RTM,只看到Code Lens的“引用”。 We are using TFS for source control. 我们使用TFS进行源代码控制。 I expect to see related commits from TFS. 我希望看到TFS的相关提交。 Based on this article , I have everything enabled in options: 根据这篇文章 ,我在选项中启用了所有内容:

在此输入图像描述

Here is what I see in VS: 这是我在VS中看到的:

在此输入图像描述

Is there anything wrong with my VS setup? 我的VS设置有什么问题吗?

The TFVC lenses that are part of CodeLens only work when connected to a version of Team Foundation Server that is running the background job that generates the historical data. 作为CodeLens一部分的TFVC镜头仅在连接到运行生成历史数据的后台作业的Team Foundation Server版本时才起作用。 This means that you need to be running at least TFS 2013 or 2015 in order for this feature to work. 这意味着您需要至少运行TFS 2013或2015才能使此功能正常运行。 Some features require a specific version of Visual Studio . 某些功能需要特定版本的Visual Studio

It is also possible that your server admin has disabled indexing on the server , one can do that using the tfsconfig codeindex command on the application tier. 您的服务器管理员也可能已禁用服务器上的索引 ,可以使用应用程序层上的tfsconfig codeindex命令执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM