How to enable CodeLens in Visual Studio 2017?

I installed Microsoft Visual Studio Community 2017. I can not find any option to enable CodeLens. Is this feature removed from this version?

+29
visual-studio visual-studio-2017
Mar 03 '17 at 16:07
source share
4 answers

CodeLens is not available in Community editions. You need Professional or higher to enable it.

In VS2015, one way to β€œget” CodeLens was to install SQL Server Developer Tools (SSDT), but I believe this was fixed in VS2017.

+37
Mar 03 '17 at 21:43
source share

The Visual Studio Community add-on does not support CodeLens, only Visual Studio Professional and Visual Studio Enterprise provide this comprehensive package for the development environment. For more information, follow this link, enter the link here

For visual information. See This Image: Visual Studio Community Support

enter image description here

+6
Jun 28 '18 at 4:53
source share

Resharper has a "Search Usage" and "Search Usage Advanced". The default keyboard for Search Usage is Shift + F12. If you can live using this shortcut instead of clicking the link of the link above the type, then you are good to go. I moved the results window from bottom to left and turned on the auto-hide feature. Good enough for me.

+2
Jul 15 '17 at 14:44
source share

If you like CodeLens, you can install Visual Studio 2019 Community

Microsoft even included it for Community editors. See Integrated Development Environment versus Visual Studio . Most features are included.

See CodeLens for All What's New in Visual Studio 2019 for more information.

+2
Apr 10 '19 at 10:39 on
source share



All Articles