为什么PhpStorm检查说`Exception`是未定义的? [英] Why PhpStorm inspection says `Exception` is undefined?

查看:77
本文介绍了为什么PhpStorm检查说`Exception`是未定义的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PhpStorm 由于某种原因无法识别 Exception .代码执行正常,但是我无法转到"代码(应该将我发送到 Core_c.php ):

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):

推荐答案

Windows操作系统已尝试重新启动操作系统"建议,该建议可在许多不工作/突然停止工作"的情况下提供帮助.

Windows OS has "try rebooting the OS" advice which helps in a lot of "does not work / suddenly stopped working" scenarios.

文件|失效缓存是用于PhpStorm的缓存,尤其是在IDE/OS崩溃或将IDE升级到较新版本之后.

File | Invalidate Caches is the one for PhpStorm, especially after IDE/OS crash or after upgrading your IDE to a newer version.

P.S.我必须整理一些文字,否则答案太短了.

P.S. I had to make up some text, otherwise it's too short for an answer.

这篇关于为什么PhpStorm检查说`Exception`是未定义的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆