最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio - How to stop CodeLens from opening a window - Stack Overflow

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论