Ticket #62 (new enhancement)
Var tree
| Reported by: | szabgab | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | Satisfy all the requirements of PerlMonks |
| Component: | Outline | Version: | |
| Keywords: | Cc: |
Description
show the list of variables used in the code
make sure we recognize that $x[1] is actually @x
Change History
comment:2 Changed 3 years ago by tsee
Quick comment: When working on this, PPI::Token::Symbol and its symbol mangling methods will be the key to success.
comment:3 Changed 3 years ago by tsee
Update: There is now a Padre::PPI::get_all_variable_declarations. It returns a simple structure of the variable declarations, their type and location. It should be usable for creating a tree view. The GUI code hasn't been written since the GUI is in flux wrt tabbing and similar.
I doubt whether having a full GUI view of all the places where any variable is used would be useful.
Note: See
TracTickets for help on using
tickets.
