Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse file saved as garbage

Tags:

eclipse

ubuntu

I recently had an eclipse crash on Ubuntu 12.04. After I had restarted, the file that I had been editing was now filled with random Unicode characters. Is there anyway to get the original file contents back?

like image 610
user1811784 Avatar asked Sep 13 '26 21:09

user1811784


1 Answers

Select the file from the context menu and choose "Replace With -> Local History". You'll see a view populated with any previous versions of the file that have been saved by Eclipse. The most recent version should be in good condition, but it may not have the changes you were making when Eclipse crashed.

like image 141
Chris Gerken Avatar answered Sep 15 '26 22:09

Chris Gerken