Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
278 views
in Technique[技术] by (71.8m points)

visual-studio-2013 - 如何在VS2013中隐藏引用计数?(How to hide reference counts in VS2013?)

Visual Studio 2013 introduced a new feature where it shows you how many times each of your methods are used.

(Visual Studio 2013引入了一项新功能,该功能可以向您显示每种方法使用了多少次。)

I don't find it very useful, and it messes up the spacing of my file.

(我觉得它不是很有用,它弄乱了我文件的间距。)

How do I disable it?

(如何禁用它?)

Can't seem to find the option.

(似乎找不到该选项。)

  ask by mpen translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I guess you probably are running the preview of VS2013 Ultimate, because it is not present in my professional preview.

(我想您可能正在运行VS2013 Ultimate的预览版,因为它不在我的专业预览版中。)

But looking online I found that the feature is called Code Information Indicators or CodeLens , and can be located under

(但是在网上查看时,我发现该功能被称为Code Information IndicatorsCodeLens ,可以位于以下位置)

Tools → Options → Text Editor → All Languages → CodeLens

(工具→选项→文本编辑器→所有语言→CodeLens)

(for RC/final version)

((对于RC /最终版))

or

(要么)

Tools → Options → Text Editor → All Languages → Code Information Indicators

(工具→选项→文本编辑器→所有语言→代码信息指示器)

(for preview version)

((对于预览版))

That was according to this link .

(那是根据这个链接 。)

It seems to be pretty well hidden.

(它似乎隐藏得很好。)

In Visual Studio 2013 RTM , you can also get to the CodeLens options by right clicking the indicators themselves in the editor:

(在Visual Studio 2013 RTM中 ,还可以通过在编辑器中右键单击指示器本身来进入CodeLens选项:)

编辑器选项

documented in the Q&A section of the msdn CodeLens documentation

(在msdn CodeLens文档的“问答”部分中记录)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...