|Code Completion doesn't find many PHP functions 2.1 does [message #547405]
||Fri, 16 July 2010 16:02
|| Rik Bartolini
Registered: July 2010
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:
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
so it must be a bug, isn't it?
Powered by FUDForum
. Page generated in 0.15067 seconds