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

Your email address will not be published. Required fields are marked *

You May Also Like

Do you want to hide the start page in Microsoft Visual Studio 2012 within few simple steps? Here we go....
DataTip is a feature in Visual Studio that provides the users an easy way to view information about variables used...
Today, when I was trying to install the Team Foundation Server (TFS) Power Tools 2013, I received an error “The...