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:
Picture 2:
Edit:
They show saved changed content during the document open. Once you close the document they disappear.
Green: The line has been changed and saved. Orange: The line has been changed, saved, and the change undone.
Green = Line changed since you opened the file, but saved.
However if you want to turn it off you can toggle it by going to Tools -> Options -> Text Editor and unchecking Track Changes .
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.
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")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With