1
Vote

Outlining inside Functions and classes

description

Folding (outlining) loops, if, and etc... inside a functions and classes. You cannot fold anything inside a function (or Class), only the function itself can be collapsed. If you have code outside of a function (def) you can fold loops and ifs on the top level. maybe there needs to be an option on how far down to outline.

For example, maybe have levels of outlining and the user can control how deep it goes. I would think if the first three levels of outlining were on by default, that would satisfy most users.
level 1 indent (def function)
level 2 indent (loops, ifs and ect.. on first level indent)
level 3 indent (ifs under for loop on second indent)
ect...

comments