Autocomplete and Functions in other classes [message #490351] |
Thu, 08 October 2009 08:31  |
Eclipse User |
|
|
|
Hello everyone,
I just downloaded the newest all in one package of PDT, after i got a new pc.
But now i have the problem that my PDT does not now the functions and variables of extended classes.
Example:
file1.php
Class Klasse1 {
public $text1 = 'Hello';
public function say_hello() {
return $this->$text1;
}
}
file2.php
Class Klasse2 extends Klasse1 {
public function welcome() {
$this->say_hello();
}
}
On my old pc I got a list of available functions and variables when i typed $this->
At least after pressing Ctrl+Space I had a list including "say_hello" and "text1", to select one of the available variables and functions. But after installing the newes PDT all in one package, this does not work anymore.
Has anybody an idea why? The project is created as php-project. And the current perspective is PHP.
Would be very happy to get some help.
best regards
Andi
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09181 seconds