MyEclipse deleted files and code

Source: Internet
Author: User

MyEclipse deleted files and code

[restoration of false deletion of documents]

Today in writing code, accidentally deleted a package, and then all the files under this package are gone, I believe many people have similar experience,

Luckily MyEclipse provides us with a very useful function:

Select the item-> Restore from the local History. The-> interface is shown below

Check the file to restore, click Restore on it, even if you turn off the myeclipse is OK, very convenient.

[Recover mistakenly delete code]

For mistakenly deleted code, if the myeclipse is not turned off, we can press CTRL + Z to undo the operation.

But if you close the myeclipse and it doesn't work, then we can use the following method:

Check the Code-> Team-> show the local History-> interface as shown below

Click on the point of time to restore the code, copy it.

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/Java/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.