Forum Discussion

clay's avatar
clay
Contributor
5 years ago

Globally collapse/expand code editor sections

Is there a way to global collapse/expand code editor sections quickly and easily (such as a hot key)?

 

I have some very large script files that are getting increasingly more difficult to browse through and manage.  I like the collapse and expand feature, but it is not very valuable if one has to expand/collapse each individual function when working on scripts.

 

Thanks for any ideas.

  • Only global expand/collapse :

    • Ctrl + alt + a -> expand all,
    • Ctrl + alt + c -> collapse all

     

  • BenoitB's avatar
    BenoitB
    Community Hero

    Only global expand/collapse :

    • Ctrl + alt + a -> expand all,
    • Ctrl + alt + c -> collapse all

     

  • Wamboo's avatar
    Wamboo
    Community Hero

    I personally use this drop-down menu to jump my methods in one file. It's really easy to find one of them that you're looking for. See attachment

    • clay's avatar
      clay
      Contributor

      Thanks, Wamboo.  It is not quite what I am looking for, but that is certainly a handy menu to have available.