Losing code hint for built in php classes ?

Hi,

Today i get strange thing for my phpstorm 8. Usually its hinting anything, but since today when i try to instantiate some class its noting show up. Except custom class i made during the work. Example if i want start mysqli connection, i type $var = new my... usually this will showing mysqli & co. But its gone now, i trying to fix this by go to setting > language and frameworks > php and change the setting there but still no luck. Any idea for this?

Many thanks.

4 comments
Comment actions Permalink

Hi there,

Sounds like indexes/caches corruption.

Please try "File | Invalidate Caches..." and restart IDE.

0
Comment actions Permalink

Oh my,

Thats fixing the issue. Thank you very much andriy bazanov. Just curious, why this happening? i mean caching corruption ?

0
Comment actions Permalink

Usually happens when upgrading an IDE to newer version (i.e. 8.0.1 --> 8.0.2; or between EAP builds)

Other than that -- maybe inproper shutdown (check your idea.log for possible hints).

In any case: if this is not happening all the time / very often then you have nothing to worry about -- it's just indexes/caches.

0
Comment actions Permalink

Ok then. Once again thank you for the solution.


0

Please sign in to leave a comment.