Is there any way that I can have the Delphi IDE auto-save all opened projects every X minutes, or just before compilatilation? I looked in XE2 and in Gexperts and didn't see anything, but that means nothing as I am thick.
4 回答
Check the checkbox in Tools->Options->Environment Options->Autosave->Editor Files
. It will save the files on compile/run.
(If you haven't already, I'd also check Tools->Options->Editor Options->Create backup files
, and set the File backup limit
to 10 or more. This enables a sort of version control using the .history folder for each project (which you can access using the History
tab at the bottom of the Code Editor.)
Andy's DDevExtensions has a "Compile Backup" option that automatically saves a copy of modified units to a .cbk file (e.g. Example.pas.cbk).
In Delphi Rio
Tools>Options>IDE>Saving and Desktop