[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

If you exclude something from buildpath, you won't see it in code assist.
Please show some code examples that can be used for reproduction of the 
issue.

Thanks!

"Piernik" <lpiernik@xxxxxxxxx> wrote in message 
news:gij65g$lgr$1@xxxxxxxxxxxxxxxxxxxx
> All classes are listed in PHP Project Outline.
>
> I don't know weather this is important:
> I have 600 errors - mainlly in imported libraries like
> - fckeditor
> - pear
> - phpmailer
> - sitemapgenerator
> Can I somehow exclude them from project? Build path->exclude doesn't 
> effect errors:/
>
>
>
>
> Piernik pisze:
>> No - no exceptions.
>> I've created new perspective - added this project - no exceptions - 
>> default settings. Added linked folder and somehow - few classes worked 
>> correctlly (completion and so on) - but only 2 of 10...
>> Those classes are build in the same way as others and works in pdt 1
>>
>> Any ideas ?:)
>>
>> Michael Spector pisze:
>>> Are there any exceptions thrown?
>>> There should be no difference either you use a small or a big project.
>>>
>>> "Piernik" <lpiernik@xxxxxxxxx> wrote in message 
>>> news:gig0bh$ko8$2@xxxxxxxxxxxxxxxxxxxx
>>>> And saying big project I mean 766 php files and 28000 different files 
>>>> (ex photos which are also in project in a subfolder)
>>>>
>>>> Piernik pisze:
>>>>> I've loaded a smaller project and it works in a part:
>>>>>
>>>>> public function __construct() {
>>>>>     global $Galeria; // no completion
>>>>>     $Galeria->wgraj_obrazek(); //Galeria - no completion but 
>>>>> wgraj_obrazek completion and hover works.
>>>>> }
>>>>>
>>>>> So I think it dosen't work in the big projects.
>>>>> I have Vista.
>>>>> As I said before - works great in PDT 1 and I'm useing clear PDT 2 RC2 
>>>>> allinone copy - no changes in preferences and I'm creating project 
>>>>> adding new folders linked to file system
>>>>>
>>>>> Cheers
>>>>>
>>>>> Michael Spector pisze:
>>>>>> 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
>>>
>>>