Please, please, please implement this.
I know I'm ultimately responsible for saving, and should do it more often, but total system crashes are so rare, that I don't. So when it does crash, I'm fair scuppered. >
It's happened to me a few times now, and as sods law would dictate, it's always when I've got loads of code that's been added/changed. D'oh!!! :'(
So, yeah, autosaving to a temp file, like Word does, would be extremly helpful and give the IDE a more polished, professional feel.
As for the autosave on compile? Not such a great idea I think. As long as you know that the IDE doesn't save the code on compile, then you know that when you close it and it asks if you want to save it, you click 'OK'.
Forgive me if I'm wrong AlphaZeta, but I'm guessing you won't be making that mistake again. ;D
Suppose it could be an extended option like TBAr suggests, but I for one would have it turned off.