问题
PhpStorm
doesn't recognize Exception
from some reason. The code executes fine, but I cannot "go to" code (which should send me to Core_c.php
):
回答1:
Windows OS has "try rebooting the OS" advice which helps in a lot of "does not work / suddenly stopped working" scenarios.
File | Invalidate Caches is the one for PhpStorm, especially after IDE/OS crash or after upgrading your IDE to a newer version.
P.S. I had to make up some text, otherwise it's too short for an answer.
来源:https://stackoverflow.com/questions/13417624/why-phpstorm-inspection-says-exception-is-undefined