Skip to main content


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 07:24 Go to next message
Jorge Garifuna is currently offline Jorge GarifunaFriend
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 06: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 15:45 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
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] Sat, 03 July 2010 02:03 Go to previous messageGo to next message
Jorge Garifuna is currently offline Jorge GarifunaFriend
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 16:14 Go to previous messageGo to next message
Jorge Garifuna is currently offline Jorge GarifunaFriend
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 23:14 Go to previous messageGo to next message
Jorge Garifuna is currently offline Jorge GarifunaFriend
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] Tue, 19 October 2010 01:11 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
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 04:11 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
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] Thu, 02 December 2010 02:01 Go to previous message
Max Diaz is currently offline Max DiazFriend
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: Thu Mar 28 23:32:46 GMT 2024

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

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

Back to the top