Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017: Display method references

How can I display the references on top of a method declaration?
I looked for it in the Visual Studio properties, but could not find it.

like image 247
FADI1987 Avatar asked Mar 14 '17 21:03

FADI1987


1 Answers

In Visual Studio Professional or Enterprise you can enable CodeLens by doing this:

Tools → Options → Text Editor → All Languages → CodeLens

This is not available in some Community Edition versions

like image 163
ISHIDA Avatar answered Sep 19 '22 14:09

ISHIDA