Visual Studio 2013 a new feature, Code Lens

Visual Studio 2013引入了CodeLens功能,该功能可以在代码编辑器中显示每个方法被调用的次数、覆盖的单元测试数量及通过情况。此特性位于工具选项的CodeInformationIndicators或CodeLens设置中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



Visual Studio 2013 introduced a new feature, Code Lens, where it shows you how many times each of your methods are called/referenced, how many unit tests cover the method, and how many are passing.


the feature is called Code Information Indicators or CodeLens, and can be located under

Tools--> Options --> Text Editor --> All Languages --> Code Information Indicators
(for preview version)

or

Tools--> Options --> Text Editor --> All Languages --> CodeLens
(for RC/final version)

That was according to this Link. It seems to be pretty well hidden.

In Visual Studio 2013 RTM, you can also get to the CodeLens options by right clicking the indicators themselves in the editor:

editor options

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值