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?
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.
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.
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.
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.
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:
Steps to recover the deleted files:
Please see the attached image:
.
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