php - "No completions available" on var_ -
I have a problem with perfection. Now I can not find any suggestions that I can type var_dump, but it is more comfortable with autocomplete.
I am using Eclipse PHP IE 3.5 with PDT 2.1.
Add "core API" to "PHP Language Library" in the Eclipse PHP Project.
Solution :
- Right click on your Eclipse PHP project -> Properties -> PHP Build Path.
- Click "Add Folder ..." and select the source folder to use (Applications, Library, Public, ...), and then click "OK."
- Click "OK" to save changes
- Close Eclipse.
- Go to project path.
- Open ".buildpath" with the text editor (gedit, vim, notepad, etc.).
- Add the next line after the BuildPrintry type = "Conn"
path = "org.eclipse.php .core.LANGUAGE "/>
Example :
Earlier :
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Buildpath & gt; & Lt; Buildpathentry kind = "src" path = "library" /> & Lt; Buildpathentry kind = "src" path = "public" /> & Lt; Buildpathentry kind = "src" path = "app" / & gt; & Lt; / Buildpath & gt;
after :
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Buildpath & gt; & Lt; Buildpathentry kind = "con" path = "org.eclipse.php.core.LANGUAGE" /> & Lt; Buildpathentry kind = "src" path = "library" /> & Lt; Buildpathentry kind = "src" path = "public" /> & Lt; Buildpathentry kind = "src" path = "app" / & gt; & Lt; / Buildpath & gt;
Comments
Post a Comment