How to switch on CodeLens in Visual Studio 2017? - visual-studio

I have installed Microsoft Visual Studio Community 2017.
I cannot find any option to switch on CodeLens. Is this feature removed from this version?

CodeLens is not available in the Community editions. You need Professional or higher to switch it on.
In VS2015, one way to "get" CodeLens was to install the SQL Server Developer Tools (SSDT) but I believe this has been rectified in VS2017.

Visual Studio Community dose not support CodeLens , only Visual Studio
Professional and Visual Studio
Enterprise give this Integrated Development Environment Facility.
For more information go to this link enter link description here
For Visual information Please See this Image: Visual Studio
Community supported Features

If you like CodeLens you can install Visual Studio 2019 Community
Microsoft has enabled it even for the Community edition. See Integrated Development Environment on Visual Studio Comparison. Most features are enabled.
See CodeLens for Everyone What's New in Visual Studio 2019 for more info.

CodeLens is now available since VS 2017 Community Update 8, but it only contains Requests and Exceptions of Application Insights, no References:
From Dante Gagne [MSFT] on Oct 31, 2018 at 05:38 PM:
The infrastructure for CodeLens has been released in the Visual Studio 2017 Update 8. Please install and let us know your feedback. Please continue to provide feedback and help us make Visual Studio even better.
Source
It can be enabled in the Text Editor Options under All Languages --> CodeLens --> Enable CodeLens

Resharper has "Find Usages" and "Find Usages Advanced". The default keyboard shortcut for "Find Usages" is Shift+F12. If you can live with using that shortcut instead of clicking on the reference link above a type then you're good to go. I've moved the results window from the bottom to the left and enabled auto-hide.
Good enough for me.

For Visual Studio Community 2019 a lesser CodeLens version is available:
https://visualstudio.microsoft.com/vs/compare/
Visual Studio Community 2019:
Visual Studio Professional 2019:

Related

Adding SSIS capability to Visual Studio Enterprise 2017

Can I add SSIS capability to Visual Studio Enterprise 2017?
How do I add SSIS capability to Visual Studio Enterprise 2017?
I've looked in "Visual Studio Installer" at the "Workloads" options and also the "Individual Components" options .. but I can't see SSIS listed ?
Maybe I need a different version of Visual Studio for SSIS work?
The Microsoft page here has answer to this question.
Download and install SQL Server Data Tools (SSDT) for Visual Studio
i.e. this Microsoft article has a link for "Download SSDT for Visual Studio 2017 (15.9.2)" in the middle of this article which can be used.
The "Visual Studio Installer" tool from Start menu wasn't so useful for adding this capability (for me).

Cannot find "Paste Special" option in Visual Studio 2017

I cannot see the Paste Special option in my Visual Studio 2017 Professional Edition:
Microsoft Visual Studio Professional 2017
Version 15.4.5
VisualStudio.15.Release/15.4.5+27004.2010
Microsoft .NET Framework
Version 4.7.02046
In this blog post it is shown for Visual Studio 2013. On my machine, the edit menu appears as below:
Is there a way to get back the option? Do I need to enable this option somehow?
I have missed an important step. There is nothing wrong in Visual Studio 2017. I was not in a .cs file.
Another possible answer to this problem is the WCF component is not installed in Visual Studio.
The Paste Special option will not show if you are debugging.
I stopped my application and the Paste Special option appeared right away.
This was in Visual Studio 2017, but I assume it would be the same for all versions.

Visual Source Safe 6.0 compatibility with Visual Studio 2015

I'm currently involved in a technology upgrade project in my company, and would like to know if VSS6.0 is compatible with latest Visual Studio 2015?
Thank you.
VSS is not included since VS 2010 due to performance issues. According to
Can I Use Visual Source Safe with Visual studio 2013?
and
Visual Studio 2015 Professional and Visual SourceSafe (VSS)
you can choose "Microsoft Visual SourceSafe" plugin from Tools -> Options -> Source Control.
I suggest you to use TFS/CVS/Git/SVN rather than VSS for better version control of your application.

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

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
I installed the latest SSDT preview for Visual Studio 2015 from the link below on 2 machines I have with VS 2015 Community edition (Update 1), and CodeLens started working for all my projects.
https://msdn.microsoft.com/en-us/library/mt204009.aspx
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 well. That's because VS 2015 Community is Pro, with a different license and some missing extensions like CodeLens. As long as an extension's binaries and settings are installed, Community will activate the extension.
UPDATE 2019
"CodeLens has been a feature found only in Visual Studio Enterprise, but that will change in an upcoming preview of Visual Studio 2019, when it will also be available for the Community edition, likely in 2019"
What's New in Visual Studio 2019
I have Visual Studio 2015 Community edition and it originally did NOT have CodeLens.
However, after going to Tools -> Extensions and Updates -> Product Updates and then downloading SSDT and installing all options within the SSDT package, my VS 2015 Community Edition now miraculously has access to CodeLens.
On the Tools tab choose Options.
In the open window choose like bellow, and then press ok.
Good Luck!!!
This feature has been disabled in Visual Studio Community 2017, although it sounds like it was temporarily available in pre-release versions.
The Visual Studio Team issued this statement on the 14th of March 2017:
An authoring error in the SQL Server Data Tools resulted in the
capability temporarily showing up incorrectly in Visual Studio
Community when installed; the change you see is a result of correcting
that mistake.
Also, on the Compare Visual Studio 2017 Offerings page CodeLens appears to not be available in the Community edition.
I'm not allowed to Comment on R. Richards answer above, so posting this as a separate answer: CodeLens references disappeared for me too when I upgraded my VS Pro to 2017. But only on my Desktop ("same" upgrade behaved differently on my laptop, where CodeLens settings apparently unaffected). Anyway, very easy to resolve just Enable CodeLens under Text Editor : All Languages
An alternative is to just right-click the member and select 'Find All References' or the hot key shift + F12*. Not only you will find the count of references grouped by project, but also the underlying code lines and their classes.
* As per Visual Studio 2017 Community.

Performance and Diagnostics Hub missing from Visual Studio Community Edition 2013

According to this page, "Visual Studio Community 2013 shares the same features as Visual Studio Professional 2013."
According to this page, Visual Studio Pro includes the Performance and Diagnostics Hub.
Based on those links, the Performance and Diagnostics Hub should be available in my copy of Visual Studio Community 2013, but it isn't. Was this moved to a somewhere else in the IDE or has it been removed since Community Edition was released?

Resources