eclipse pdt outline view problem

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alihammad
Forum Newbie
Posts: 3
Joined: Fri Aug 22, 2008 9:57 am

eclipse pdt outline view problem

Post by alihammad »

Hi am using eclipse pdt. In the outline view i cant find the variables and gloabals used in the document, i can see used functions, constants, included files, classes.. What should i do, I want the outline view to have variables and constants also .. please help
take care .
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

Re: eclipse pdt outline view problem

Post by koen.h »

Variables and globals (global variables) can change withing the PHP file. How would you like the outline display the variable $i in the following example:

for ($i=0; $i<10000; $i++) { echo $i; }

?
alihammad
Forum Newbie
Posts: 3
Joined: Fri Aug 22, 2008 9:57 am

Re: eclipse pdt outline view problem

Post by alihammad »

i mean i have big php files sometimes i forget the names of the variables am using in the file so it would be nice to have their names in outline. i dont want it to show variable value or something just their name
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

Re: eclipse pdt outline view problem

Post by koen.h »

That makes sense. But I'm inclined to say that with a different coding style this won't be a problem. My guess is that you are coding procedural and putting too little in reusable functions. Maybe you can give an example of such a long page to give me a better idea of where the need for such an argument list arises.
Post Reply