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.
Go to Type does not support wildcards in Namespaces Invoke "Go to Type" and search for library*Service. Nothing found. However, search for library\Services\ or library\Services\Service has results. CamelCase Navigation seems to be broken too. Example files: Service.php <?php namespace library\Services; class Service {} User.php <?php namespace library\Users; class User {}
Namespace navigation never worked, because infrastructure replaces backslashes with "" -> nothing. So if one finds Foo\Bar then PHP type searcher gets FooBar...so we don't have any chance to detect that user wants namespace. Camelcase also never worked and can't (there is an enhancement...) because it's not supported by PHP index. Tomorrow I'll file a new issue against navigation infrastructure about that backslash problem. Thanks.
I read it again and I'm a bit confused right now...FQ name with namespace worked? Weird. It has to be hacked somehow :) I have to test it. It's evening and I'm tired...so tomorrow we'll see :)
(In reply to comment #2) > I read it again and I'm a bit confused right now...FQ name with namespace > worked? Weird. It has to be hacked somehow :) I have to test it. It's evening > and I'm tired...so tomorrow we'll see :) yes, it does even very nice thing: it can list all classes in given namespace (stop typing after last backslash in namespace for that)
Imho that "very nice thing" will be just side effect of a suspicious implementation :) Nevertheless, it's a really complicated issue which will take a lot of time, because regular expression search is not implemented for PHP index at all :( A lot of thing will have to be rewritten. Probably it will affect everything what somehow touches index... Not sure if it's a good idea to do that in this phase of release. I don't think so, but I'll try to look at it much further.
As explained earlier, this is more enhancement more bug. Thanks for reporting.