Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restore Deleted Files in Eclipse IDE

Two days ago, I deleted five Java files in Eclipse IDE and now I need them. I tried to restore them from the local history. I restored only two of them. When I right click on the other files and then click restore from local history, I get the error message No additional members found in local history. How can I restore those three files?

like image 942
Narges Sadri Avatar asked Jun 25 '13 19:06

Narges Sadri


People also ask

Can we recover deleted project from Eclipse?

Go to: >File>Open Projects from File System... Select your Import Source (look for your work-space). Select the project you deleted from package explorer. Click finish.

Does Eclipse have Recycle Bin?

Since Eclipse doesn't drop its deleted items to Windows 'recycle bin', so it's kind of heartbreaking to see all your work just disappeared.

How do I rollback in Eclipse?

To revert, select menu Help > About Eclipse. In the dialog box, click the Installation Details button. Then select the Installation History tab. Now you'll see a list of previous configurations; you can select one of them, and the Revert button will be enabled.

How can I recover my Eclipse code?

In Eclipse 3.0, you can restore a line of code to its original version. Right-click the Quick Diff bar, and select Revert Line.


2 Answers

You can use the information in this Java Tips page (archived)

I deleted my src folder, and used the following steps to get it back:

  1. Select Project
  2. Right Click
  3. Select Restore from local history in the context menu
  4. Select your files,
  5. Click OK.
like image 120
Shreekant Avatar answered Sep 19 '22 21:09

Shreekant


Steps to recover the deleted files:

  1. Go to the project.
  2. Right click on the project.
  3. Select restore from local history.
  4. Select the file/files to recover.

Please see the attached image:

how to recover deleted file in eclipse.

like image 36
pushpendra yadav Avatar answered Sep 16 '22 21:09

pushpendra yadav