it means the class is not yet added to the repository.
if your project was checked-out (most probably a cvs project) and you added a new class file, it will have the ? icon.
for other cvs label decorations, check http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.user/reference/ref-cvs-decorations.htm
this is because your project has been linked to a git-hub repository, and the file having question mark on it, is not been added yet. if you want to remove this sign you will have to add this file to git-hub repository.
those icons are a way of egit to show you status of the current file/folder in git. you might want to check this out:
- dirty (folder) - at least one file below the folder is dirty; that means that it has changes in the working tree that are neither in the index nor in the repository.
- tracked - the resource is known to the git repository. untracked - the resource is not known to the git repository.
- ignored - the resource is ignored by the git team provider. here only the preference settings under team -> ignored resources and the "derived" flag are relevant. the .gitignore file is not taken into account.
- dirty - the resource has changes in the working tree that are neither in the index nor in the repository.
- staged - the resource has changes which are added to the index. not that adding to the index is possible at the moment only on the commit dialog on the context menu of a resource.
- partially-staged - the resource has changes which are added to the index and additionally changes in the working tree that are neither in the index nor in the repository.
- added - the resource is not yet tracked by but added to the git repository.
- removed - the resource is staged for removal from the git repository.
- conflict - a merge conflict exists for the file.
- assume-valid - the resource has the "assume unchanged" flag. this means that git stops checking the working tree files for possible modifications, so you need to manually unset the bit to tell git when you change the working tree file. this setting can be switched on with the menu action team->assume unchanged (or on the command line with git update-index--assume-unchanged).
in a svn enabled project the small question mark (?) indicates that your file is not yet added to the svn repository.
the small orange rectangle is an indication that your file is committed in the repository.
an asterisk (*) indicates a local change.
it sounds like you're using subclipse; is that correct? if so, there's a great list of decorators and their descriptions at this answer by tim stone.
here's the relevant snippet for your case:
- a file not under version control. these are typically new files that you have not committed to the repository yet.
- a file with no local changes.
with some version-control plug-ins, it means that the local file has not yet been shared with the version-control repository. (in my install, this includes plug-ins for cvs and git, but not perforce.)
you can sometimes see a list of these decorations in the plug-in's preferences under team/x/label decorations, where x describes the version-control system.
for example, for cvs, the list looks like this:
these adornments are added to the object icons provided by eclipse. for example, here's a table of icons for the java development environment.
- Why does Eclipse Java Package Explorer show question mark on some classes?
- Why does Eclipse open my java files as a tab in the package explorer view?
- Why does Eclipse Java Package Explorer use the System Font?
- Why does the Eclipse Package Explorer show the projects from two different workspaces on my Mac?
- Why does Eclipse let me compile some Java 7 language features into Java 6 class files?
- Java APIs Classes does not show variables value while debugging in Eclipse 3.x
- Eclipse package explorer doesn't show X-icons upon compilation problematic java files
- Why does Eclipse show incomplete Scala classes in the Outline view?
- Why eclipse does not warn about using classes from newer java versions?
- Error when opening package explorer and when trying to open java classes in Eclipse
- What does 'x' mark on the icons in package explorer in eclipse mean?
- Why does Eclipse IDE show the output for this java program which contains error?
- Eclipse does not show error icon in package explorer if xml file is not well formed
- Eclipse Package Explorer does not show all files in new Android Project
- Why does Eclipse code completion not work on some projects?
- Why is my Eclipse Java package being treated as a folder?
- Eclipse won't show files in package explorer
- Eclipse (Galileo) : Why does "Initializing Java Tooling : 59%" take FOREVER?
- Eclipse does not refresh project files in package explorer view
- Why does eclipse automatically add a java super() method in a constructor when I use the editors code generator?
- Why does Eclipse Kepler SR1 error with : JAX-RS 2.0 requires Java 1.7 or newer
- Why does Eclipse mark interface methods public abstract?
- Why does import javax.servlet.*; cannot be resolved despite of installing Java EE | Eclipse for Java EE Developers
- Why Eclipse does not include annotations when implementing methods from a Java interface?
- How to show maven artifact version in eclipse Package Explorer
- Why does Eclipse generate .class file if there is a syntax error in my Java source file?
- eclipse how to show package explorer in debug perspective
- Some javafx classes cannot be resolved in Eclipse using Java SE 8u25
- PyDev Package Explorer doesn't show files in Eclipse
- Why does Eclipse warn about Java "unused variables" but javac does not?
More Query from same tag
- Autorun a jar/java file 'after' eclipse builds project?
- Eclipse can't find my MinGW toolchain for C/C++
- Error installing Google App Engine Plugin Eclipse Indigo
- Java - Eclipse Compiler Compliance Level 1.6 not working as expected
- Possible to decompile Java program
- Eclipse project creation detection
- About C documentation
- adding action to toolbar in formpage
- GWT Eclipse plugin installation
- Add the "focus on active task" filter
- How to reference libraries in jdk without hardcoding path in Eclipse project file?
- Regex find the next specific tag eclipse
- How do i get the jar sign from java code
- Remove Builder from Java Project in STS 3.2.0
- Creating multiple custom versions of the same android app
- How to install SWT for eclipse Kepler
- Automatically write setters already generated for a specific class
- Get rid of horizontal autoscrolling on Eclipse (Windows 7)
- Syntax check does not work for modules (*.pm) in Perl Eclipse Plugin (EPIC)
- How to add mini info to an Eclipse Project Folder?
- why I cannot convert an existing Eclipse project to the dynamic web project?
- org.h2.jdbc.JdbcSQLException: Table "PACCHETTIVISITETURISTICHE" not found; SQL statement:
- creating lists in java
- Remote C development on a UNIX machine from a Windows machine using eclipse
- Connect to MySQL in eclipse java ee
- Connection timed out when trying to make a simple Http GET request
- Debugging Native API in java
- Errors in my torch app
- How to build a Liferay project of both portlet and hook types
- Printing two dimensional array with brackets and commas