I got a bug a few weeks ago where I lost an afternoon of coding because my file was apparently not saved.
I thought this was a strange “exceptional” bug. But now I’m encountering again.
This time, I can “see” it!
The “code pane” shows the code like you typed. When you type it and save it, you see the green dot and “All changes saved” message. However, if you go to the terminal and make a “cat myfile”, you see the file unchanged!
Another way to see it is by copying the file in the “workspace file explorer panel”. The result will be different than what you are currently editting. Closing it and reopening it also looses your changes.
PS: on this workspace, I have the experimental “Changes Panel”, dunno if it has something to do with it though.
PS2: this was the workspace/file where it happened: https://ide.c9.io/xarn/shelve2 - finder/finder.py