Accidental deletion

Question:I accidentally deleted all of my code and I’m wondering if there’s a way to get it back.

Repl link:

code snippet

You can use the keyboard shortcut Ctrl + Z or use the timeline.


Hey @AilaPiatkiewicz and welcome to the community!

To recover a missing file, you can create a file with the same name.
To restore a Repl, you can to to the CLUI and click on restore repl.

1 Like

I’m pretty sure there is not a way to get it back. Take this advice with a grain of salt as I am only about 88.73% sure, but to the best of my knowledge, no. I’m sorry for the loss of code though :frowning:

I literally almost started crying but I got it figured out tysm

Trying pressing Ctrl + Z to undo changes. If you’re on mobile you can tap the lightning button and then the undo button.

If you exited the Repl, go to the History tab and move the sliders until it looks right.

If you deleted the file, make a new file with the same name as the deleted one. This should restore it.

Hope this helped :slight_smile: