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.
Scenario: 1) open a project with first version of classes (e.g. a branch checkout of the same module) 2) work with the project 3) close the project 4) open a project with second version of classes (e.g. trunk checkout of a module) Code Completion Database Manager dialog lists parsed files of both versions. This introduces a confusion. For example Go To Class (fast open) dialog lists two entries for each class you search for. In addition, if you select the entry for not open project's class, you get an error "Source FOO not found in Filesystems". This could be solved for example by adding a column "Enabled" in the Code Completion Database Manager. This flag could be off for items of not open projects.
It's supposed to only offer DBs from open projects.
First, this issue most probably will not get fixed as it is irrelevant in after-MDR world. Anyway here is couple of comments: "Code Completion Database Manager dialog lists parsed files of both versions. This introduces a confusion." - what confusion? There should be two items with different paths, something like: - D:\dev\stable\ant\src - D:\dev\release36\ant\src As for the "Go To Class": sounds like bug. That should work according to list of opened projects. If you have opened both ant from trunk and release36 then yes you will get some classes twice. But if you close release36 ant then everything should be OK - only once class should be offered. I'm sure I was testing this, but probably it got broken. Don't know.
Yes, then it is a bug in Go To Class dialog.
It works correctly in meta_stavbicka branch. I will add a dependency to issue #42068. After merging meta_stavbicka to trunk, this issue could be closed.
I am closing it... meta_stavbicka was merged to maintrunk