Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369885 - Auto-save feature in editor
Summary: Auto-save feature in editor
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: 0.4   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 19:59 EST by Andrew Eisenberg CLA
Modified: 2013-05-29 16:38 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).