Skip to main content


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 15:43 Go to next message
Mario Rohkrämer is currently offline Mario RohkrämerFriend
Messages: 6
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] Fri, 17 February 2012 03:25 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
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 07:16 Go to previous messageGo to next message
Mario Rohkrämer is currently offline Mario RohkrämerFriend
Messages: 6
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 07: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] Sat, 18 February 2012 01:35 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
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 11:32 Go to previous message
Eclipse UserFriend
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: Tue Apr 23 10:14:30 GMT 2024

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

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

Back to the top