The Code Folding feature enables you to collapse code blocks, reducing them to a single visible line. Folded code is displayed as shaded ellipsis. Folded blocks retain their opening and closing delimiters.
With IntelliJ IDEA, you can display source code in a folded way both automatically, and on demand.
In this section:
