HomeVisual StudioVisual Studio 2013 Tips & Tricks – Enable / Disable Code Lens

Visual Studio 2013 Tips & Tricks – Enable / Disable Code Lens

Microsoft Visual Studio 2013 has a new feature called Code Lens which shows the reference count of the methods along with the other information like Show Authors, bugs, work items etc.

Visual Studio 2013 Tips & Tricks - Enable / Disable Code Lens

It is definitely one of the useful feature for the developers to get a quick overview about the code. By default, this feature is enabled in Visual Studio Ultimate. How do one disable code lens in Visual Studio 2013?

How to Disable Code Lens in Visual Studio 2013?

1. Launch Visual Studio 2013 and Navigate to Tools -> Options.

2. In the Options Dialog, select Code Lens in the left side bar which can be found under “Text Editor -> All Languages”. In the content pane, uncheck the option “Enable Code Lens” and click “OK” button

Visual Studio 2013 Tips & Tricks - Enable / Disable Code Lens

3. This will disable the code lens feature.

Alternatively, if you have the class file opened, just right click on indicators and click “Code Lens” options to display the same screen as shown above to disable it.

Visual Studio 2013 Tips & Tricks - Enable / Disable Code Lens

Leave a Reply

You May Also Like

In this post, you’ll learn about the error code “SCC_E_BACKGROUNDGETINPROGRESS” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_UNKNOWNERROR” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_CONNECTIONFAILURE” returned by the Visual Studio when using the Source Control...