How can I restore lost code?

I worked on an Autonomous code last night but today it just disappeared. Is there a way i can restore it?

Well, to save a program to the robot, it first needs to be saved to the device you’re using it with. Try checking the device, and it’s trash folder for the missing code.