codelens

How to enable CodeLens for Visual Studio 2017 Community [duplicate]

旧城冷巷雨未停 提交于 2019-11-30 08:06:46
This question already has an answer here: How to switch on CodeLens in Visual Studio 2017? 5 answers I recently installed Visual Studio 2017 Community and noticed that there is no CodeLens. I had CodeLens enabled on Visual Studio 2015 Community so I'm hoping that its also available for VS 2017 Community. How can I do so? Or is it no longer available for VS 2017 Community edition? Enabling CodeLens on Visual Studio 2015 Community You can see the officially enabled set of features per Visual Studio edition on the Compare Offerings page of the Visual Studio website. A note on CodeLens + SSDT in

How to enable CodeLens for Visual Studio 2017 Community [duplicate]

百般思念 提交于 2019-11-29 10:35:43
问题 This question already has an answer here: How to switch on CodeLens in Visual Studio 2017? 6 answers I recently installed Visual Studio 2017 Community and noticed that there is no CodeLens. I had CodeLens enabled on Visual Studio 2015 Community so I'm hoping that its also available for VS 2017 Community. How can I do so? Or is it no longer available for VS 2017 Community edition? Enabling CodeLens on Visual Studio 2015 Community 回答1: You can see the officially enabled set of features per

Why does CodeLens always show “0 authors, 0 changes”?

馋奶兔 提交于 2019-11-29 09:45:43
I have a Visual Studio project/solution in a Git repo. Visual Studio's source control feature works a treat (second screenshot). Thanks "Microsoft Git Provider" HOWEVER CodeLens shows "0 authors, 0 changes" for every class and method (first screenshot) with tooltip explanations: no data available for this type no data available for this method Any ideas why it could be broken? More detail: the git repo doesn't have remotes. Visual Studio isn't connected to any Team Foundation server. I'm using the exact version of Git that shipped with Visual Studio 2015 update 1. >git --version git version 2

Missing CodeLens references count in Visual Studio Community edition 2015 and 2017

最后都变了- 提交于 2019-11-28 03:52:51
Is there a reason why the references count (code lens) is missing in Visual Studio Community edition? Is is possible to enable it in the options? Here is a screenshot of Visual Studio 2015 and 2017 Community edition: Here is a screenshot of Visual Studio 2013: source: dailydotnettips.com Panagiotis Kanavos This isn't a generic reference counting feature, it's just one of the features of CodeLens. CodeLens is only available in Visual Studio 2015 Pro and above . In Visual Studio 2013 it was a Ultimate-only feature. UPDATE As others have noted, installing SSDT or SSMS 2016 may enable CodeLens as

Why does CodeLens always show “0 authors, 0 changes”?

若如初见. 提交于 2019-11-28 03:15:53
问题 I have a Visual Studio project/solution in a Git repo. Visual Studio's source control feature works a treat (second screenshot). Thanks "Microsoft Git Provider" HOWEVER CodeLens shows "0 authors, 0 changes" for every class and method (first screenshot) with tooltip explanations: no data available for this type no data available for this method Any ideas why it could be broken? More detail: the git repo doesn't have remotes. Visual Studio isn't connected to any Team Foundation server. I'm

How to turn off CodeLens-References

蹲街弑〆低调 提交于 2019-11-27 06:14:38
I recently installed Visual Studio 2013 Ultimate. Now, as you know, there is this "n references" above all methods. When I go to the CodeLens options, I can't disable this single feature, since the checkbox is grayed out. So how can I disable it? Only workaround I found was un-checking the "enable codelens" option. The References indicator is required to be on because it is the only one that knows how to do "placeholder" items (the one that says "- references"), and is guaranteed to show up everywhere that codelens appears. If you could turn off references, then it is highly possible that

Get List of Zero Reference Codes in Visual Studio

坚强是说给别人听的谎言 提交于 2019-11-27 06:02:02
In visual studio 2013 the number of references of a special Code(method, property, field,...) is shown by Code Lens . I want to get unused (zero reference) Codes in visual studio. Is there any way to get them? I mean below reference: Adam White Probably the best and easiest way to achieve what you are after is to use the build-in code analysis tool with Visual Studio to find and take you directly to dead code and unused members. To this effect, I simply created a new code analysis ruleset file (Via File->New->File , making sure General in the left pane was selected and scrolling down to find

How to hide reference counts in VS2013?

霸气de小男生 提交于 2019-11-26 19:17:38
Visual Studio 2013 introduced a new feature where it shows you how many times each of your methods are used. 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. Mark Hall I guess you probably are running the preview of VS2013 Ultimate, because it is not present in my professional preview. But looking online I found that the feature is called Code Information Indicators or CodeLens , and can be located under Tools → Options → Text Editor → All Languages → CodeLens (for RC/final version) or Tools → Options → Text Editor → All

How to turn off CodeLens-References

隐身守侯 提交于 2019-11-26 17:34:45
问题 I recently installed Visual Studio 2013 Ultimate. Now, as you know, there is this "n references" above all methods. When I go to the CodeLens options, I can't disable this single feature, since the checkbox is grayed out. So how can I disable it? 回答1: Only workaround I found was un-checking the "enable codelens" option. 回答2: The References indicator is required to be on because it is the only one that knows how to do "placeholder" items (the one that says "- references"), and is guaranteed to

Get List of Zero Reference Codes in Visual Studio

对着背影说爱祢 提交于 2019-11-26 11:49:12
问题 In visual studio 2013 the number of references of a special Code(method, property, field,...) is shown by Code Lens . I want to get unused (zero reference) Codes in visual studio. Is there any way to get them? I mean below reference: 回答1: Probably the best and easiest way to achieve what you are after is to use the build-in code analysis tool with Visual Studio to find and take you directly to dead code and unused members. To this effect, I created a new code analysis ruleset file (Via File-