Eclipse import suggestions disappeared
I upgraded a couple days ago to eclipse 4.2 and am working on a project that is tracked with git using the eGit plugin.
Suddenly I think it was probably right after the commit with push, the auto import hints completely forgot about my project's classes. All it can give hints is the standard java library classes.
I tried to restart eclipse and also clean the project, check it out, pull it and see the .classpath file (which didn't look particularly strange to me).
If you look at the screenshot; in the package explorer, you can see a class named SceneNode. "On the right, there is a file that I was working on, which is in the same project, but which is missing an import option that should be there.
Writing the import statement manually fixes the problem, but since I'm lazy I want to get my import options back. Has anyone else had this problem?
edit: here's my .classpath file:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="jars/jinput.jar"/>
<classpathentry kind="lib" path="jars/lwjgl.jar">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="ORRE-v2/natives"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="jars/lzma.jar"/>
<classpathentry kind="lib" path="jars/slick-util.jar"/>
<classpathentry kind="lib" path="jars/slick.jar"/>
<classpathentry kind="lib" path="jars/xom-1.2.8.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="jars/lwjgl_util.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
source to share