Reputation: 4702
Before in Visual Studio with Resharper I used to have code usages in file, so I could click on a link above a class for example and see the usages of that specific class.
This is something that disappeared for me lately and is very annoying since I am so used to it. I added a picture below that illustrates what I mean. Where there is white clutter, it used to be a usage link that I could click that would open up a small popup.
How can I enable this in Resharper? I have searched the web and in the settings, but to no avail. I have the latest stable version of VS and Resharper.
Thanks in advance!
Upvotes: 0
Views: 439
Reputation:
by using resharper. You can use the shortcut key Shift + f12 to find the number of references associated with your code.
Upvotes: 0
Reputation: 3217
I think it is Visual Studio feature, not Resharper.
Try: In Visual Studio Professional or Enterprise Enable CodeLens by doing this- Tools → Options → Text Editor → All Languages → CodeLens This link has more details: Visual Studio 2017: Display method references
Upvotes: 4