Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » AutoComplete for "core" functions not working
AutoComplete for "core" functions not working [message #92196] Wed, 28 January 2009 17:54 Go to next message
Ed is currently offline EdFriend
Messages: 2
Registered: July 2009
Junior Member
Eclipse Version: 3.4.1
Build id: M20080911-1700
OS: Vista Home Premium
PDT 2, downloaded from zend

I created a PHP project by checking out from CVS. Now I can't get
auto-complete for "core" PHP functions like phpinfo, strpos, etc.

Since my .project file was empty of all config info besides the project
name, I copied the contents of another .project file to set my project
to...

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>lb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.dltk.core.scriptbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>

My PHP functions list is now full, and I get auto complete for functions
from within my project, but I can't get auto-complete and parameter hints
for "core" PHP functions.

In the project that I copied the above .project file from, I DO get the
auto-complete for the core functions.

I've check all the project properties, saved, closed, and reopened the
project, read this newsgroup, the PDT docs, the web, etc., but I still
don't see where the problem is coming from.

Any ideas what else I can try?

Thanks,
Ed Eichman
Cambrils, Spain
Re: AutoComplete for "core" functions not working [message #92210 is a reply to message #92196] Wed, 28 January 2009 19:08 Go to previous message
Ed is currently offline EdFriend
Messages: 2
Registered: July 2009
Junior Member
After reading
http://iwebdev.wordpress.com/2008/08/27/eclipse-svn-project- problems/, I
deleted all my "buildSpec" nodes, closed and reopened the project. Auto
complete now works, and two of the build commands were readded... It's
POSSIBLE that javascript build command (now absent from my project file)
caused the problem, OR Eclipse is additionally saving project data in a
different place.
My current (working) .project file...

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>lb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.dltk.core.scriptbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
Previous Topic:PDT / XDebug / TPTP Profiling
Next Topic:PHPDoc autocompletion
Goto Forum:
  


Current Time: Wed Nov 26 21:45:48 GMT 2014

Powered by FUDForum. Page generated in 0.02051 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software