PHPStorm-显示检查中的所有错误 [英] PHPStorm - show all errors on inspection

查看:485
本文介绍了PHPStorm-显示检查中的所有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PHPStorm新手问题.

PHPStorm newbie question.

我昨天安装了PHPStorm,印象非常深刻.它确定了我的代码中的无数小问题,例如静态引用非静态类-我很喜欢它在打开的PHP文件中突出了这些问题.在检查结果"部分(我认为)中有一长串的清单,它标识了各种分组中的错误.太好了!

I'd installed PHPStorm yesterday and was very impressed. It identified countless small issues with my code, like referencing non-static classes statically - I loved that it highlighted the problems in my open PHP files. There was a bit long list in the "inspection results" section (I think) which identified errors in various groupings. Great!

今天,除了错别字"之外,我根本无法识别任何错误.同一项目.

Today I can't get it to identify any errors at all, other than "Typos". Same project.

很明显,我弄乱了某个地方的配置,但是我对那里的位置感到困惑.在过去的一个小时中,我已经遍历首选项"部分,尝试进行其他操作,但是无法像以前一样正常工作.

Clearly I messed up a a configuration somewhere, but I'm pretty baffled as to where. I've been through the Preferences section for the last hour trying different things, but can't get it to work as before.

有什么提示吗??

推荐答案

编辑器未正确突出显示代码或无法正常工作的检查可能是由于缓存损坏造成的.

Editor not doing proper code highlighting or not working inspections can be caused by the corrupted caches.

解决方案是执行File | Invalidate Caches并重新启动IDE.

The solution is to do File | Invalidate Caches and restart the IDE.

这篇关于PHPStorm-显示检查中的所有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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