Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsNo autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/93276/#msg_93276
I have a problem here with autocompletion not working even with that
simple code...
class X extends Y implements Z {
public function __construct($host = 'localhost', $port = 8180, $path =
'/') {
parent::_construct($host, $port, $path);
$h <-- no autocompletion here (for $host), only $HTTP_* global variables
}
}
There's also no overwrite indicator for the constructor.
Any idea what could cause this? In other projects this works fine however.
Ingo]]>Ingo Renner2009-02-11T14:13:29-00:00Re: No autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/93836/#msg_93836
Originally posted by: michael.zend.com
Hi,
Can you report a bug?
Thanks!
"Ingo Renner" <ingo@typo3.org> wrote in message
news:gmumec$f0o$1@build.eclipse.org...
> Hi all,
>
> I have a problem here with autocompletion not working even with that
> simple code...
>
> class X extends Y implements Z {
>
> public function __construct($host = 'localhost', $port = 8180, $path =
> '/') {
> parent::_construct($host, $port, $path);
>
> $h <-- no autocompletion here (for $host), only $HTTP_* global variables
> }
>
> }
>
> There's also no overwrite indicator for the constructor.
>
> Any idea what could cause this? In other projects this works fine however.
>
>
> Ingo]]>2009-02-17T11:53:45-00:00Re: No autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/93850/#msg_93850
Hi Michael,
> Can you report a bug?
sure, will do. Is there anything I could attach that could help you find
out what's going on / that could be of help to reproduce the issue? Any
logs or so?
best
Ingo]]>Ingo Renner2009-02-17T13:48:42-00:00Re: No autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/94001/#msg_94001
Originally posted by: michael.zend.com
Hi Ingo,
This is a message not just for you but also for all who is willing to help
PDT project.
I'll appreciate if you attach a unit test for code assit bug to the bug
report. Here are the instructions:
1. The unit test file must end with ".pdtt" extension
2. Unit test format is the following:
--TEST--
Test description
--FILE--
<?php
File contents. Put '|' character where you suppose to call the code assist.
?>
--EXPECT--
Expected output
3. Expected output is a list of: type(A), method(A), field(A) or keyword(A)
entries, where A is an element name and 'type', 'method', 'field' or
'keyword' are element types:
a) 'type' refers to class, interface or namespace
b) 'method' refers to method or function
c) 'field' refers to variable or constant
d) 'keyword' refers to a PHP keyword or PHPDoc tag.
4. Example:
--TEST--
Test whether code assist of class instantiation works (bug #12345)
--FILE--
<?php
class MyClass1 {}
class MyClass2 {}
$a = new MyCl|
?>
--EXPECT--
type(MyClass1)
type(MyClass2)
"Ingo Renner" <ingo@typo3.org> wrote in message
news:gnef7s$dsn$1@build.eclipse.org...
> Michael Spector wrote:
>
> Hi Michael,
>
>> Can you report a bug?
>
> sure, will do. Is there anything I could attach that could help you find
> out what's going on / that could be of help to reproduce the issue? Any
> logs or so?
>
>
> best
> Ingo]]>2009-02-19T12:52:38-00:00Re: No autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/94060/#msg_94060
when they meet code assist issue.
BTW - can we change the "type" element to "namespace" when the type is
really a namespace? I think that most users will not understand it.
Thanks!
- Roy
Michael Spector wrote:
> Hi Ingo,
> This is a message not just for you but also for all who is willing to help
> PDT project.
> I'll appreciate if you attach a unit test for code assit bug to the bug
> report. Here are the instructions:
> 1. The unit test file must end with ".pdtt" extension
> 2. Unit test format is the following:
> --TEST--
> Test description
> --FILE--
> <?php
> File contents. Put '|' character where you suppose to call the code assist.
> ?>
> --EXPECT--
> Expected output
> 3. Expected output is a list of: type(A), method(A), field(A) or keyword(A)
> entries, where A is an element name and 'type', 'method', 'field' or
> 'keyword' are element types:
> a) 'type' refers to class, interface or namespace
> b) 'method' refers to method or function
> c) 'field' refers to variable or constant
> d) 'keyword' refers to a PHP keyword or PHPDoc tag.
> 4. Example:
> --TEST--
> Test whether code assist of class instantiation works (bug #12345)
> --FILE--
> <?php
> class MyClass1 {}
> class MyClass2 {}
> $a = new MyCl|
> ?>
> --EXPECT--
> type(MyClass1)
> type(MyClass2)
> "Ingo Renner" <ingo@typo3.org> wrote in message
> news:gnef7s$dsn$1@build.eclipse.org...
>> Michael Spector wrote:
>>
>> Hi Michael,
>>
>>> Can you report a bug?
>>
>> sure, will do. Is there anything I could attach that could help you find
>> out what's going on / that could be of help to reproduce the issue? Any
>> logs or so?
>>
>>
>> best
>> Ingo]]>Roy Ganor2009-02-19T18:30:19-00:00Re: No autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/94465/#msg_94465
> Great stuff! I am sure we will be able to direct people to this method
> when they meet code assist issue.
>
> The next wiki page summarizes the pdtt method, including how to create
> and submit a pdtt test -
> http://wiki.eclipse.org/PDTT_-_PHP_5.3_Code_Assist_Tests
>
> BTW - can we change the "type" element to "namespace" when the type is
> really a namespace? I think that most users will not understand it.
>
> Thanks!
> - Roy
I must say that this is a very good development. I only wonder why there
is a reference to PHP 5.3 in the wiki name, what does this have to do
with PHP 5.3? From the looks of it, it should work with PHP 5.2.
--
Jorrit]]>Jorrit Schippers2009-02-23T07:55:51-00:00Re: No autocompletion - even with simple code
https://www.eclipse.org/forums/index.php/mv/msg/28731/94493/#msg_94493
Regards,
- Roy
Jorrit Schippers wrote:
> Roy Ganor wrote:
>> Great stuff! I am sure we will be able to direct people to this method
>> when they meet code assist issue.
>>
>> The next wiki page summarizes the pdtt method, including how to create
>> and submit a pdtt test -
>> http://wiki.eclipse.org/PDTT_-_PHP_5.3_Code_Assist_Tests
>>
>> BTW - can we change the "type" element to "namespace" when the type is
>> really a namespace? I think that most users will not understand it.
>>
>> Thanks!
>> - Roy
> I must say that this is a very good development. I only wonder why there
> is a reference to PHP 5.3 in the wiki name, what does this have to do
> with PHP 5.3? From the looks of it, it should work with PHP 5.2.]]>Roy Ganor2009-02-23T12:23:33-00:00