General Availability of CodeLens in Visual Studio Online

We are delighted to announce the General Availability of CodeLens in Visual Studio Online. With this announcement, we have reached a significant milestone in the journey we started as a Limited CTP in Nov 2014 and then moved to Public Preview in Dec 2014. CodeLens in Visual Studio Online was one of the top UserVoice asks and we prioritized this work in response to your feedback. Please try it out and tell us what you think.

CodeLens is a head-up display in your Visual Studio editor that provides in-context information about your code.

image

To use CodeLens in Visual Studio Online you must :

  1. Be using Visual Studio Ultimate 2013 Update 4, or Visual Studio 2015 (Preview or later version).
  2. Check your code into Team Foundation Version Control in Visual Studio Online.

You will now be able to see a summary of authors, changes, bugs, work items, and reviews for your code.

If your code is checked into a Git repository in Visual Studio Online, you will already be seeing these CodeLens indicators when using Visual Studio Ultimate 2013 Update 3.

For more information about CodeLens, see:

 

CodeLens indicators not appearing?

Very occasionally, when Visual Studio 2013 Update 4 client connects to Visual Studio Online and requests CodeLens data, it sends an incorrect request. This causes an invalid response to be sent back by the CodeLens service in Visual Studio Online, and the CodeLens indicators do not appear. You can work-around this issue by following these steps:

1. Close all instances of Visual Studio.

2. Delete all the cached data in the folder %localappdata%\Microsoft\VisualStudio Services\5.0\ 

3. Restart Visual Studio and re-open the solution from Visual Studio Online.

 

Try CodeLens and tell us what you think!

Send your comments and suggestions to VSOCodeLens@microsoft.com.

You can also send us your feedback using Visual Studio’s Send a Smile feature.

0