PHP脚本文件没有PHP语法格式 [英] A PHP script file doesn't have PHP syntax formatting

查看:71
本文介绍了PHP脚本文件没有PHP语法格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的PhpStorm中,文件index.php看起来不像PHP脚本,而是纯文本文件.我该如何解决?

In my PhpStorm, the file index.php, doesn't look like a PHP script, but a plain text file. How can I fix it?

推荐答案

  • 设置|文件类型|文本文件
  • 在此处查找并删除不需要的模式-我希望它是index.php或非常相似
    • Settings | File Types | Text files
    • Find and remove unwanted pattern there -- I expect this to be index.php or very similar
    • 类似的问题:

      • PHPStorm renders a particular file name as plain text
      • Pycharm utils.py not getting syntax highlight

      这篇关于PHP脚本文件没有PHP语法格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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