Code Lens and Visual Studio Community

Published on 06 juillet 2016

Code Lens and Visual Studio Community

Code Lens is a powerful plugin of Visual Studio (available since 2013 version).

It shows various information, but the one I found the most useful is the references count. I’m talking about this:

CodeLens

But…

…it’s not available in Visual Studio Community Edition. Code Lens is part of the « premium » features you get when you have Pro or Enterprise edition. (VS Team confirms this : Visual Studio Uservoice)

But…(again)

…there is a workaround! Just install the SSDT (SQL Server Data Tools) preview for Visual Studio 2015. You can download it here : https://msdn.microsoft.com/en-us/mt429383.aspx?f=255&MSPPError=-2147217396

This installs the Code Lens plugin and allows you to enable it in VS :

VS_Settings_CodeLens

Source : StackOverflow

comments powered by Disqus