The IDE can fold functions. For larger files, I use the "Fold all" menu function to get an overview. With "Unfold all" everything is unfolded again.
As I have already argued in this forum: All IDEs I know have this function, Arduino again not.
I decided to post my question here since we are talking folding of code.
I find the new folding, which seems to use indenting to select regions, a mess. The convention, at least mine and Auto Format (which now seems to be working in Beta 5 - thanks), places all preprocessor directives and also, in my case, the double slash to comment out code, starting in column 1. That totally messes up folding since it folds from column 1 to the next column 1.
If I have a preprocessor directive as the first instruction in a function, I do not even get the little down arrow in the gutter next to the function header. Only at the #ifdef of that first instruction (which then folds to the next #else etc).
Is it possible to switch to the method used in the Classic IDE (maybe as an option). Nested open and closing curly bracket pairs decided the folding and worked great. With a single click I could fully fold a function.
(the search goes way beyond the call of duty by not only looking for the word you type but also any sequence of letters that is in the right order... scary (and slow) !!)