References of Subs and Functions where it is being used disappeared in my Visual Studio

Asked

Viewed 953 times

1

SS

Where I have the option in Visual Studio 2015 to show the Sub/Function reference, where they are being used.

(Ex: Recorded Function > I call it in the Save button), at the top of the Function appears the reference and shows where it was called. Here in my VS disappeared.

  • Visual Studio Community 2015 Usage

  • So it’s not gone, it’s never been there.

  • Man I asked the question precisely because it disappeared, I’m calling this Sub and this Function and does not appear the reference as said above.

  • Did the answer solve your problem? Do you think you can accept it? If you don’t know how you do it, check out [tour]. This would help a lot to indicate that the solution was useful to you and to give an indication that there was a satisfactory solution. You can also vote on any question or answer you find useful on the entire site (when you have 15 points).

1 answer

1

This feature is called Codelens. It can be enabled or disabled in Visual Studio settings (Tools -> Options).

CodeLens Options

CodeLens no editor

Note that this feature is only available on Visual Studio Enterprise or Professional. This is one of the few things Community doesn’t have in relation to Professional.

Could be there was some extension that did this and it might have been disabled for some reason.

Still it is possible to find where it was used with Shift + F12.

The Resharper can help even more.

  • That was exactly my thanks! =)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.