Replies: 1 comment 3 replies
-
Do you see this with only certain files or certain projects? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if this should be an issue already, or something we should talk about first; so I'll create a discussion for now.
Starting with the upgrade to 17.13.0, I've randomly experienced an issue with CodeLens...specifically, it doesn't show References at all. And I don't mean "- references" with a broken reference popup (as others reported numerous times), I mean "it is completely missing" (don't worry about the lack of data; the rest works, but I chose a rather neutral class that doesn't contain recent changes and potentially show people's names).


Despite the fact that C#/VB References are currently force-enabled due to a design difficulty from a while back (see #36378).
I can even violate the design decision that #36378 mentions by disabling the rest of the options, which leaves an empty margin between CodeLens-enabled members behind.
I have the suspicion that it might have something to do with loading/reading user settings, since I usually have at least two instances of Visual Studio open: One server application/solution (15 projects) and its associated fat client application/solution (14 projects); which I tend to open by clicking the solution file within seconds of each other. I normally wait until the first one is open and shows me my last opened files, but at that point there is no CodeLens visible just yet.
And so far, the only way to get rid of it is to wait longer (until VS shows CodeLens). Deleting the
.vs
folder was a placebo that I tried, and it has no effect on whether it is there or not; the only thing that does have an effect is time. And depending on which one I start first (or how quickly I do it), I can make either of them (or both) have no references.Restarting VS magically fixes it.
Truth be told, it is annoying (to me), and I'd like to see it addressed; but I have no idea what kind of information I could possibly provide to help the investigation. What can I do here on my end (other than providing the solutions; which won't be an option)?
It feels a bit like it might've even been a pre-existing issue, and something in 17.13 made it more likely to occur? Since I didn't change a whole lot in my daily routine in starting up those solutions.
Beta Was this translation helpful? Give feedback.
All reactions