在Package Explorer中,一个桔黄色的方块是什么意思?(复制)

时间:2021-09-11 16:57:12

This question already has an answer here:

这个问题已经有了答案:

I'm completely new to Java and Eclipse. I developed my first "Hello, world" program the other day following along with a tutorial. I understand most of the Eclipse UI since I worked with Flash Builder for awhile which was built on top of the Eclipse IDE.

我对Java和Eclipse完全陌生。前几天我开发了我的第一个“Hello, world”程序和一个教程。我了解大多数Eclipse UI,因为我在Eclipse IDE之上构建了一段时间的Flash Builder。

My question is, what does an orange square by folder in Package Explorer mean exactly? I imported the project "Hello, world" into the workspace on OSX and that's the first time I ever seen this orange square. I am really curious about it as it isn't on any of the rest of my projects?

我的问题是,在Package Explorer中,一个桔黄色的正方形是什么意思?我将项目“Hello, world”导入到OSX的工作区中,这是我第一次看到这个橙色的正方形。我真的很好奇,因为它不在我的其他项目上?

I referred to; http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-icons.htm

我指的;http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-icons.htm

For a reference of icons in the Kepler IDE (btw that's what I'm using) and I found an orange square amongst the icons labeled "a monitor that is owned by a thread"; I don't understand the termonology used though... I don't even know if that is the correct icon I'm looking for?

为了参考开普勒IDE中的图标(顺便说一下,这是我正在使用的),我发现了一个橙色的正方形,上面标着“一个线程拥有的监视器”;我不明白这是怎么回事……我甚至不知道这是不是我要找的正确的图标?

Here it is; 在Package Explorer中,一个桔黄色的方块是什么意思?(复制)

在这里;

And here's a screenshot of my package explorer... 在Package Explorer中,一个桔黄色的方块是什么意思?(复制)

这是我的package explorer的截图…

See them orange-looking squares? They look very similar but I'm not 100% sure. I really appreciate your help on this.

看到他们orange-looking广场吗?它们看起来很相似,但我不是100%肯定。非常感谢你的帮助。

Thank you!

谢谢你!

1 个解决方案

#1


5  

That's not quite an orange square; it's an orange hard-disk symbol. It indicates that the file or directory labeled is under version control. (A plus in that position indicates that a file has been added to the git index but not yet committed, and a question mark indicates a file that is not under version control when its containing project is.)

这不是一个橙色的正方形;它是一个橙色的硬盘符号。它指示标记的文件或目录在版本控制之下。(该位置的一个加号表示已将一个文件添加到git索引中,但尚未提交,并且一个问号表示在其包含项目时未在版本控制下的文件。)

#1


5  

That's not quite an orange square; it's an orange hard-disk symbol. It indicates that the file or directory labeled is under version control. (A plus in that position indicates that a file has been added to the git index but not yet committed, and a question mark indicates a file that is not under version control when its containing project is.)

这不是一个橙色的正方形;它是一个橙色的硬盘符号。它指示标记的文件或目录在版本控制之下。(该位置的一个加号表示已将一个文件添加到git索引中,但尚未提交,并且一个问号表示在其包含项目时未在版本控制下的文件。)