Newcomer here. I've been working on my first project that has quite a bit of code. I come from coding in microsoft visual studio where you can minimize sections of code. I think this would be a great feature to have in the IDE as I would like to be able to minimize sections of code that have been debugged. It would make a much cleaner approach at coding - at least for me.
Sorry if this has already been brought up.
No such function presently in the IDE. However there are tapped sections where you can place separate functions that will be added with the main sketch prior to starting compilation.