7
votes

I have been working with phpStorm and it had suddenly stopped showing suggestions for code completion. When i do Ctrl + space its behaving correctly by showing all the possible options in a drop down.

I have followed the below link and have did invalidate cache but still of no use. PhpStorm code completion doesn't show core classes/extensions

My Setup is: OS: Mac - 10.9.2 (Mavericks) PHPStorm: 7.1.3

6
Any recently added third-party plugins?Kootli
Please show your idea.log (Help | Show Log in...)LazyOne
I removed and re-installed the application. Now every thing looks good.Jai Prakash

6 Answers

13
votes

I just had the same problem, fixed it when I realized I mistakenly put PHPStorm in Power Save Mode. Click the little fellow on the bottom right of your PHPStorm window and switch that off

10
votes

Indeed, the Power saving mode (File > Power Saving Mode) allow you to disable the code inspection functionnality.

However sometimes the PhpStorm code analysis failed and you lost your code completion. In this case you juste have to ask for a new code analysis (File > Synchronize [CTRL+ALT+Y]) or invalid the cache and force a restart (File > Invalid cache / Restart).

Hope that helps.

4
votes

Invalidating the cache did not work for me, but this did:

Enable power save mode (File > Power Save Mode), then disable it.

2
votes

If your are using a Linux distro (Ubuntu, Debian, Centos) etc, it is due to ibus.

Just change the Shortcut (run: ibus-setup and change to Super+Ctrl+Space for instance) and everything will be fine again.

Or (my favorite): uninstall ibus if you are not using it. In a Debian/Ubuntu distro should be:

sudo apt-get remove ibus

Ctrl+Space autocompletion should be back.

2
votes

It was power saving mode for me too. It's an option at the bottom of the File menu.

0
votes

install a previous version

https://www.jetbrains.com/phpstorm/download/other.html

Worked for me after I tried everything.