2 Replies Last post: Mar 19, 2010 9:01 PM by Alexey Gopachenko  
derek zheng Newbie 1 posts since
Mar 17, 2010
Currently Being Moderated

Mar 17, 2010 1:08 PM

There is something wrong with the static class.

I found it doesn't work with my pre projects, cuz I've been using a lot of static class.

For example:  self::bar=new db();  self::$bar->(There is no autocomplete).

And it doesn't autocomplete the static function for example:

     class Foo{

           static function Bar(){

           }

     }

 

       Foo::(there is no autocomplete either)

 

     and I can't autocomplete the static class F(no autocomplete)

drian  Newbie 29 posts since
Mar 10, 2010
Currently Being Moderated
Mar 19, 2010 9:52 AM in response to: derek zheng
Re: There is something wrong with the static class.

I think you're wrong. I've just tested what you said and it worked ok. I'm using phpstorm WI-94.506

 

foo.jpg

Alexey Gopachenko JetBrains 1,294 posts since
Aug 22, 2002
Currently Being Moderated
Mar 19, 2010 9:01 PM in response to: derek zheng
Re: There is something wrong with the static class.

Please post all bug reports to tracker http://youtrack.jetbrains.net/issues/WI Before posting - update to latest EAP build and check that your problem is reproducible. Include complete code example in post.

More Like This

  • Retrieving data ...