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 145741 - Autosave when file loses focus
Summary: Autosave when file loses focus
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-31 22:43 UTC by nigel_bris
Modified: 2017-07-03 20:12 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Module providing auto-save behavior (17.06 KB, application/x-compressed)
2008-09-30 18:06 UTC, Torbjorn Norbye
Details
image of failed selection (7.52 KB, text/plain)
2009-05-21 14:25 UTC, nigel_bris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nigel_bris 2008-08-31 22:43:53 UTC
I promote Netbeans IDE to friends and colleagues... One feature that Java people tell me about with intelliJ is that you never have to save a file.. It saves it 
when you lose focus or tab to another file (I guess ?)... Textmate has a similar plugin..

It would be great to have this as an option
Comment 1 Torbjorn Norbye 2008-09-30 18:06:43 UTC
Created attachment 70924 [details]
Module providing auto-save behavior
Comment 2 Torbjorn Norbye 2008-09-30 18:08:41 UTC
Thanks for the idea. This was trivial to write (just 5-10 lines) so I checked it into the contrib/ area. I have attached
an NBM to this issue which you can install via the plugin manager.  (Checked in as contrib/autosave, by changeset
4254ba5c0d7d.)

I assume what you really want is for this to be a standard option in the IDE. That won't happen for 6.5 (we're way past
feature freeze) but I'm reassigning to the editor so they can track it there and decide what to do about it.
Comment 3 Jesse Glick 2008-09-30 18:18:19 UTC
There is already an AutoSave module on AU somewhere, though I'm not sure where it is hosted from; I have had it
installed for a long time and I don't remember.

BTW Tor - your Bundle.properties has some stale keys copied from some other module.

*** This issue has been marked as a duplicate of 7067 ***
Comment 4 Michel Graciano 2009-02-17 16:07:56 UTC
Hi guys,
I will implement it for plugin http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=2404
I am thinking to publish it at contrib repository, do you see any problem about it? I hope to be possible to rewrite the
tor module and create property to user define if want or not use this feature, since it can be painful for people who
use CoS feature.

Regards
Comment 5 Jesse Glick 2009-02-18 02:29:33 UTC
I think that would be great. Probably better to add comments to the original issue #7067.
Comment 6 nigel_bris 2009-05-21 14:25:59 UTC
Created attachment 82548 [details]
image of failed selection
Comment 7 giulio_a 2017-01-02 09:53:42 UTC
Hi all.

Autosave when files loses focus is a very useful thing for developer, and I ask you to consider the possibility to integrate it directly in NB 8.x core.

Autosave when files loses focus was realized as a NB plugin extension from Michel Graciano: http://plugins.netbeans.org/plugin/37077/autosave-module-for-6-9-and-later

This plugin is no longer maintained, as it seems to me. It is still available, but I think that this very useful behaviour for developer can be easily integrated into NB editor core.

So I reopen this issue to ask NB core team to consider this possibility: integrate this behaviour directly into NB core ( I think it should be a very easy task ), to avoid the lack of functionality due to NB plugin maintenance.