简体   繁体   中英

undo changes in eclipse package explorer

I have unknowingly clicked on some files in package explorer in eclipse and they had been moved or deleted. I wish to undo the changes occurred in package explorer and I am not able to fin that option from edit->undo or by pressing ctrl + z

Is there any way out to undo changes in tree structure or deletions from package explorer in eclipse? Please help.

With focus in the Package Explorer Ctrl + Z should still be what you can use. There should also be a back arrow on the top bar (unless you removed it) which should, on hover, tell you what will be undone. Alternatively you might be able to just right click on your project and Restore from Local History .

Also as @M.Dan says, you should definitely use version control to help mitigate issues like this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM