Skip to content Skip to sidebar Skip to footer

My Java Code Disappears From Java File Eclipse

I am working on android project. since i was editing specific java file my laptop shutdown unexpectedly. when i switch on my laptop and open eclipse the file in which i was working

Solution 1:

Right click on the file in Package/Project Explorer and choose Replace With > Local History..

You can also try Right click on the Project and select Restore from Local History but this only restores files which have been deleted.

Solution 2:

Right click on the file, choose Restore from Local History. That is the only option as far as i know. Give it a try.

As @greg-449 said - Replace With > Local History.. is the perfect option

Post a Comment for "My Java Code Disappears From Java File Eclipse"