Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Code folding is phenomenal for understanding a codebase and I'm really surprised it wasn't utilized more.


Everybody getting burned by fold+forget exactly once would be my guess.

Perhaps new generation of editors ("post VSC") that experiments with non-uniform size could perhaps lead to some form of revival? Fold to "code minimap" excerpt instead of away. UI might want to consider cursor position in the leading whitespace for depth selection. In mouse terms, interact with the vertical line some editors display (not sure this could be helpful for keyboard knowitalls who'd select depth by repetition)

Or maybe this all exists but the shortcuts aren't sufficiently well known to reach my lowly knowledge levels, that's one of the more frustrating aspects of what-iffing editor UI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: