"Resource out of synch with the filesystem" - but can I still get it somehow?

32 Views Asked by At

I've mistakenly overwritten a file I was working on in Eclipse. Now I'm getting a message saying

Resource out of synch with the filesystem

and suggesting I refresh with F5. Can I, instead of refreshing, get that "resource"? It would mean restoring my accidentally-overwritten file...

1

There are 1 best solutions below

1
On BEST ANSWER

Right Click on the file and try 'Replace With > Local History'. Eclipse will show you what versions of the file it has in the local history, but local history is only kept for a few days.