Telavian
Telavian

Reputation: 3832

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.

Upvotes: 33

Views: 19208

Answers (2)

ChrisF
ChrisF

Reputation: 137188

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.

Upvotes: 60

JYelton
JYelton

Reputation: 36546

The line indicates changes to code since last save.

  • No color = no change
  • Yellow = Track changes before save
  • Green = Track changes after save

Upvotes: 11

Related Questions