I had eclipse open when my computer crashed - now I've restarted and there are various errors in my project. It appears as if some files do not contain recently made changes. I am quite sure I saved everything before the crash. Does anyone know the best way to recover?
You need to remove org.eclipse.core.resources from your workspace:
cd ~/Documents/workspace/.metalog/.plugins
rm -rf org.eclipse.core.resources
By removing org.eclipse.core.resources, you clear out all the project metadata from your workspace. However, don’t worry, once you start eclipse you can just go to “File -> Import -> import eclipse projects” and re-import all your workspace projects.
You probably just need to refresh each of your projects (select them in the Project Explorer and hit F5) and then clean and build them.
If your source files truly lost work it's probably because you didn't save them (most likely) or there's some bug with Eclipse or one of its plugins (far less likely).
Refresh your whole workspace and rebuild the projects.
Then compare your workspace to the files in the source repository to see what changes you have.
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