I am working in a Wordpress setup but I notcied this issue has nothing to do with this. I am coming from Phpstorm 7 and I still have 7 installed and this is not an issue.
If I have a function on a page like so....
Then in Phpstorm 8 it will no find some_function() for code completion....it does not cache it to use. However in Phpstorm 7 it shows some_function() as a option in code completion.
Phpstorm 8 will only see and make it available in code completion if I remove the 'class_exist()' from the page.
Then Phpstorm 8 makes this available for code completion.
Is there a setting that I am over looking?