[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Open Declaration in Classes PDT 2RC2

I can't re-create this with PDT 2.0.0 RC2.
Can you check the following:

1. Create new project, and test it there?
2. If (1) doesn't work for you, can you switch to another (new) workspace, 
and test it there?

Thanks for your help!

"Piernik" <lpiernik@xxxxxxxxx> wrote in message 
news:gifu1q$5eh$1@xxxxxxxxxxxxxxxxxxxx
> It's a big project
> here is a part:
>
> artykuly.php file:
> *******
> require('common.php');
>
> $Artykuly->pobierz_dane_artykulu($tytul_znaki);
> $Statystyki->dodaj_odslone($Artykuly->artykul['id_artykulu'], 'art');
>
> Hover on $Artykuly works
> on  ->pobierz_dane_artykulu doesn't
> Hover on $Statystyki works
> on  ->dodaj_odslone doesn't
> no compltions available (ctrl+spacebar) for $Artykuly, 
> pobierz_dane_artykulu, $Statystyki, dodaj_odslone...
>
> common.php file
> ********
> require_once('namiary.php');
> require_once('config.php');
>
> require_once('funkcje/statystyki.class.php');
> require_once('funkcje/artykuly_relacje.class.php');
>
> $Statystyki=new Statystyki(); //hover works
> $Artykuly = new Artykuly_relacje();  //hover works
>
> funkcje/artykuly_relacje.class.php file
> **********
> class Artykuly_relacje {
> public $artykuly;
>
> public function __construct() {
> global $Statystyki; //hover doesn't work
> $this->artykul=$row; //hover works
> $Statystyki->dodaj_odslone();  //hover doesn't work
> }
>
> public function pobierz_dane_artykulu($id) {
> //code
> }
> }
> ?>
>
> funkcje/statystyki.class.php file is build in the same way.
>
> Hope it will help.
>
>
>
>
> Michael Spector pisze:
>> Can you give us some code example?
>> How $Article variable was declared?
>>
>> Thanks!
>>
>> "Piernik" <lpiernik@xxxxxxxxx> wrote in message 
>> news:gifrg4$oel$1@xxxxxxxxxxxxxxxxxxxx
>>> Hi
>>>
>>> I have may classes and in PDT 1 when I pressed ctrl over name of the
>>> method ex. $Article->read(); I could jump to read declaration.
>>> In PDT 2 I can't
>>> Within a class ex $this->read(); open declaration works fine...
>>>
>>> I'm using clean allinone package.
>>>
>>> Help
>>> Luke
>>