Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 RC CodeLens not showing up

I installed Visual Studio 2013 Release Candidate and after opening a project I noticed CodeLens information is not showing up.

In the preview versions you had to turn this on in the options menu, but I can't seem to find this option anymore.

Why doesn't this work?

like image 828
Gerrie Schenck Avatar asked Sep 13 '13 06:09

Gerrie Schenck


People also ask

How do I enable CodeLens in Visual Studio?

CodeLens is available in Visual Studio Community edition, however, the source control indicators are not available in this edition. To choose the indicators that you want to see, or to turn CodeLens off and on, go to Tools > Options > Text Editor > All Languages > CodeLens.

How do I view references in Visual Studio?

In C# or Visual Basic, the Find References window has a Kind column where it lists what type of reference it found. This column can be used to filter by reference type by clicking on the filter icon that appears when hovering over the column header.

How do I show the author name in Visual Studio?

To show this option you can press (Alt + 5) key, by opening the changes window you can see the detail of changes with change set ID, Change set Description, Author Name and Date of Changes.


2 Answers

You need Visual Studio 2013 Ultimate with Team Foundation Server 2013.

To use this feature you will need Visual Studio 2013 Preview and Team Foundation Server 2013 Preview as some information comes from TFS.

and:

Here's what you’ll need:

  • Visual Studio Ultimate 2013 to find references

  • Team Foundation Server 2013 to find changesets, code review requests, and different kinds of work items

Source

This article will tell you the same.

You can download Team Foundation Server here.

like image 142
glautrou Avatar answered Oct 21 '22 18:10

glautrou


The option is hidden in Tools -> Options -> Text Editor -> All Languages -> Code Information Indicators

The only one that appears to work for us is the references, even though all options are enabled.

Update: My missing options were answered here... VS 2013 CodeLens

Hope this helps.

like image 44
Patrick McGouirk Avatar answered Oct 21 '22 18:10

Patrick McGouirk