Question

I have a problem in phpStorm. It does not autocomplete php basic functions like var_dump, array_keys...

If it may help : I moved phpstorm from a folder in my user folder to /opt folder.

Was it helpful?

Solution 2

@LazyOne I could not test it on ubuntu but it may be the quickest solution

Finally I removed all .idea folder on each project, and it worked !

OTHER TIPS

Another thing to check is if your file cache is corrupt, try: File > Invalidate Caches (warning this will delete your local history)

I had this problem after reinstalling PhpStorm on Ubuntu 16.04. After reopening an old project it would not autocomplete built-in functions. I was able to fix that buy going to File>Settings>Languages & Frameworks>PHP>PHP runtime (a tab) then putting a check mark on 'PHP runtime' screenshot

For some reason these were not checked.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top