Web Hosting Talk







View Full Version : Eclipse PDT autocomplete not working


Eric Lim
01-18-2010, 02:37 PM
Hi all,

I just installed the latest version of Eclipse (Galileo Version: 3.5.1) and PDT on my snow leopard. Both are of Cocoa 64-bit version. This is actually my first time setting up eclipse on snow leopard. Here's some of the information that may help diagnosing the problem:

-----------
Java version
-----------
eric-lims-macbook-pro:Development donuteric$ java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)

-----------
.buildpath
-----------
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
<buildpathentry external="true" kind="lib" path="/Users/donuteric/Downloads/ZendFramework-1.9.7/library"/>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
<buildpathentry kind="src" path=""/>
</buildpath>

The path contains all the Zend framework libraries is valid, so are all the included paths. So now if I'm calling a static function, after typing ::, no menu appears. I know different version of Java alters eclipse's behavior, but I don't know if this has anything to do with the 64-bit Java from Sun. So any comment and suggestion would be greatly appreciated!

Oh by the way, the project is created as a brand new PHP project, not by SVN. I also verified that .project is accurate.

Kohrar
01-19-2010, 07:33 PM
I'd be interested in the solution to this too. I noticed the same problem when trying to work on a PHP project last year. My only work-around for this issue is to have 2 separate eclipse installed -- one for Java (your standard eclipse), the other for PHP (Eclipse for PHP developers).

I'm guessing it's a missing plugin or something, but I never bothered to figure it out.

Ramprage
01-19-2010, 07:44 PM
I just dumped Eclipse for Netbeans. I grew tired of all the issues I found when using Eclipse or Aptana.

Eric Lim
01-25-2010, 02:20 PM
Same here. I decided to switch over to NetBeans for PHP projects and use Eclipse for other developments. Without autocomplete, any IDE is pretty much useless.

Thanks for responding!

mattle
01-25-2010, 03:33 PM
I tend to agree...I've been using NB a lot lately, and haven't opened Eclipse in over a month. One complaint about Netbeans: no Perl support.