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.
Repro: 1) Add a new package "foo". 2) In a java source file outside the new package, add the import "import foo.*;". -> The editor shows an error "package foo does not exist", although the "foo" package is shown under the projects Source Packages node and the external compiler does successfully compile the import.
This is in fact a duplicate of issue 128830. We know about this problem -- it is caused by not indexed packages. We index sourceroots, which means a package is not visible to infrastructure until there is a class inside. Solving this problem would require large changes which are not likely to happen in this release, sorry. *** This issue has been marked as a duplicate of 128830 ***
I've realized that this is not a duplicate, sorry. Reopening.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Still reproducable in current dev build.