[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.pdt] Re: Code Assist not working for PHP language functions
|
- From: roy@xxxxxxxx (Roy Ganor)
- Date: Fri, 18 Sep 2009 11:03:36 +0000 (UTC)
- Newsgroups: eclipse.tools.pdt
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Do you see the language entry in the .buildpath file?
If you create a new project and compare your two .buildpath files (under
the project root) you'll see what I mean.
Roy
<barefootfemale@xxxxxxxxxxx> wrote:
Hi
I have "Eclipse for PHP Developers Build id: 20090619-0625" with Aptana
plugin.
Code Assist not working forme for PHP built in language functions like
strstr, ereg_replace etc. is not working for me on Ctrl+Space.
what I mean:
when I type , for example, "strstr" in a php file, in php perspective and
click Ctrl+space , I expect a dropdown suggestion box with options like
"strstr", "strpos" etc. to appear with syntax like:
strstr ( string $haystack , mixed $needle [, bool $ strin_needle = false
] )
this doesn't happen.
instead I get a red text message "No completions available" at the status
bar.
However if I type "e" and hit Crtl+Space I get a drop down with "ec" I get
a drop down of 2 options: "echo" and "eco - echoro string".
also if I type "strstr" and highlight it , right click it and choose "Open
PHP manual" from the context menu or hit Shift+f2 - nothing happens.
in Prefences -> "PHP"->"PHP manual" I have 1 listing:
Site Name="PHP URL=http://www.php.net/manual/en/, file Extension= php
if however I create a class with methods, and then create a new instance of
the class and start typing the name of the method - I do get a suggestion box
of the method that can complete that function with properties and everything -
so this part does work.