Is it possible to get history for specific line of code in Visual Studio, when using TFS as source control?
Before I used another source control (Vault), and I was able to get history for line of code and check who added/modified it. It looks like TFS lacks such functionality. Are there any reporting tools that can do this.
I'm using Visual Studio 2010 with TFS 2010.
As far as I know, there is nothing like the complete history of one line, which could be very confusing and hard to identify for a version control. Nevertheless, TFS can show you who change the specific line the last time. Two ways to get this:
Browse in Source Control Explorer to the file, right click it and in the middle of the context menu, you will find the option Annotate
, which will show it to you.
Open the file you are interested in. Right click somewhere in the edit pane and choose Source Control -> Annotate