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.
Summary: | Autocompletion does not work for static members with fully qualified namespaces | ||
---|---|---|---|
Product: | php | Reporter: | marcusson <marcusson> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | Anakonda, evandelacruz, mmirilovic, RadekDvorak, vriha, zeliret |
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
marcusson
2011-12-19 10:15:13 UTC
Reproducible in 7.2dev. This test should re-produce the problem, however, the code-completion works as expected on Netbeans 7.0.1 if that helps fix it any. -- File foo.php <?php namespace Name1; class Foo { static public function bar() {} } -- File bar.php <?php namespace Name2; class Bar { static public function foo() {} } -- File test.php <?php \Name1\Foo::bar(); \Name2\Bar::foo(); ?> *** Bug 207050 has been marked as a duplicate of this bug. *** Fixed in web-main: http://hg.netbeans.org/web-main/rev/327ca64d3920 It's a candidate for 7.1 patch 1 (it's regression). Vlado, please, can you verify that? Example in the first comment is useable for a test. Thanks! *** Bug 207127 has been marked as a duplicate of this bug. *** While verifying I noticed issue #207175, not sure if it's related to this fix. Anyway this works good, so verified. Product Version: NetBeans IDE Dev (Build web-main-6696-on-20120111) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-14-generic-pae running on i386; UTF-8; en_US (nb) I cross-tested the last comment and noticed that the fix is not there in the nighlty Dev build 20120109601 and neither is issue #207175. So I also assume that the issue might be related to the fix. However: so far I have no current version after the fix to positively verify the bug. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/327ca64d3920 User: Ondrej Brejla <obrejla@netbeans.org> Log: #206521 - Autocompletion does not work for static members with fully qualified namespaces *** Bug 207162 has been marked as a duplicate of this bug. *** *** Bug 207425 has been marked as a duplicate of this bug. *** verified 7.1.1 Product Version: NetBeans IDE 7.1.1 (Build 201202122200) I have this problem in 7.1.1. (Mac OSX) Downgrade to 7.1 solved this, as well as using the Nightly Build This bug is verified and fixed. If you have another issue, create new one with test cases. Thanks. (This patch fixed some issue which appeared in 7.1 so solving via downgrading to 7.1 is nonsense). It's work only after full reinstall 7.1.1 I'm have some problem (7.1.2) Don't work code walking to namespace's Classes and theirs static methods. This functional is very usbility needed Today it isn't fixed in public versions? (http://netbeans.org/downloads/index.html) (In reply to comment #15) > I'm have some problem (7.1.2) > Don't work code walking to namespace's Classes and theirs static methods. > This functional is very usbility needed > Today it isn't fixed in public versions? > (http://netbeans.org/downloads/index.html) i have posted: http://netbeans.org/bugzilla/show_bug.cgi?id=215250 Please, don't change properly set tags...thanks. |