Retrieve/Recover deleted Netbeans project

前端 未结 6 1336
忘了有多久
忘了有多久 2020-12-05 02:12

I was just working on my Netbeans project and accidentally deleted it and don\'t know how to recover it.

Is there a tmp folder that the deleted project is stored in.

相关标签:
6条回答
  • 2020-12-05 02:34

    http://www.recuva.com/

    saved me countless times when I first started with Visual C# opening the IDE and making mini programs without saving. All your files are stored in a temporary folder and exiting Visual C# wipes them. Just do a recuva scan and sort files found by modification time. Deleted files are recoverable, overwritten files however are a different story, so run the program as soon as possible.

    0 讨论(0)
  • 2020-12-05 02:35

    Do not panic. Its very easy. Follow the steps:

    1. Right click on the folder/directory that the files had been deleted.

    2. Choose Local History – Restore Deleted

    3. Done

    0 讨论(0)
  • 2020-12-05 02:40

    Actually, easier then trying to load a project that does not exist in the project explorer of netbeans.

    If you still have the files locally, just choose Open Project and your lost project will be restored to the Project explorer of netbeans.

    0 讨论(0)
  • 2020-12-05 02:42

    You have a problem of package/directory/file deleted in netbeans? Don't panic it is simple just:

    1. open your netbeans IDE
    2. go to projects
    3. go to the package where your project folder was
    4. right click on it
    5. go to local history, then go to revert deleted
    6. it is done. Wait a moment!

    I think it will help you. Enjoy your code please.

    0 讨论(0)
  • 2020-12-05 02:45

    If you accidentally delete a folder on Netbean, the way to recover it is as follows. You can't revert deleted folders but you can revert deleted files. Follow these steps.

    1. Recreate the folder you deleted in your Netbean project. (You may not be able to create the folder within Netbean, in that case you can use mkdir command to create the folder )
    2. Right click that folder in Netbeans and go to History -> revert deleted (you should see a list of deleted files that relate to that particular folder.
    3. Repeat for each folder and sub-folder

    Note: I do not know if this works on windows, I know it worked for me on Linux. I also don't know if this works after you have closed Netbeans.

    hope it helps someone.

    0 讨论(0)
  • 2020-12-05 02:49

    I don't know if there is a temp folder. Windows search engine doesn't work to find it. If you delete the source file by using safely delete;

    On Netbeans Refactor-Undo[Safely Delete] option can be used to recover...

    0 讨论(0)
提交回复
热议问题