This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 106704

Summary: auto-save edited files - plugin available
Product: editor Reporter: bosie <bosie>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: blocker CC: bleonard, geertjan, hmichel, markiewb
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description bosie 2007-06-14 18:33:30 UTC
implementing a feature which auto-saves when netbeans lost its focus (optional, in case users do not want that kind of behaviour)
Comment 1 Torbjorn Norbye 2007-06-19 23:32:57 UTC
Reassigning. We have a Local History feature now, but I think it versions explicitly saved files. Perhaps adding some kind of option to autosave at regular 
intervals (let's say 3 minutes after last editing operation, or on focus loss) would make sense? 
Comment 2 bosie 2007-06-20 06:59:28 UTC
having the option to chose between "3 minutes after" and "on focus loss" would be perfect. i prefer on focus loss but i know alot of people who would prefer 
the "3 minutes after"-action. 
another neat thing would be to save all open files before i run a test.
Comment 3 Tomas Stupka 2007-06-20 08:15:50 UTC
don't think this is in the scope of local history.
reassigning.
Comment 4 Peter Pis 2007-06-20 08:18:51 UTC
Reassigning to "editor" for evaluation...
Comment 5 Vitezslav Stejskal 2007-06-25 17:41:34 UTC
IMO, this could be implemented as a separate module independent on editor. Perhaps using DataObject.Registry for finding
modified DataObjects and calling their SaveCookie.save() if needed. Maybe somebody already implemented something like
that. Try looking on www.nbextras.org or just google it.
Comment 6 Vitezslav Stejskal 2007-09-05 17:03:00 UTC
*** Issue 114432 has been marked as a duplicate of this issue. ***
Comment 7 Vitezslav Stejskal 2007-09-24 12:54:57 UTC
*** Issue 116360 has been marked as a duplicate of this issue. ***
Comment 8 tbrunhoff 2009-05-19 23:17:06 UTC
Just a basic auto-save would be useful -- I just lost two hours of work because no such mechanism exists and the 6.7
beta locked up. Seems like a big hole (that I just fell into). This was reported in 6.0, and it is still marked
"future". Change to Defect and mark as next release.
Comment 9 Michel Graciano 2009-05-20 01:02:02 UTC
Please, take a look at http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=2404
I developed AutoSave module sometime ago and it is really useful and could solve your problem.

Regards
Comment 10 markiewb 2016-07-01 18:34:25 UTC
Or use http://plugins.netbeans.org/plugin/63714/autosavemodified which is compatible to NB8.1