r/arduino • u/Charlie_Macaw • 7d ago
Arduino IDE dropping code
I have discovered the Arduino IDE drops code when the screen saver kicks in and locks then the screen. On unlock, my code is gone!!
Ive had it happen several times now and its taken me this long to discover whats going on!
This is a HUGE bug.
Has anyone else had this happen?
EDIT: using ver 2.3.7
12
Upvotes
6
u/Charlie_Macaw 7d ago edited 7d ago
I’m using 2.3.7 and deliberately have auto-save turned off otherwise everything you type gets saved and if there is an error in your code you can only undo (ctrl-Z) back to the last (auto) save which is sometimes not far enough to undo, so I prefer to manually save but if you haven’t saved and (for example) the phone rings and you get talking and the screen saver kicks in, BAM! , your code/changes have gone!!