How to deploy code one level at a time in Sublime Text 2?

Say I have a class, some subclasses in it (e.g. in Ruby), some methods in them, etc. In ST2, I choose Edit -> Code Folding -> Fold all. When I click on the small arrow next to the class name, I want to see the body of the class, but the methods in them are still stacked so that I can expand them one by one. Currently, ST2 does not behave this way, as clicking on the arrow expands all sublevels. Do you know a way to expand each folded element without affecting its subelements?

+4
source share
1 answer

There is currently no way to do exactly what I want. The workaround is to reset to a certain level, then expand everything, then fold one level below the previous one, expand everything, etc. Etc.

+4
source

All Articles