ok so i’ve been working on some really big projects n stuff but one thing is making me back away from replit: my code is deleted
i was working on an advanced terminal program and switched files and back… BOOM ITS ALL GONE
right so i thought this would be a one time thing but no
literally 2 minutes ago i was working on my own .dll system and my entire interpreter just vanished after switching to the main file
Did you check if any of the files are being used when the Repl is being run? They will usually not save the file because there might be errors that could cause the entire Repl to crash.
You may also want to check your file history and see if the changes are made in the file, but don’t appear in the editor.
If you are editing the files in offline mode, they may not save into your cache when you return back online, and I highly recommend not to do so when you have no internet connection
Are you certain it’s deleting your code and not just showing you the file you switched to? Are you still able to open the other file and see content in it?
No! I can’t even see that history as all my files in the repl are deleted! I don’t know but it was because of the new replit update. All my python files and .toml files are also deleted and I just see an empty repl.
if you can, create empty files/folders with the same names and locations as your previous source code files. The content should hopefully be restored, or at least some part of the history.