Can't resolve target expression
require_once('config/config.inc.php');
require_once('config/db_connect.php');
Those are the expressions I'm getting the warning on. But they do exist and the page runs with no errors (for PHP). I tried including the directories in the PHP setup (along with PEAR) but still a no go.
Obviouslly I'm missing something basic about the IDE. Is there a place to set includes per proejct?
Thanks...
Please sign in to leave a comment.
Add that folders to content roots and set directory parent to 'config' directory as resource root. See screenshot below:

I did this...
I still get the warnings in the code. Code completion works though, displaying functions from scripts in those directories. And of course, all the scripts run...
Thanks for replying, by the way. :)
Attachment(s):
screenshot.png
You need to set up includes at Settings|PHP|include path.
That did not work. I still get the warnings.
Yea, I have the same problem. I've filed a bug about it.
http://youtrack.jetbrains.net/issue/WI-3125?projectKey=WI&query=by%3A+me