PhpStorm isn't recognising core PHP. For example, it's not recognising Exception, with the tooltip saying "Undefined class 'Exception'".
I've tried invalidating the cache to no avail. I've checked a colleague's installation and they appear to have no issues, and after Ctrl+Clicking on their Exception class, it links correctly to Core_c.php, which isn't the case for me. It seems like my PhpStorm isn't picking up the PHP plugin / library, and I have no idea why.
I've tried reinstalling PhpStorm to the latest version, upgrading all of my packages. I've even made sure that the php.jar plugin is actually there, and it is:
/opt/phpstorm/plugins/php/lib/php.jar
And the PHP plugin is enabled in PhpStorm.
Another problem I have with PhpStorm is that it isn't suggesting function names whenever I type them. Help would be appreciated, and I can provide additional information if needed.
catch(\Exception $e))idea.logis enough -- make sure it's the most fresh (you may close IDE; delete all logs/files there; start IDE -- wait till it loads and try that Ctrl+Click & code completion; after that close IDE and share that log file.) Can you please also show how your .php file looks like (the one that does not work). Ideally whole IDE window -- using Default unmodified color schema. P.S. If anything -- you may backup and delete IDE-wide settings and start from scratch (last resort option)~/.Phpstorm2016.3