admin管理员组

文章数量:1356784

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

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).

With this, the only way to navigate to the caller is to click the 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?

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

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).

With this, the only way to navigate to the caller is to click the 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?

Share Improve this question asked Mar 28 at 0:06 OutstandingBillOutstandingBill 2,9101 gold badge30 silver badges38 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Tools | Options | Text Editor | All Languages | CodeLens

Uncheck "Enable CodeLens", save, re-enable.

本文标签: visual studioHow to stop CodeLens from opening a windowStack Overflow