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 192319 - Better Handling of External Changes
Summary: Better Handling of External Changes
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal with 3 votes (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 09:36 UTC by tofarr
Modified: 2014-02-13 00:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tofarr 2010-11-23 09:36:27 UTC
When an external change happens to a file (for example, if a user accidentally overwrites a source file with an external file), the IDE automatically takes the change and updates the editor with it. Other IDEs present a dialog asking the user to confirm this is what they wanted, but netbeans does not, and no undo option is available for this operation. I suggest either:

* Presenting a confirm dialog to the user
* Saving an entry to the local history so the user can revert if they wish
Comment 1 Sarke 2014-02-13 00:43:16 UTC
+1 for this.

Currently there is a confirm dialog box, but there should be a third option: Merge changes.

In either case, the UNDO NEEDS TO WORK! 

The suggested "add entry to local history" would be great so we can do merge/diff manually.