autosave

Jaikov dr at jaikov.de
Wed Apr 4 02:31:57 BST 2007


Hello Jens,

I've applied your patch, and it works great for me!

Many thx,

Jaikov

Am Mittwoch, 4. April 2007 02:31 schrieb Jens Dagerbo:
> On Tuesday 03 April 2007 22.50.05 Jens Dagerbo wrote:
> > Not sure why we haven't added auto save. It sounds completely trivial to
> > do. A checkbox and perhaps a configurable interval, what else could it
> > possibly need?
>
> Here's a quick stab at autosave for KDevelop3.
>
> The implementation is straightforward and the only curious thing is
> probably the m_isSaving flag. It's needed to weed out a corner case where
> if a file has been externally modified and the autosave kicks in, KDevelop
> will show a messagebox asking the user for confirmation. Without this flag
> to keep track of this state, the messagebox will be launched again and
> again (for every autosave) and this is potentially really bad.
>
> I put the configuration in Settings -> Configure KDevelop -> Editor.
>
> Opinions? Worth applying?
>
> // jens




More information about the KDevelop mailing list