Search code examples
eclipsefilerecover

How to recover a file in Eclipse?


I accidentally deleted a .java in Eclipse, then renamed its package. Is there any way to recover it?

If I undo, it tells me that I cannot undo the renaming of a package.


Solution

  • Have you try right click on the project > Restore from Local History...?