PhpStorm无法识别PHP类 [英] PhpStorm not recognizes a PHP class
本文介绍了PhpStorm无法识别PHP类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
今天早晨,我面临着这个问题,我真的不知道如何解决这个问题.
this morning I faced with this issue and I don't know really how to solve this.
这是一个图像和一个视频:
Here's an image and a video: http://screencast.com/t/2ubAbwPj6
P.S.当我将文件重构为"filename.php"时,PhpStorm会检测到它,但是如果我将其改回"filename.php",则PhpStorm不会将其检测为PHP文件.
P.S. When I refactor the file to "filename.PHP" PhpStorm detects it but if I change it back to "filename.php" PhpStorm won't detect it as a PHP file.
推荐答案
-
Settings/Preferences | Editor | File Types
- 在其中找到
Text Files
条目 - 从底部列表中删除不需要的模式(最有可能是
LoginListener
或LoginListener.php
Settings/Preferences | Editor | File Types
- Locate
Text Files
entry there - Remove unwanted pattern from the bottom list (most likely will be
LoginListener
orLoginListener.php
这篇关于PhpStorm无法识别PHP类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文