atom-fold-functions
atom-fold-functions copied to clipboard
Responsive folding
So one feature I thought would be absolutely awesome is auto-folding that occurs around the cursor. As you move the cursor up and down the file, the siblings of the cursor collapse, but the function you are on expands. If you could specify an min - max auto folding level it would be helpful (so you're not expanding EVERYTHING) or specifying a min number of lines of a function before it's folded (for repeaters, etc).
It would essentially follow the current functional scope of the cursor similar to how someone navigates a file tree.