Visual Studio 2010中的绿色条 [英] Green Bars in Visual Studio 2010

查看:267
本文介绍了Visual Studio 2010中的绿色条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道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.

图片1:

图片2:

它们在打开文档的过程中显示已保存的更改内容.关闭文档后,它们就会消失.

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

推荐答案

它们显示您已更改的行.

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                |
+-----------+------------------------------+-------------------------+

Blue表示该行已更改,保存然后通过撤消还原.
要查看配色方案的完整列表,请转到> > > Fonts and Colors.(或 Ctrl + Q .然后输入字体和颜色")

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")

这篇关于Visual Studio 2010中的绿色条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆