Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tracking changes in Visual Studio

Is it possible to set up Visual Studio (2010) for tracking changes (left color symbols) not from last file open state, but from source control commited state? This is how netbeans works and it is really great feature, especially reverting text block from editor by right click... Visual Studio default tracking mode is not much useful.

EDIT 1: Something like this way:

enter image description here

EDIT 2: Now it works with latest Git Source Control Provider (http://visualstudiogallery.msdn.microsoft.com/63a7e40d-4d71-4fbb-a23b-d262124b8f4c) extension. Good job, extension developers. Left bar is standard visual studio tracker, right bar is tracker tracking changes against last commit. See picture:

enter image description here

EDIT 3 (12/05/2015): Now I use standard VS git tools and for change tracking great Git Diff Margin extension. I use it with VS2013 and 2015 and it works very well. See:

enter image description here

like image 680
Fanda Avatar asked Jul 22 '12 15:07

Fanda


People also ask

How do I track a file using Visual Studio code?

Click the File Search on the status bar on the bottom of the VSCode IDE. You can also use a keyboard shortcut, Control+Shift+P in Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Global Search from the list.


1 Answers

For people like me that skim straight to the answer -

OP (12/05/2015) - Now I use standard VS git tools and for change tracking great Git Diff Margin extension. I use it with VS2013 and 2015 and it works very well

Git Diff Margin

Works great for me as well!

like image 192
Daniel Escobedo Avatar answered Oct 15 '22 22:10

Daniel Escobedo