<type>documentation</type>
<domain>edit</domain>
<id>auto-save</id>
<title>Auto-Save</title>
<date>$Date$</date>
<version>$Revision$</version>
<product>per+</product>

Wing auto-saves files to disk every few seconds so they can be restored if the IDE is
killed from the outside or crashes. The auto-save files are placed in a subdirectory of
your `Cache Directory`__.

__ ref:install/user-settings-dir

Wing checks this directory at startup and will offer to restore any unsaved changes. The
files you select to restore will be opened into Wing as edited files.

~~~if WINGPRO:
In Wing Pro you can compare the restored files to disk using ``Compare Buffer
with Disk`` item in the ``Difference/Merge`` toolbar item or ``Source >
Difference/Merge`` menu area.
~~~

To keep the restored unsaved changes, save the file to disk.

To discard the unsaved changes, use ``Revert to Disk`` in the ``File`` menu.

