Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Green Bars in Visual Studio 2010

I am wondering what these greens things are in Visual Studio 2010. What are they for? They look pretty random but of course they have to have some meaning. Can any one tell me?

At first glance they don't mean any thing to me.

Picture 1:

Image 1

Picture 2:

Image 2

Edit:

They show saved changed content during the document open. Once you close the document they disappear.

like image 553
Tarik Avatar asked May 12 '10 22:05

Tarik


People also ask

What do the green bars in Visual Studio mean?

Green: The line has been changed and saved. Orange: The line has been changed, saved, and the change undone.

What does green line mean in VS code?

Green = Line changed since you opened the file, but saved.

How do I get rid of the green line in Vscode?

However if you want to turn it off you can toggle it by going to Tools -> Options -> Text Editor and unchecking Track Changes .

What does yellow dot mean in VS code?

That's why you're seeing yellow for some files as changes have been made to them that have not yet been committed in Git. You can remove the colour highlighting by adding this line to your settings. json file in VS Code, accessible via Preferences.


1 Answers

They show lines that you have changed.

See here for more details and a table showing what the different colours mean:

 +-----------+------------------------------+-------------------------+ | Marker    |     Different from           |    Different from file  | |  colour   |       file saved on disk?    |      that was opened?   | +-----------+------------------------------+-------------------------+ | Nothing   |        No                    |       No                | | Yellow    |        Yes                   |       Yes               | | Green     |        No                    |       Yes               | | Orange    |        Yes                   |       No                | +-----------+------------------------------+-------------------------+ 

Edit: Blue indicates that the line was changed, saved and then reverted by undoing.
To see the entire list of colour schemes, go to Tools>Opitons>Environment>Fonts and Colors.(or Ctrl+Q.then type "Fonts and Colors")

like image 180
adrianbanks Avatar answered Sep 29 '22 08:09

adrianbanks