How to enable CodeLens for Visual Studio 2017 Community

kimbaudi picture kimbaudi · Mar 24, 2017 · Viewed 56.6k times · Source

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 CodeLens on Visual Studio 2015 Community

Answer

Kevin Cunnane picture Kevin Cunnane · Mar 24, 2017

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 particular: CodeLens was not officially supported as part of Visual Studio 2015 Community, nor is it supported in Visual Studio 2017. While some earlier versions of the SSDT installer for Visual Studio 2015 may have enabled the feature this was an error fixed in later updates. The official policy is that CodeLens is available in Visual Studio Professional and higher editions.