[Geany] variable declaration in function -> symbol view

Nick Treleaven nick.treleaven at xxxxx
Tue Jul 31 12:11:07 UTC 2007


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.

Regards,
Nick




More information about the Users mailing list