Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How can I add all PHP functions to templates?
How can I add all PHP functions to templates? [message #543642] Wed, 30 June 2010 03:24 Go to next message
Jorge Garifuna is currently offline Jorge Garifuna
Messages: 4
Registered: June 2010
Junior Member
How can I add all PHP functions (strstr, str_replace, array_search, etc) to the templates so that they show up in the code assist when I start typing them?

or how can I have the PHP functions (strstr, str_replace, array_search, etc) show up in the autocomplete popup?

Thanks in advanced,

Jorge

[Updated on: Thu, 01 July 2010 02:41]

Report message to a moderator

Re: How can I add all PHP functions to templates? [message #544422 is a reply to message #543642] Fri, 02 July 2010 11:45 Go to previous messageGo to next message
NoobieRoobie is currently offline NoobieRoobie
Messages: 17
Registered: June 2010
Junior Member
Under both Eclipse Galileo PDT 2.1 and Eclipse Helios PDT 2.2 this is the case by default.

Did you upgrade from a previous version? Which version are you using / did you use earlier?
Re: How can I add all PHP functions to templates? [message #544506 is a reply to message #544422] Fri, 02 July 2010 22:03 Go to previous messageGo to next message
Jorge Garifuna is currently offline Jorge Garifuna
Messages: 4
Registered: June 2010
Junior Member
I'm using PDT 2.2.

The only auto-complete words I get by pressing ctrl+space are those located at preferences->PHP->editor->template.

There are many PHP functions not included in the default listing, including among others; strstr(), str_replace(), array_search().

Do you have instructions on how to activate auto-complete for PHP functions not included in preferences->PHP->editor->templat ?
Re: How can I add all PHP functions to templates? [message #545936 is a reply to message #544506] Fri, 09 July 2010 12:14 Go to previous messageGo to next message
Jorge Garifuna is currently offline Jorge Garifuna
Messages: 4
Registered: June 2010
Junior Member
Any updates on this issue?
Re: How can I add all PHP functions to templates? [message #633696 is a reply to message #543642] Mon, 18 October 2010 19:14 Go to previous messageGo to next message
Jorge Garifuna is currently offline Jorge Garifuna
Messages: 4
Registered: June 2010
Junior Member
Are there any ideas on how I can add all PHP functions to Eclipse for PHP Developers (build id: 20100617-1415) so they can they can show up in code assist?
Re: How can I add all PHP functions to templates? [message #633702 is a reply to message #633696] Mon, 18 October 2010 21:11 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 345
Registered: July 2009
Location: Japan
Senior Member
Surely PDT 2.2(Build id: 20100617-1415) lacks *a few of* functions to CA,
Code Completion doesn't find many PHP functions 2.1 does
but not "including among others; strstr(), str_replace(), array_search()".
Did you try reinstalling?
Or try installing newer version, 2.2.1(Helios SR1, Build id: 20100917-0705).
Re: How can I add all PHP functions to templates? [message #633960 is a reply to message #543642] Wed, 20 October 2010 00:11 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 1
Registered: October 2010
Junior Member
I'd definitely try reinstalling or trying a different version, from what I have hard this isn't completely uncommon between alternate versions
Re: How can I add all PHP functions to templates? [message #642617 is a reply to message #633960] Wed, 01 December 2010 21:01 Go to previous message
Max Diaz is currently offline Max Diaz
Messages: 9
Registered: July 2009
Junior Member
I had this problem with a newly installed PDT 2.2.0. I upgraded to 2.2.1 and the problem went away...
Previous Topic:PDT and Web Debugging
Next Topic:Newbie question: Script arguments pass does not work
Goto Forum:
  


Current Time: Sat Aug 30 16:35:52 EDT 2014

Powered by FUDForum. Page generated in 0.08163 seconds