Open Declaration in Classes PDT 2RC2 [message #87127] |
Fri, 19 December 2008 10:02 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
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
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87157 is a reply to message #87127] |
Fri, 19 December 2008 10:27 |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
Can you give us some code example?
How $Article variable was declared?
Thanks!
"Piernik" <lpiernik@gmail.com> wrote in message
news:gifrg4$oel$1@build.eclipse.org...
> 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
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87170 is a reply to message #87157] |
Fri, 19 December 2008 10:46 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
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@gmail.com> wrote in message
> news:gifrg4$oel$1@build.eclipse.org...
>> 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
>
>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87188 is a reply to message #87170] |
Fri, 19 December 2008 10:56 |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
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@gmail.com> wrote in message
news:gifu1q$5eh$1@build.eclipse.org...
> 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@gmail.com> wrote in message
>> news:gifrg4$oel$1@build.eclipse.org...
>>> 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
>>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87202 is a reply to message #87188] |
Fri, 19 December 2008 11:21 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
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@gmail.com> wrote in message
> news:gifu1q$5eh$1@build.eclipse.org...
>> 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@gmail.com> wrote in message
>>> news:gifrg4$oel$1@build.eclipse.org...
>>>> 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
>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87217 is a reply to message #87202] |
Fri, 19 December 2008 11:25 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
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@gmail.com> wrote in message
>> news:gifu1q$5eh$1@build.eclipse.org...
>>> 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@gmail.com> wrote in message
>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>> 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
>>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87310 is a reply to message #87217] |
Sat, 20 December 2008 08:09 |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
Are there any exceptions thrown?
There should be no difference either you use a small or a big project.
"Piernik" <lpiernik@gmail.com> wrote in message
news:gig0bh$ko8$2@build.eclipse.org...
> 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@gmail.com> wrote in message
>>> news:gifu1q$5eh$1@build.eclipse.org...
>>>> 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@gmail.com> wrote in message
>>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>>> 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
>>>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87369 is a reply to message #87310] |
Sat, 20 December 2008 16:10 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
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@gmail.com> wrote in message
> news:gig0bh$ko8$2@build.eclipse.org...
>> 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@gmail.com> wrote in message
>>>> news:gifu1q$5eh$1@build.eclipse.org...
>>>>> 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@gmail.com> wrote in message
>>>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>>>> 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
>
>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87384 is a reply to message #87369] |
Sat, 20 December 2008 16:23 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
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@gmail.com> wrote in message
>> news:gig0bh$ko8$2@build.eclipse.org...
>>> 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@gmail.com> wrote in message
>>>>> news:gifu1q$5eh$1@build.eclipse.org...
>>>>>> 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@gmail.com> wrote in message
>>>>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>>>>> 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
>>
>>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87428 is a reply to message #87384] |
Sun, 21 December 2008 07:30 |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
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@gmail.com> wrote in message
news:gij65g$lgr$1@build.eclipse.org...
> 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@gmail.com> wrote in message
>>> news:gig0bh$ko8$2@build.eclipse.org...
>>>> 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@gmail.com> wrote in message
>>>>>> news:gifu1q$5eh$1@build.eclipse.org...
>>>>>>> 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@gmail.com> wrote in message
>>>>>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>>>>>> 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
>>>
>>>
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #87472 is a reply to message #87428] |
Mon, 22 December 2008 10:14 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
Errors aren't important. Most important are completions and definitions.
Is there a way to fix it??
Michael Spector pisze:
> 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@gmail.com> wrote in message
> news:gij65g$lgr$1@build.eclipse.org...
>> 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@gmail.com> wrote in message
>>>> news:gig0bh$ko8$2@build.eclipse.org...
>>>>> 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@gmail.com> wrote in message
>>>>>>> news:gifu1q$5eh$1@build.eclipse.org...
>>>>>>>> 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@gmail.com> wrote in message
>>>>>>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>>>>>>> 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
>>>>
>
>
|
|
|
|
Re: Open Declaration in Classes PDT 2RC2 [message #88131 is a reply to message #87428] |
Fri, 02 January 2009 11:22 |
Eclipse User |
|
|
|
Originally posted by: lpiernik.gmail.com
I really Can't get to it what is wrong - even in new official 2.0 PDT.
I'll send to You in a private message - normal email - link to my
project. Hope You'll manage to fix it...
Michael Spector pisze:
> 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@gmail.com> wrote in message
> news:gij65g$lgr$1@build.eclipse.org...
>> 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@gmail.com> wrote in message
>>>> news:gig0bh$ko8$2@build.eclipse.org...
>>>>> 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@gmail.com> wrote in message
>>>>>>> news:gifu1q$5eh$1@build.eclipse.org...
>>>>>>>> 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@gmail.com> wrote in message
>>>>>>>>> news:gifrg4$oel$1@build.eclipse.org...
>>>>>>>>>> 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
>>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04229 seconds