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 .
eclipse pdt outline view problem
Moderator: General Moderators
Re: eclipse pdt outline view problem
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; }
?
for ($i=0; $i<10000; $i++) { echo $i; }
?
Re: eclipse pdt outline view problem
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
Re: eclipse pdt outline view problem
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.