Replit has fold/unfold all, but it doesn’t actually fold/unfold ‘all’. It only has an affect on the highest level blocks. It would be nice if it had an affect on all blocks.
Looking at notepad++ as an example → Alt+0 folds all possible blocks, Alt+shift+0 unfolds all possible blocks.