0

I made some changes to my code in Eclipse in a way that it would work for one input file. When I tested my code with other input files, the other input files were not working, so I want to revert the changes. I tried this by pressing command+z, but it would not let me revert the changes that I already saved. Is there a way to revert those changes and get the previous version?

Thank you.

Edit: One advice was to right click on the editor, but I am getting the same options as the other post advised. Here is my result.

Alex Kang
  • 11
  • 5
  • Use 'Replace with > Local History' see [here](https://stackoverflow.com/q/16058185/2670892) – greg-449 Mar 24 '19 at 15:57
  • I am able to find any other files under local history. Is there any other way? My eclipse has been running from last night though, I slept my laptop but it was still opened. – Alex Kang Mar 24 '19 at 16:04
  • 'Replace With > Local History' **not** 'Restore from Local History' – greg-449 Mar 24 '19 at 16:24

0 Answers0