There is an update!
Currently CodeLens is being developed for Visual Studio Team Services, currently in Public Preview for what I have read so far, in US and West-Europe.
Requirements:
- Be using Visual Studio Ultimate 2013 Update 4, or Visual Studio 2015
(Preview or later version).
- Check your code into Team Foundation
Version Control in Visual Studio Team Services.
Just updated to VS Ultimate Update 4, already had a solution setup on Visual Studio Team Services, works great as expected.
troubleshoot, CodeLens not appearing?
- Close all Visual Studio Instances.
- Remove the cache from %localappdata%\Microsoft\VisualStudio Services\5.0\
- Reopen Visual Studio, open the solution from Visual Studio Team Services.
I'm not sure if it was necessary to do this for me, I did it, looked like it had no effect and the codeLens still didn't appear. While I was typing out a new question they suddenly appeared. So it could take a few minutes.
Source: CodeLens in Visual Studio Team Services is now in public preview
For Visual Studio 2015: Should be available by default. Source. I'm using Visual Studio 2015 Enterprise and it works good, even more then in visual studio 2013.