Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 24 down vote accepted

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.

share|improve this answer
26  
The shortcut is alt+0 for fold all and alt+shift+0 for unfold all. Thank you. –  Radek Jun 12 '12 at 23:55
1  
If the shortcut is not working for you, make sure you use the 0 above the letter keys, the one on the numpad doesn't seem to work (with an AZERTY keyboard). –  Stijn Apr 3 at 15:24
    
Or my QWERTY keyboard FYI @Stijn –  Jeff Jun 12 at 21:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.