Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369885

Summary: Auto-save feature in editor
Product: [ECD] Orion Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: EditorAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse.felipe, gheorghe, matvore, Silenio_Quarti
Version: 0.4   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Andrew Eisenberg CLA 2012-01-26 19:59:24 EST
Most modern browser-based services support some kind of auto-save feature.  For example, Google Docs, Gmail, Atlassian's jira and confluence editors, etc all auto-save after an edit.  I find this feature extremely useful.  I can't remember the last time I didn't want to save a file immediately after editing it.

I propose that the Orion editor should have this kind of feature.  After each edit, the editor waits a certain amount of time (say 3 seconds) and then auto-save s the file.  A new edit will reset the timeout.
Comment 1 Felipe Heidrich CLA 2012-02-06 13:38:40 EST
Definitely a good feature to have. It would also be nice to include setting to enable/disable customize the behavior.
Comment 2 Bogdan Gheorghe CLA 2013-04-12 14:14:00 EDT
Here is the patch (but we should wait for 3.0 M1 to finish before putting it out):

https://github.com/bogg/orion.client/commit/94b5335d53e424a778fd6505f1d0a21d9e12470b
Comment 3 Bogdan Gheorghe CLA 2013-04-24 14:49:55 EDT
Here is part 2 of the patch (hooking it into the edit page + preferences):

https://github.com/bogg/orion.client/commit/9d298b3159eefc87c8cbe1517275957da417e17e
Comment 5 Bogdan Gheorghe CLA 2013-04-25 13:44:29 EDT
Added an Editor Settings preference page that allows users to enable the auto save feature as well as specifiy what interval to use (1000ms by default).