Change Tracking

When you are in the midst of editing a source code file, it is tremendously useful to understand which lines of code have been committed (that is, saved to disk) and which have not. Change tracking provides this functionality; a yellow vertical bar in the text editor’s selection margin (and vertical scrollbar if enabled; see the prior chapter) spans any lines in the editor that have been changed but not saved. If content has been changed and subsequently saved, it is marked with a green vertical bar in the selection margin.

By looking at the yellow and green tracking bars, you can quickly differentiate between the following:

Image Code ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.