I lost a day of work with the new 2.0 IDE.
Not sure how to replicate, but this is what I did:
- Opened an example
- started to work on it
- Save-as... -> overwrite an already existing file (on a mapped network drive)
- confirmed to be okay
- continued working
- save-as hasnt remembered my previous save-as, so had to point to the same file again and confirm overwriting.
- continued working
- save-as hasnt remembered my previous save-as, so had to point to the same file again and confirm overwriting.
- repeated several hours. Considered the sava-as not remembering rather annoying but didnt see a problem this serious with it.
My file was just not overwritten at all. No warnings!
When closing the IDE it asked me to save-as. Again I did the same. Then IDE closed. File was not saved at all.....
edit: just found temp files with my code in it so I could recover. For people with the same problem, check here for temp files: c:\Users{yourusername}\AppData\Local\Temp.arduinoIDE-unsaved{date}-{time}-{randomchars.{randomchars}\
Found it by doig a system wide scan for all .ino files. Filename was examplefilename.ino