[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] AutoComplete for "core" functions not working

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