Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Code Completion doesn't find many PHP functions 2.1 does(No more many php core function known by CA)
Code Completion doesn't find many PHP functions 2.1 does [message #547405] Fri, 16 July 2010 16:02 Go to next message
Rik Bartolini is currently offline Rik BartoliniFriend
Messages: 44
Registered: July 2010
Location: Italy
Member
After submitting a bug related to Ubuntu 10.04 and Eclipse colors (tooltips are invisibile because black on black with the default ubuntu theme)
they asked me to see if 2.2 solve the problem.

Really it solve 1/2 problem, but with the 2.2 all-in-one I lose some functions in code completion., e.g. checkdnsrr(), dns_get_record() , getmxrr()...

So, I go back on 2.1 (I only renamed the dir) and following the declaration (CTRL+click on checkdnsrr) I see where it is defined:

/opt/eclipse/plugins/org.eclipse.php.core_2.1.1.v20090921-11 00/Resources/language/php5/standard.php
the same file where you can find sleep(), bin2hex(), strtoupper(), strpos() and many other common functions.

With the 2.2, the same file is inside org.eclipse.php.core_2.2.0.v20100616-1900.jar
and I suppose PDT don't enter the jar archive.
But why strtolowe(), sleep(), etc., have code completion while checkdnsrr() and others, haven't?

So I follow definition with 2.2 with CTRL+click on strtolower() and it goes on completely other path:
workspace/.metadata/.plugins/org.eclipse.php.core/__language __/1b4486b - standard.php

So finally I discovered that changing project PHP version from "5.1/5/2" to 5.3, make CA able to find checkdnsrr()

But checkdnsrr() is also present on PHP4
http://de.php.net/manual/en/function.checkdnsrr.php

so it must be a bug, isn't it?
Re: Code Completion doesn't find many PHP functions 2.1 does [message #556267 is a reply to message #547405] Tue, 31 August 2010 14:37 Go to previous message
Rik Bartolini is currently offline Rik BartoliniFriend
Messages: 44
Registered: July 2010
Location: Italy
Member
Rolling Eyes
Previous Topic:External Lib not seen
Next Topic:Unable to create editor ID org.eclipse.php.editor: An unexpected exception was thrown.
Goto Forum:
  


Current Time: Wed Oct 16 01:34:12 GMT 2024

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

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

Back to the top