Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to auto-save in XE2?

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.

like image 408
Mawg says reinstate Monica Avatar asked Feb 16 '12 00:02

Mawg says reinstate Monica


3 Answers

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.)

like image 70
Ken White Avatar answered Oct 07 '22 00:10

Ken White


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).

like image 26
Gerry Coll Avatar answered Oct 07 '22 00:10

Gerry Coll


In Delphi Rio

Tools>Options>IDE>Saving and Desktop

like image 30
jay fall Avatar answered Oct 06 '22 23:10

jay fall