Open Declaration - Text Completion [message #74841] |
Fri, 04 July 2008 06:21 |
Eclipse User |
|
|
|
Hi,
I've been using different ides to work with PHP and I've arrived to PDT
thanks to CAKE.
I have a particular problem/disappointment with PDT and is what I'll
mention here.
It is common to have an option in an IDE to open a declaration (Which is
generally closely related to code completion).
PDT has it, but it seems to be weaker than how it works in other ides like
PHPDesigner or even the eclipse plugin PHPEclipse.
This is the particular problem:
If I create an instance of a class in a file, then I can go to the
declaration of its functions and also I have code completion.
However, If I create the instance of a class (named $instance1) in the
file 'A' and the, in file 'B' I directly use the variable $instance1, I
have no code completion and also I can not open the declaration of the
class members.
As mentioned, it works in PHPDesigner and PHPEclipse to mention just two,
but I was not able to make it work using PDT.
Is there a way to have that work as in the other ides?
Thanks a lot.
[Updated on: Tue, 30 October 2012 11:52] by Moderator Report message to a moderator
|
|
|
Re: Open Declaration - Text Completion [message #74858 is a reply to message #74841] |
Fri, 04 July 2008 07:27 |
Timo Bakx Messages: 2 Registered: July 2009 |
Junior Member |
|
|
What version of PDT are you using?
And be aware that you will have to Build your project before this kind
of functionality works.
With kind regards,
Timo Bakx
> Hi,
>
> I've been using different ides to work with PHP and I've arrived to PDT
> thanks to CAKE.
>
> I have a particular problem/disappointment with PDT and is what I'll
> mention here.
>
> It is common to have an option in an IDE to open a declaration (Which
> is generally closely related to code completion).
> PDT has it, but it seems to be weaker than how it works in other ides
> like PHPDesigner or even the eclipse plugin PHPEclipse.
>
> This is the particular problem:
> If I create an instance of a class in a file, then I can go to the
> declaration of its functions and also I have code completion.
> However, If I create the instance of a class (named $instance1) in the
> file 'A' and the, in file 'B' I directly use the variable $instance1, I
> have no code completion and also I can not open the declaration of the
> class members.
> As mentioned, it works in PHPDesigner and PHPEclipse to mention just
> two, but I was not able to make it work using PDT.
>
> Is there a way to have that work as in the other ides?
>
> Thanks a lot.
>
[Updated on: Tue, 30 October 2012 11:52] by Moderator Report message to a moderator
|
|
|
Re: Open Declaration - Text Completion [message #75755 is a reply to message #74858] |
Sat, 12 July 2008 02:55 |
Eclipse User |
|
|
|
Hi,
Thanks for your answer.
I have an installation that uses an two projects to work.
After building the project, some HTML errors appear and text completion
still does not works, I've tested it creating another project and works
ok. Might there be something else I'm missing?
Thanks again
Timo Bakx wrote:
> What version of PDT are you using?
> And be aware that you will have to Build your project before this kind
> of functionality works.
> With kind regards,
> Timo Bakx
>> Hi,
>>
>> I've been using different ides to work with PHP and I've arrived to PDT
>> thanks to CAKE.
>>
>> I have a particular problem/disappointment with PDT and is what I'll
>> mention here.
>>
>> It is common to have an option in an IDE to open a declaration (Which
>> is generally closely related to code completion).
>> PDT has it, but it seems to be weaker than how it works in other ides
>> like PHPDesigner or even the eclipse plugin PHPEclipse.
>>
>> This is the particular problem:
>> If I create an instance of a class in a file, then I can go to the
>> declaration of its functions and also I have code completion.
>> However, If I create the instance of a class (named $instance1) in the
>> file 'A' and the, in file 'B' I directly use the variable $instance1, I
>> have no code completion and also I can not open the declaration of the
>> class members.
>> As mentioned, it works in PHPDesigner and PHPEclipse to mention just
>> two, but I was not able to make it work using PDT.
>>
>> Is there a way to have that work as in the other ides?
>>
>> Thanks a lot.
>>
>>
>>
[Updated on: Tue, 30 October 2012 11:53] by Moderator Report message to a moderator
|
|
|
Re: Open Declaration - Text Completion [message #75791 is a reply to message #75755] |
Sat, 12 July 2008 11:19 |
Eclipse User |
|
|
|
You may be interested in
< http://wiki.eclipse.org/IRC_FAQ#How_do_I_manually_assign_a_p roject_Nature_or_BuildCommand.3F>
> Hi,
>
> Thanks for your answer.
>
> I have an installation that uses an two projects to work.
> After building the project, some HTML errors appear and text completion
> still does not works, I've tested it creating another project and works
> ok. Might there be something else I'm missing?
>
> Thanks again
>
>
>
> Timo Bakx wrote:
>
>> Hi Martin,
>
>> What version of PDT are you using?
And still this is a quite relevant question.
>> And be aware that you will have to Build your project before this kind
>> of functionality works.
>
>> With kind regards,
>> Timo Bakx
>
>
>>> Hi,
>>>
>>> I've been using different ides to work with PHP and I've arrived to
>>> PDT thanks to CAKE.
>>>
>>> I have a particular problem/disappointment with PDT and is what I'll
>>> mention here.
>>>
>>> It is common to have an option in an IDE to open a declaration (Which
>>> is generally closely related to code completion).
>>> PDT has it, but it seems to be weaker than how it works in other ides
>>> like PHPDesigner or even the eclipse plugin PHPEclipse.
>>>
>>> This is the particular problem:
>>> If I create an instance of a class in a file, then I can go to the
>>> declaration of its functions and also I have code completion.
>>> However, If I create the instance of a class (named $instance1) in
>>> the file 'A' and the, in file 'B' I directly use the variable
>>> $instance1, I have no code completion and also I can not open the
>>> declaration of the class members.
>>> As mentioned, it works in PHPDesigner and PHPEclipse to mention just
>>> two, but I was not able to make it work using PDT.
>>>
>>> Is there a way to have that work as in the other ides?
>>>
>>> Thanks a lot.
>>>
>>>
>>>
>
>
>
--
Stoyan
[Updated on: Tue, 30 October 2012 11:54] by Moderator Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03465 seconds