Code Completion not working at all
Hi @all,
I am on PhpStorm 5.0.4 on Ubuntu 12.04 and the code completion is not working neither for the PHP STATEMENTS nor for defined vars or classes or whatever.
Mine settings are:
Case sensitive completion: none
Autocomplete when only one choice: checked both Basic and Smart Type
Auto complete common prefix checked
Sort lookup items lexicographically: checked
Autopop up: checked 1ms
Preselect the first: 'smart'
Autopopup documentation: unchecked
It also mark as syntax error a lot of statement that are correct.
Can you help me?
Thanks
Please sign in to leave a comment.
Hi Marco,
Does it work when you invoke code completion popup manually (Ctrl+Space by default)?
In any case -- please try "File | Invalidate Caches..."
Hi Andriy,
thanks for your answer.
I invalidate the caches and start working.
Thank you very much!
Do you think I need to clean this cache from time to time or it is a onetime problem?
Marco
Only if you have problems as it deletes your local history and other temp stuff as well (in case you are using it -- Local History is a good one).
Usually I would recommend to do this when you install upgrade (not major like 4 to 5, or 5 to 6; but 5.0.3 to 5.0.4) -- at least that's what I do and I do not see such problems at all (unless I had cold restart/crash while IDE was running).
Ok thanks.
Reading you last post, I think the problem was originally caused by a crash of the Ubuntu some weeks ago while the editor was running.
Thanks again!
I just moved to PHPStorm 6, and I had to do this.
Once done, everything works as expected.