如何在 Visual Studio 2017 中打开 CodeLens? [英] How to switch on CodeLens in Visual Studio 2017?

查看:82
本文介绍了如何在 Visual Studio 2017 中打开 CodeLens?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已安装 Microsoft Visual Studio Community 2017.我找不到任何打开 CodeLens 的选项.此版本是否删除了此功能?

I have installed Microsoft Visual Studio Community 2017. I cannot find any option to switch on CodeLens. Is this feature removed from this version?

推荐答案

CodeLens 在社区版中不可用.您需要 Professional 或更高版本才能打开它.

CodeLens is not available in the Community editions. You need Professional or higher to switch it on.

在 VS2015 中,获取"CodeLens 的一种方法是安装 SQL Server Developer Tools (SSDT),但我相信这已在 VS2017 中得到纠正.

In VS2015, one way to "get" CodeLens was to install the SQL Server Developer Tools (SSDT) but I believe this has been rectified in VS2017.

这篇关于如何在 Visual Studio 2017 中打开 CodeLens?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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