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/