Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Code Assist not working for Informix functions
Code Assist not working for Informix functions [message #68692] Mon, 14 April 2008 20:00 Go to next message
Eclipse UserFriend
Originally posted by: anonymous.email.com

I just installed Eclipse PDT All-in-one on a Windows XP machine.

Code Assist works just fine for all kinds of functions/classes, but not
for the Informix functions that start with ifx_. They are not in the list
of functions in the PHP Functions view.

Does anyone know how I can fix this?

In this blog post (http://2tbsp.com/node/40) chad says that code assist
relies on PHPdoc comments. Where is it possible to add the Informix
functions?

Kind regards,

Ludmilla
Re: Code Assist not working for Informix functions [message #68720 is a reply to message #68692] Tue, 15 April 2008 06:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam.networks.fi

On Mon, 14 Apr 2008 23:00:08 +0300, LB <anonymous@email.com> wrote:

> I just installed Eclipse PDT All-in-one on a Windows XP machine. Code
> Assist works just fine for all kinds of functions/classes, but not for
> the Informix functions that start with ifx_. They are not in the list of
> functions in the PHP Functions view. Does anyone know how I can fix this?
>
> In this blog post (http://2tbsp.com/node/40) chad says that code assist
> relies on PHPdoc comments. Where is it possible to add the Informix
> functions?
>
> Kind regards,
>
> Ludmilla
>

I'm wondering the very same - I would want to add Mysqli functions to code
assist.
Re: Code Assist not working for Informix functions [message #68830 is a reply to message #68692] Wed, 16 April 2008 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: euthanasia_waltz.yahoo.co.jp.jp

Try this at your own risk.
http://atlanto.web.fc2.com/pdt/workshop/va000137.pdt.tools.c odeassistext_informix.jar
(Download this into eclipse/plugins folder.)
(I'll remove this file after several days.)
Re: Code Assist not working for Informix functions [message #68847 is a reply to message #68830] Wed, 16 April 2008 20:41 Go to previous messageGo to next message
exceptione is currently offline exceptioneFriend
Messages: 96
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------050309030409000201090508
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Toshihiro schreef:
> Try this at your own risk.
> http://atlanto.web.fc2.com/pdt/workshop/va000137.pdt.tools.c odeassistext_informix.jar
>
> (Download this into eclipse/plugins folder.)
> (I'll remove this file after several days.)
>
>
For eternal reference, see attachment ;)


--------------050309030409000201090508
Content-Type: application/octet-stream;
name="va000137.pdt.tools.codeassistext_informix.jar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="va000137.pdt.tools.codeassistext_informix.jar"

UEsDBAoAAAAAAK2ykDgAAAAAAAAAAAAAAAAJAAQATUVUQS1JTkYv/soAAFBL AwQKAAAACACs
spA4Zf9gztAAAAAxAQAAFAAAAE1FVEEtSU5GL01BTklGRVNULk1GTY8xb8Iw EIX3SPkPN5bB
llMG1FQdADF0SFWB1N04R7Dk2MZ3rsi/r4EqYr3vve/pOu3tCYnFDyaywbfQ SFVXa/90WUdt
zgjlVuDqhrcJNWMvNlPJK6nEsXmDl0P20FmTAk3EOBJ8eiMXdbXJvncouv+p 2fs6oy89Ygvb
0JcVIksMuyujv8Xg2+VBWD9nD9N4DM6aR+dXK6Wa5UrGniWH4EiaotF3C175 nawfHHLZ++CU
cdY8/yubutrjJduE4oFbCGmQaJyNhDKeY7GmUq6rP1BLAwQKAAAAAACtspA4 AAAAAAAAAAAA
AAAACgAAAFJlc291cmNlcy9QSwMECgAAAAgArbKQOHLN/TgcBQAAABkAABYA AABSZXNvdXJj
ZXMvSW5mb3JtaXgucGhwzVhbb9s2FH4PkP/ABwN1gy7dy5526bZc2gJenDkr sqEoDFqiEq60
qJJUEmPYf985pCTrQlGynQJ7sU358HwfD885/Kgf3mT32fHR8VHMEp6y6Yv3 l38ub84W89ns
xSuyHbz8vmnybj47LwzwZ/vv2Xy5OJ9fzf4qbKqxx/B20TR0Y4/hL9fXF1fn W0M39kLfLurA
twuP0a8fLi8vamZu7DG8mrdNyydofHz0+uTk+IickLfMkDRfr5giMiFKPmpC k4RFhsVktSGU
fMmZ2qCpNf9ZMZOrlPDUuHFGFV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AAAAI AK2ykDhB5Syu
zAAAAFgBAAAKAAAAAAAAAAAAAACkgaUGAABwbHVnaW4ueG1sUEsFBgAAAAAF AAUAMQEAAJkH
AAAAAA==
--------------050309030409000201090508--
Re: Code Assist not working for Informix functions [message #68972 is a reply to message #68847] Fri, 18 April 2008 12:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: euthanasia_waltz.yahoo.co.jp.jp

Thanks but is it worth for eternal reference? ;-)
Re: Code Assist not working for Informix functions [message #68992 is a reply to message #68720] Fri, 18 April 2008 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: euthanasia_waltz.yahoo.co.jp.jp

I can see mysqli functions in code assist list... (PDT 1.0.2)
Re: Code Assist not working for Informix functions [message #69074 is a reply to message #68992] Mon, 21 April 2008 06:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam.networks.fi

On Fri, 18 Apr 2008 15:48:42 +0300, Toshihiro
<euthanasia_waltz@yahoo.co.jp.jp> wrote:

> I can see mysqli functions in code assist list... (PDT 1.0.2)
>
>

Yes, you're of course right - so do I, but I use mysqli as Object like this

$db = new mysqli($host, $username, $passwd, $dbname);

then when i write $db -> [ctrl+space] nothing happens, it does not know
any methods of the class Mysqli. :(

jasmo
Re: Code Assist not working for Informix functions [message #69117 is a reply to message #69074] Mon, 21 April 2008 10:54 Go to previous message
Eclipse UserFriend
Originally posted by: euthanasia_waltz.yahoo.co.jp.earth

OK, it's a super FAQ.

>$db = new mysqli($host, $username, $passwd, $dbname);
>$db->
In this case, you must be able to get code assist.

However, for example,
>function init() {
> global $db;
> ...
> $db = new mysqli($host, $username, $passwd, $dbname);
> ...
>}
>...
>init();
>$db->
In this case, you cannot get code assist because the scope is different.
$db in init() is typed as mysqli ($db has type of mysqli), but $db in
main() is not typed (type is unknown).

So you have to describe the type.
>/* @var db mysqli */
>$db->

btw,
This will be improved in the next version of PDT, maybe...

--
Sorry for my English.
I wouldn't like to explain all other variations.
Previous Topic:Hanging 50% CPU Usage
Next Topic:'Publish files to Server" checkbox disappeared
Goto Forum:
  


Current Time: Tue Apr 23 10:12:12 GMT 2024

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

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

Back to the top