My Eclipse doesn\'t use auto-complete... My colleague get a whole list of suggestions by just typing some letters and I get nothing...
The Eclipse version I use is:
If this happens only for one project in Eclipse and others are autocompleting correctly, it sometimes happen when you create new PHP project and press Finish
on the first page.
To fix it, remove the project from Eclipse (Windows > Show view > Navigator
and press DELETE
on the project). Then go to project folder and delete file .project
and folder .setting
.
In Eclipse now select File > New > PHP project
, select name and folder, press Next
and verify (or manually add) that root folder of the project is listen on Source
tab.
Then click Next
and add root folder of the project or folders that contain PHP files into Build path
. Now you can click Finish
.
Note: adding Source
and Build
paths into existing project usually does not fix this problem and you really have to delete and create new project.