简体   繁体   English

Visual Studio 2015方法信息

[英]Visual Studio 2015 Method Info

I was using Visual Studio 2015 RC for a while and one of the handy features was a line of text above each method/class definition that had info about the method or class (number of references, date of last edit, name of last editor). 我正在使用Visual Studio 2015 RC一段时间,其中一个方便的功能是每个方法/类定义上方的一行文本,其中包含有关方法或类的信息(引用数,上次编辑日期,最后一个编辑器的名称) 。

方法定义

But I just installed Visual Studio 2015 Enterprise and this information is gone. 但我刚刚安装了Visual Studio 2015 Enterprise,这些信息已经消失。 Does anybody know how to re-enable this feature? 有人知道如何重新启用此功能吗?

That is a feature of Visual Studio called CodeLens . 这是Visual Studio的一个名为CodeLens的功能

You can enable it by going to Tools | 您可以转到工具 |来启用它 Options | 选项 | Text Editor | 文字编辑器 | All | 全部 | Languages | 语言 | Code Information Indicators . 代码信息指标

You could also use the Quick Launch feature ( Control + Q ) to search for "CodeLens". 您还可以使用“ 快速启动”功能Control + Q )搜索“CodeLens”。

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

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