phpstorm无法索引大文件php文件

2024-07-23  本文已影响0人  奋斗中的菜同学

phpstorm默认是2.5M左右,超过这个数值就不会自动索引了,看日志会有 xxxx is too large for indexing. 然后就是phpstrom里面自动补全、引用看起来都会有问题。。
解决方法,设置自定义参数,把这个默认的文件大小调大,具体步骤

  1. help->edit custom properties
  2. idea.max.intellisense.filesize=3000 //单位是kb,可以根据自己的需要设置
  3. 重启就可以恢复正常
上一篇 下一篇

猜你喜欢

热点阅读