On 18 February 2014 08:46, Alain Meunier <dec...@hotmail.fr> wrote:
> Hello,
>
> Is it possible to list all the vars in a javascript/lua/python app ?
>
> The symbols just list the functions. Vars would be cool too.. :)
>
> Any hints ? thanks

Don't know enough Lua to know if its possible.  Others may wish to comment.

Because Python does not have declarations the only way of identifying
"variables" is from assign statements, and it depends on the execution
paths which is the "defining" assign for each variable.  And where the
assign occurs defines if the name is an addition is to a class, an
instance or a local variable.  This means suggestions such as "use the
first assign found for a variable" or "show all assigns for the
variable" are actually unlikely to be useful in practice.  So it is
unlikely that this will improve in basic Geany, but plugins that use
external support (such as Jedi) may provide more assistance.
Contributions of such plugins are welcome.

Javascript has many of the same problems as Python (despite having
"var") so although there has been some progress in this area, it is
currently buggy and unknown when it may become available.
Contributions are welcome.

Cheers
Lex

>
> _______________________________________________
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users

Reply via email to