Visual Studio 社区版 2015 和 2017 中缺少的 CodeLens 引用计数 [英] Missing CodeLens references count in Visual Studio Community edition 2015 and 2017

查看:36
本文介绍了Visual Studio 社区版 2015 和 2017 中缺少的 CodeLens 引用计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. Visual Studio 社区版中缺少引用计数 (code lens) 是否有原因?
  2. 是否可以在选项中启用?

这是 Visual Studio 2015 和 2017 社区版的屏幕截图:

Here is a screenshot of Visual Studio 2015 and 2017 Community edition:

这是 Visual Studio 2013 的屏幕截图:

Here is a screenshot of Visual Studio 2013:

来源:dailydotnettips.com

推荐答案

这不是通用的引用计数功能,它只是 CodeLens 的功能之一.CodeLens 仅适用于 Visual Studio 2015 Pro 及更高版本.在 Visual Studio 2013 中,它是 Ultimate 独有的功能.

This isn't a generic reference counting feature, it's just one of the features of CodeLens. CodeLens is only available in Visual Studio 2015 Pro and above. In Visual Studio 2013 it was a Ultimate-only feature.

更新

正如其他人所指出的,安装 SSDT 或 SSMS 2016 也可以启用 CodeLens.这是因为 VS 2015 Community Pro,具有不同的许可证和一些缺少的扩展,例如 CodeLens.只要安装了扩展程序的二进制文件和设置,社区就会激活该扩展程序.

As others have noted, installing SSDT or SSMS 2016 may enable CodeLens as well. That's because VS 2015 Community is Pro, with a different license and some missing extensions like CodeLens. As long as an extension's binaries and settings are installed, Community will activate the extension.

2019 年更新

CodeLens 一直是仅在 Visual Studio Enterprise 中发现的功能,但在即将发布的 Visual Studio 2019 预览版中会发生变化,届时它也将可用于社区版,可能在 2019 年"Visual Studio 2019 的新增功能

"CodeLens has been a feature found only in Visual Studio Enterprise, but that will change in an upcoming preview of Visual Studio 2019, when it will also be available for the Community edition, likely in 2019" What's New in Visual Studio 2019

这篇关于Visual Studio 社区版 2015 和 2017 中缺少的 CodeLens 引用计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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