Feature proposal: Outline preview for scripts & classes
Description
When viewing large scripts it would be great to include an outline to them.
Let's say a 1000 lines python script has 20 functions - including an clickable outline for these functions (similar typical IDE has) would rapidly enhance code reviews.
Documentation blurb
There could be support for only a few languages at start. Let's say python, java, php & javascript.
Those outline data would be preferably processed by some worker hooked to each commit to reduce load when pushing new commits.
Outline itself could appear e.g. at the top of the page of a script/class preview.
Once functions & classes are processed, there could be added folding to the preview to let user see only what he wants. But that's another story.
~"feature proposal"