Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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).

Method Definition

But I just installed Visual Studio 2015 Enterprise and this information is gone. Does anybody know how to re-enable this feature?

like image 250
Seth Avatar asked Jul 23 '15 18:07

Seth


People also ask

How do I view a method in Visual Studio?

The keyboard shortcut is Ctrl + Shift + E .

How do I navigate to a method in Visual Studio?

You can use the navigation bar (the drop-down boxes at the top of the code window) to navigate to code in a codebase. You can choose a type or member to go directly to it. The navigation bar appears when you edit code in a Visual Basic, C#, or C++ code base.


1 Answers

That is a feature of Visual Studio called 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".

like image 92
Alex Booker Avatar answered Sep 28 '22 09:09

Alex Booker