visual studio – How to stop CodeLens from opening a window

When editing C# in Visual Studio, I’m used to seeing something like this when I click on the CodeLens 1 reference link.

normal CodeLens popup

I often use this to navigate to the caller of a method.

Recently though, I started seeing something a bit like this (sorry, this isn’t an actual screenshot, I had to recreate what I remember seeing in Paint).

unusual CodeLens popup

With this, the only way to navigate to the caller is to click the open new window button to open a new CodeLens window, and navigate from there.

CodeLens doesn’t show this new style of popup consistently.

Is there a way to control this behaviour?

Read more here: Source link