hex13 / atom-lupa

Atom extension which displays outline for JavaScript files
MIT License
41 stars 4 forks source link

Feature Request: Hide detail not in selected scope #54

Open eymiha opened 5 years ago

eymiha commented 5 years ago

A fold mode could show only the items in view of the current cursor in the edit window, folding everything out of scope from the top level of the file ('from top') or folding everything out of scope not at the current cursor ('from cursor') to basically track js visibility at the current point, or ('off') leaving everything expanded. For larger functions and complex code, this would make lupa much more viable.