[Geany] variable declaration in function -> symbol view

Nick Treleaven nick.treleaven at xxxxx
Tue Jul 31 12:24:03 UTC 2007


On 07/31/2007 01:11:07 PM, Nick Treleaven wrote:
> On 07/31/2007 12:49:56 PM, Harold Aling wrote:
> > Dear list,
> > 
> > When declaring variables in a function declaration, those variables
> > aren't added to the symbol list...
> > 
> > For example:
> > 
> > <?php
> > function addVariable($bVar) {
> >   //do stuff
> > }
> > ?>
> > 
> > $bVar should be added to the list, but isn't.
> > 
> I don't use PHP, but for nearly all the other filetypes local
> variables 
> aren't parsed by Geany. If they were, the symbol list would get too
> big 
> (e.g. a lot of 'i' entries). For function arguments, just use the 
> function name tag.
> 
Of course, now I've actually tried it local variables are listed(!)
But I'm not sure it's good to have them in the symbol list.

Regards,
Nick




More information about the Users mailing list