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

Summary: Better Handling of External Changes
Product: platform Reporter: tofarr <tofarr>
Component: Data SystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

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.