My PhpStorm 5 does not know php native functions

后端 未结 3 1643
执念已碎
执念已碎 2021-01-17 14:49

I recently downloaded PhpStorm 5. Everything work fine with verion 4, but now I can not access to native php functions on autocomplete. Functions and classes declared in my

相关标签:
3条回答
  • 2021-01-17 15:26

    I solved same problem in my PhpStorm2020.2 by this command in linux:

    on Linux, execute this command: rm -rf ~/.cache/JetBrains/PhpStorm2020.2/

    on macOs: rm -rf ~/Library/Caches/JetBrains/PhpStorm2020.2/

    0 讨论(0)
  • 2021-01-17 15:28

    Try File | Invalidate Caches, also check that PHP interpreter is configured for the project (File | Settings | PHP, Interpreter).

    0 讨论(0)
  • 2021-01-17 15:28

    How sj59 answered higher if you had used multiple versions of Phpstorm on Ubuntu like 2020.1, 2020.2 and then 2020.3 deleting cache can help but it was not working for me until I deleted all JetBrains Cache folder like this:

    rm -rf ~/.cache/JetBrains/
    

    Before this I tried Invalidating Caches, turning all plugins off and reinstalling the IDE completely

    0 讨论(0)
提交回复
热议问题