Friday 17 May 2013

Eclipse: recover overwritten files

If you overwrote a new file with an old file by mistake, Eclipse may be your only life saver. It has a feature called local history, which automatically records all the changes you made to a file. If you want to revert a file to an old edition, just right click the file in the left panel, and choose team/local history, then select a date to recover.

That's one reason I like Eclipse. Actually today it just saved me several days' of work when I accidentally reverted my file to an old revision in a version control system by mistake.

No comments:

Post a Comment