Reputation: 39
While i was coding java application in intellij my laptop shutdown suddenly when i opened my laptop and opened my project to continue coding ,i found java class which contains 21000 lines of code has damaged and when i opened it in notepad++ it's shown as alot of nulls as shown in the image below , so i want to know how to retrieve this code ?
Upvotes: 1
Views: 420
Reputation: 2516
Open your project in IDEA, right-click on class, Local history -> Show history. Here you can revert your code to latest snapshot.
PS: class with 21000 lines of code - it's something... crazy!
Upvotes: 3