Ticket #400 (closed enhancement: not relevant)
profile view should allow user to create "sections"
| Reported by: | jquelin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | 0.36 |
| Keywords: | Cc: |
Description
in really big modules, we end up with a lot of subs / methods.
usually, one adds some comments such as:
# -- user input methods
sub gnah { ... }
sub frobnize { ... }
[...]
# -- gui events
sub on_foo { ... }
sub on_bar { ... }
[...]
to separate the various logical parts of the big module.
it would be nice for outline view to automatically detect those and propose a hierarchical view:
- Module::Name
+ Pragmata
+ Modules
- Methods
+ user input
- gui events
. on_bar
. on_foo
with the methods within a logical part sorted.
of course, the separation comment should match the principal comment styles existing in the wild:
# -- part 1 [...] ################################ # part2 [...] ################################ =head1 part 3 [...] #------------------------------- # # part4
Change History
Note: See
TracTickets for help on using
tickets.

if it could recognize some hierarchy, it would be nice too. don't know what would be the blessed syntax, but sthg like:
but that's refinement, and i'm not sure it is useful if padre also implements ticket #401