Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Zend PDT 3.0.2 Win32: No proposals in Code Assist for PHP source(Only superglobal variables appear, but no local variables, no functions)
Zend PDT 3.0.2 Win32: No proposals in Code Assist for PHP source [message #800025] Thu, 16 February 2012 10:43 Go to next message
Mario Rohkrämer is currently offline Mario Rohkrämer
Messages: 3
Registered: February 2012
Junior Member
Greetings.

I'm using Zend PDT (Eclipse for PHP Developers) version 3.0.2 on Win32 (Windows XP Professional). Code Assist proposals and completions are available for HTML and JavaScript source areas. But PHP source areas don't work, there is no code completion, there are no mouse-hover syntax details about functions; the only exception are superglobal variables.

In parallel, I have an Eclipse Indigo SR1 installation (Eclipse IDE for JavaScript Web Developers). Here all Code Assists work well.

Which options should I try to compare and check to make PHP proposals work in Zend Eclipse PDT too? Are there any logs of probably failed functions I can check?
Re: Zend PDT 3.0.2 Win32: No proposals in Code Assist for PHP source [message #800416 is a reply to message #800025] Thu, 16 February 2012 22:25 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 338
Registered: July 2009
Location: Japan
Senior Member
FYI:
Eclipse Community Forums: PDT ≫ code completion doesn't work in pdt 3.02.

-
A bit newer interim build is available at http://www.eclipse.org/pdt/downloads/?showAll=1&hlbuild=M201201110400&project=pdt#M201201110400
or update site http://download.eclipse.org/tools/pdt/updates/3.0/milestones/
--
atlanto
http://blog.goo.ne.jp/atlanto/
Re: Zend PDT 3.0.2 Win32: No proposals in Code Assist for PHP source [message #800524 is a reply to message #800416] Fri, 17 February 2012 02:16 Go to previous messageGo to next message
Mario Rohkrämer is currently offline Mario Rohkrämer
Messages: 3
Registered: February 2012
Junior Member
I see, thank you, I must have used search keywords not present there.

I tried to add your mentioned "PDT 3.0 Milestones" update site, but a "Check for Updates" failed. So I tried "Install New Software" and selected "pdt 3.1.0 M201201110400". But the dependency check failed:

Quote:
Your original request has been modified.
"PHP Development Tools (PDT) Runtime Feature" is already installed, so an update will be performed instead.
Cannot complete the install because one or more required items could not be found.
Software being installed: PHP Development Tools (PDT) All-In-One SDK 3.0.0.v201201110400-77-07E92C5Ad7HINHWkUdjNWdz01 (org.eclipse.php.all.feature.group 3.0.0.v201201110400-77-07E92C5Ad7HINHWkUdjNWdz01)
Missing requirement: PDT Mylyn Feature 3.0.1.v201201110400-4-07w312312221511 (org.eclipse.php.mylyn.feature.group 3.0.1.v201201110400-4-07w312312221511) requires 'org.eclipse.dltk.mylyn.feature.group 3.0.0' but it could not be found
Cannot satisfy dependency:
From: PHP Development Tools (PDT) All-In-One SDK 3.0.0.v201201110400-77-07E92C5Ad7HINHWkUdjNWdz01 (org.eclipse.php.all.feature.group 3.0.0.v201201110400-77-07E92C5Ad7HINHWkUdjNWdz01)
To: org.eclipse.php.mylyn.feature.group [3.0.1.v201201110400-4-07w312312221511]


May I have to add more software update sources?

"Update site" links on the Zend website appear quite outdated to me; if the Google Code site was not linked from the Eclipse site, I would not have found the All-In-One package PDT 3.0.2.
__

P.S.:

Rebuilding the H2 index database worked well so far. It re-enables the code completion in PHP.

[Updated on: Fri, 17 February 2012 02:27]

Report message to a moderator

Re: Zend PDT 3.0.2 Win32: No proposals in Code Assist for PHP source [message #801172 is a reply to message #800524] Fri, 17 February 2012 20:35 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 338
Registered: July 2009
Location: Japan
Senior Member
If you expanded "pdt 3.1.0 M201201110400" tree item, you would see the updatable icon only for 'PHP Development Tools (PDT) Runtime Feature'.
Other features seems to be not installable on Zend PDT 3.0.2 but I would not like to dig the issue since it is wasting time.
pdt 3.1.0 M201201110400 can be applied to normal installation such as Eclipse3.7.x or Eclipse3.7.x+pdt3.0.0.

>Rebuilding the H2 index database worked well so far. It re-enables the code completion in PHP.
Smile
Re: Zend PDT 3.0.2 Win32: No proposals in Code Assist for PHP source [message #802089 is a reply to message #800025] Sun, 19 February 2012 06:32 Go to previous message
Eclipse User
did you try all common practices? use new workspace etc, rebuild..
does the .project contains php nature?
maybe 3.0 is not ready yet

Dne 16.2.2012 16:43, Mario Rohkrämer napsal(a):
> Greetings.
>
> I'm using Zend PDT (Eclipse for PHP Developers) version 3.0.2 on Win32
> (Windows XP Professional). Code Assist proposals and completions are
> available for HTML and JavaScript source areas. But PHP source areas
> don't work, there is no code completion, there are no mouse-hover syntax
> details about functions; the only exception are superglobal variables.
>
> In parallel, I have an Eclipse Indigo SR1 installation (Eclipse IDE for
> JavaScript Web Developers). Here all Code Assists work well.
>
> Which options should I try to compare and check to make PHP proposals
> work in Zend Eclipse PDT too? Are there any logs of probably failed
> functions I can check?
Previous Topic:How to configure a Windows Eclipse PDT to work with a linux server?
Next Topic:PHP Perspective disabled after installing Xdebug
Goto Forum:
  


Current Time: Fri Apr 18 04:08:40 EDT 2014

Powered by FUDForum. Page generated in 0.09631 seconds