I wanted to start a new Zend project, and currently I have to deal with some problems regarding Eclipse PDT ... My problem is that code completion in Eclipse for PHP does not work at all.
I tried many different lessons, etc., for example, creating a new project and importing files; the creation of a new workspace and import projects there; almost all possible combinations of build path and library import settings; delete multiple files in. metadata (you will find many tutorials like this if you conceived it), but nothing worked.
[Edit] PHPNature is also installed (thanks to tranisstor):
<natures> <nature>org.eclipse.php.core.PHPNature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature> </natures>
(It also does not work if there is only a set of PHPNature and the other is not)
[/ Edit]
The problem is in the details: I created a new Zend project and tried to start coding in IndexController.indexAction (). The first thing I did: I typed $this-> , but the code did not end ... I thought maybe I would need to add the Zend library that I did. When I click on Zend_Controller_Action in the class IndexController extends Zend_Controller_Action , I can see the Zend_Controller_Action documentation, I can also press F3 and the file will respond to aggression ... Which means that Zend has been successfully added as a library. I also tried Ctrl + Space , but nothing happens. By the way, standard PHP functions, such as isset() , will also not be displayed at code completion
Does anyone have an idea how to fix this? I am using Eclipse Juno, with Eclipse PDT 3 and Zend Framework 1.x (I don’t know for sure, but it is not ZF2, and it works well if I open http://localhost .
I am grateful for any help
source share