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.
Please sign in to leave a comment.
Hi there,
Sounds like indexes/caches corruption.
Please try "File | Invalidate Caches..." and restart IDE.
Oh my,
Thats fixing the issue. Thank you very much andriy bazanov. Just curious, why this happening? i mean caching corruption ?
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.
Ok then. Once again thank you for the solution.