Green and Yellow bar near line numbers

visual-studio

Solution

Check Options, Text Editor, General -> Track changes

Track changes

When the code editor is selected, a vertical yellow line appears in the selection margin to mark code that has changed since the file was most recently saved. When you save the changes, the vertical lines become green.

Alternative link: http://msdn.microsoft.com/en-us/library/efc4xwkb.aspx. Open it and search 'Change Tracking'.

Problem

In Visual studio, sometimes the `color bars (green, yellow)` displayed near to the line numbers. what is the meaning of the color bars?

Original source

Related problems