Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » method completion
method completion [message #97203] Tue, 12 May 2009 09:54 Go to next message
Eclipse UserFriend
Originally posted by: bertrand.malet.advertstream.com

Hi all,
I've a problem with eclipse pdt-all-in-one-win32-2.1.0M7, impossible to
get method or arguments completion. For exemple, i tested :

class Completion
{
public $a;

public function complete()
{

}
}

$c = new Completion();
$c->


When i hit CRTL+SPACE after "$c->" i get the red "No completions
available".

Am i doing something wrong ?
Re: method completion [message #97219 is a reply to message #97203] Tue, 12 May 2009 13:14 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
hi bertrand,
can you provide more deatils about your workspace / configuration.
I have no problems getting CA for this situation,

I would also try to switch to a new workspace, to see if this is a
workspace issue.

Roy

> Hi all,
> I've a problem with eclipse pdt-all-in-one-win32-2.1.0M7, impossible to
> get method or arguments completion. For exemple, i tested :

> class Completion
> {
> public $a;

> public function complete()
> {

> }
> }

> $c = new Completion();
> $c->


> When i hit CRTL+SPACE after "$c->" i get the red "No completions
> available".

> Am i doing something wrong ?
Re: method completion [message #97249 is a reply to message #97219] Tue, 12 May 2009 14:12 Go to previous message
Eclipse UserFriend
Originally posted by: bertrand.malet.advertstream.com

Nothing much to say :(
Using windows xp
i just downloaded 2.1.0M7, no plugin.
i created a new workspace, then created a new php project, just 1 file
in that project.
The outline view is good with Class & method.

My .project :
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>test</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.dltk.core.scriptbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
</natures>
</projectDescription>

Roy Ganor a écrit :
> hi bertrand,
> can you provide more deatils about your workspace / configuration.
> I have no problems getting CA for this situation,
>
> I would also try to switch to a new workspace, to see if this is a
> workspace issue.
>
> Roy
>
>> Hi all,
>> I've a problem with eclipse pdt-all-in-one-win32-2.1.0M7, impossible
>> to get method or arguments completion. For exemple, i tested :
>
>> class Completion
>> {
>> public $a;
>
>> public function complete()
>> {
>
>> }
>> }
>
>> $c = new Completion();
>> $c->
>
>
>> When i hit CRTL+SPACE after "$c->" i get the red "No completions
>> available".
>
>> Am i doing something wrong ?
>
Previous Topic:Debugging causes java.lang.ClassCastException
Next Topic:[Announce] PDT 2.0.1 is available
Goto Forum:
  


Current Time: Thu Apr 25 09:23:37 GMT 2024

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

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

Back to the top