-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: autosave #344
Comments
You are talking about an autosave so a Latex run can include the newly created entry inside the references?! If not please clarify your use case. How should the algorithm detect when you are finished with the entry? I don't see a good algorithm to detect the autosave point. Imho the normal use case should be:
|
We could consider saving after every edit (maybe as an additional preference option). |
Thanks for looking into this. On 16/11/15 23:22, Stefan Kolb wrote:
Indeed.
I see the problem. Mark van Rossum, Reader, School of Informatics, U Edinburgh The University of Edinburgh is a charitable body, registered in |
@JabRef/developers Any comments if we want to change anything or keep the current behavior? |
The JabRef StuPro feature team will take care of this issue. |
Hm, to make this a useful feature it should make saving obsolete. Every edit or change should be directly reflected in the persisted the database. |
Now we are collectiong ideas about realizing this. Suggestions are welcome. |
Maybe, it should be possible to turn on and off this feature on demand. If I work on a dropbox shared folder, I don't like that each change is instantly saved in dropbox, do I? |
We just received the message that there are discussions about implementing event system (#937 (comment)). Once this system is implemented the problem will get easier to solve. So we think we should wait, or? |
Initial sketch for the event system (#969) in the context of autosave. |
Could this potentially make JabRef slow again with large databases? |
So this problem is indepedant of the event system. I think that the save process of large databases takes too long, right? If so, we could implement another save method, which only updates the affected entry instead of overwriting the hole file. |
This is my imagination of this feature:
Discussions are welcome. |
What is the existing autosave mode? I would not make "Autosave on every" configurable. It is always saved after each change. I would not offer the choice between timebased and eventbased. Just eventbased. Or something sensible such as IntelliJ does. The recovery should also be done automatically. Reason: There should be less configuration possibilities. JabRef should just do it right. |
Time based autosave already exists. Okay, in that case I'm going to replace it completely. Should we provide a differentiation between event types then? |
I'm also in favor for only supporting event-based auto-save and only the following configuration options:
I think the backup functionality is very important, but of course should be adopted to work with the auto-save method. For example, it is relative pointless to save the same data to two files on every change. Thus I would differentiate between the following two cases:
So in either case there is a file with the old state and a file with the current state. |
Implemented in #2118 and help pages prepared (https://github.com/JabRef/help.jabref.org/pull/108). |
Thank you for reporting this issue. We think, that is now implemented in our development version and consequently the change will be included in the next release. We would like to ask you to use a development build from https://builds.jabref.org/master. |
Hi
Currently autosave is active every 5 minutes. Would it be possible to whenever an entry is added?
This would help a lot when one is typing a latex document and needs to include an extra ref in jabref.
Currently one needs to remember to save jabref everytime before running latex.
The text was updated successfully, but these errors were encountered: