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.
Product Version = NetBeans IDE 8.2 (Build 201609300101) Operating System = Linux version 4.4.0-75-generic running on amd64 Java; VM; Vendor = 1.8.0_112 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.112-b15 Reproducibility: Happens sometimes, but not always Fairly frequently, I have a code generation process that runs outside of NetBeans that changes some of my Java source files, in projects that use git as the source control. Most of the time when I use this process, the externally updated files are not detected by NetBeans. When I do a git -> show changes, the changed files are not listed. Same with a commit. The only way I've found to cause NetBeans to realize that the file has changed is to open the file and make an innocuous change in the source code. This seems like a bug, as sometimes the change IS detected. PS - Is there a way to force NetBeans to scan the source files or something looking for external changes?
Created attachment 164246 [details] IDE log
This is still a problem. Interestingly, when this happens and I open a file that I know was changed by the external process, the changed markers show up in the left margin (green) but the tab title color does not change to blue (changed with respect to source control).