user1811784
user1811784

Reputation: 43

Eclipse file saved as garbage

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?

Upvotes: 3

Views: 48

Answers (1)

Chris Gerken
Chris Gerken

Reputation: 16392

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.

Upvotes: 1

Related Questions