Hmm,
for me this is quite strange thinking, since it passes the responsibilty for trivial save-operations to me instead of the IDE.
If the IDE thinks, it cannot save a notebook/program (But why? Can somebody think on any reason under a working Internet-connection?), it should tell that together with the reason and stop in an ordered manor. But not just destroy the program.
That the IDE tries to save a multiple of the data in use, i.e. fullform-output instead of shortform, and then kills everything thereon is ridiculous.
The error-messages and recovery-procedure (see above: Syntax error, plain text opening) are all wrong and do not work.
All of those are nothing but bugs, which render the Wolfram-PL-IDE very dangerous to use. Practically unusable.
You say, I should delete all output before saving. OK, but how? Manually? Tens or Hundreds of outputs, one after the other by manually deleting all those output cells? Or ist there a command for that? I could not find something like that.
All in all there remain two facts:
1) The Wolfram IDE Programming Lab IDE is dangerous since it destroys programs during save into the Wolfram cloud.
2) Basically the problem comes from not storing programs locally on my PC, but this cloud-nonsense instead.