[Lazarus] Auto session store etc.

Michael Van Canneyt michael at freepascal.org
Fri Jan 4 12:59:04 CET 2019



On Fri, 4 Jan 2019, Mattias Gaertner via lazarus wrote:

> On Fri, 4 Jan 2019 12:08:56 +0100
> Florian Klämpfl via lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> Is there any possibility that lazarus auto stores the current session 
>> (project file, source files, session information etc.) every xxxx s?
>
> No.
>
> A simple save is easy to implement. But there are some cases which
> makes it difficult in general:
>
> - If it would trigger a normal "save all" and you have just created
>  some new files or are in the middle of a refactoring you will get
>  suddenly save and message dialogs. I personally would hate that
>  interruption.
> - I often open a file, change something and save it as another
>  name. An autosave would play havoc here.
> - It would be better if the autosave would save the changed files in a
>  separate location (e.g. .lazarus/autosave), which can then be
>  restored on next start. But that requires some more work.

Well, to my big relief, I discovered that Atom does this.

It saves files that were opened but never saved. Next time I opened the
project, even the unsaved files were there.

So I am all for this 'more work' :)

Michael.


More information about the lazarus mailing list