0

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...

einpoklum
  • 118,144
  • 57
  • 340
  • 684

1 Answers1

1

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.

greg-449
  • 109,219
  • 232
  • 102
  • 145
  • Well, I'll accept even though I often get "no local history" - I'm assuming there's nothing else I can do. – einpoklum Jan 04 '17 at 10:30