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-59-generic running on amd64 Java; VM; Vendor = 1.8.0_112 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.112-b15 Reproducibility: Happens every time I recently did a code fork, and am now working on two almost identical sets of code for different clients. I am using Net Beans Project Groups to separate the two sets of code. When I do a Navigate -> Go to Type (ctrl + o) and type in the name of a class that exists in both sets of code, the dialog lists both of them, even though one of them resides in a project that is not open in the current Project Group. I believe that only that class that exists in a project that is part of the current Project Group should be listed.
Created attachment 163405 [details] IDE log
Mitch, do the projects have the same packages and class names internally? Also, can you give a rough example of the layout of the projects, plus where the class which is opened this way resides?
The projects in question do have exactly the same package and class names, but reside in different NetBeans projects. One example is my class com.csc.mm.MailUtil. It resides in NB projects MMCommon and HMCommon. MMCommon project is only a part of the MM project group. HMCommon project is only a part of the HM project group. When I invoke Go To Type, the class is listed twice, once for each project, even though only one of them is in the Project Group that is currently active.