Notepad++ – How to Expand/Collapse All Blocks of Ruby Code

notepad

Is there any way how to collapse all blocks in ruby code in Notepad++?

It is much easy to navigate the code of functions, routes in Sinatra and blocks in rufus if all blocks are collapsed.

Best Answer

You can use the options under view.

The one that you are looking for is Fold all but you might find some of the other fold/collapse ones helpful.

Related Question