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 7.1 (Build 201112071828) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_30 Runtime = Java HotSpot(TM) Client VM 20.5-b03 This has affected me since 7.1 RC3, I believe. When writing code, after entering double colons after a static class (which is how you access statics in PHP), Netbeans used to popup hints for code completion (a list of all available static methods and properties). Now it does nothing. I have also tried to use ctrl+space. It says "No suggestions". Of course at first I assumed my code was simply not being resolved do to poor namespace structure, bad phpdocs, or an outdated netbeans cache. However, if I enter a static method name manually and then use ctrl+p within it's argument list, I will see the correct hints for the method arguments. This suggests that it is resolving the statics just fine. Also, using right-click and "go to declaration" works perfectly, further suggesting that netbeans is resolving the statics just fine. However for some reason, it will not offer suggestions on the static class as it used to. Steps to reproduce. 1) Use this code namespace Foo\Bar; class StaticClass { public static function StaticMethod() { return false; } } \Foo\Bar\StaticClass::StaticMethod(); 2) Click on the last line to set the cursor on the word "StaticMethod()" 3) Press ctrl+spacebar and it will say "no suggestions" Expected behavior: It should show a list of available static methods and properties (in this case, just one: "StaticMethod()")
*** This bug has been marked as a duplicate of bug 206521 ***