Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio line colors

In Visual Studio, what does the vertical color bar between the line numbers and the code mean? Sometimes there is green, yellow, or nothing.

like image 391
Telavian Avatar asked Jun 09 '10 19:06

Telavian


2 Answers

Nothing means no changes.

Green means saved changes. These will disappear when the file is closed and reopened.

Bright yellow means unsaved changes. These change to green when the file is saved.

Dark yellow means unsaved undos (i.e. you've made and edit and then hit Ctrl+Z). These disappear when the file is saved.

like image 192
ChrisF Avatar answered Sep 19 '22 17:09

ChrisF


The line indicates changes to code since last save.

  • No color = no change
  • Yellow = Track changes before save
  • Green = Track changes after save
like image 41
JYelton Avatar answered Sep 17 '22 17:09

JYelton