RubyMine 5.4.0 Web Help

Code folding lets you collapse (fold) code blocks, reducing them to a single visible line. In this way, you can hide the details that, at the moment, seem unimportant. If and when necessary, the folded code blocks can be expanded (unfolded).

Folded code blocks are shown as shaded ellipses.

You can fold (collapse) and unfold (expand) the code blocks by using:

To expand a folded code block, in addition, you can just click the corresponding block in the editor.

In this section:

ruby_foldingGeneral.png

See Also

Reference:

Web Resources: