Folding Blocks of Code in Java Files

See Also

For some types of files, you can use the code folding feature to collapse blocks of code so that only the first line of the block appears in the Source Editor.

A block of code that can be folded is indicated by a collapse icon (collapse icon) to the left of the first line of the block. A vertical line extends from the collapse icon to the bottom of the foldable code. A block of code that is already folded is indicated by an expand icon (expand icon) to left of the code block. You can expand and collapse folds by clicking expand and collapse icons or by right-clicking in the code itself and choosing from the Code Folds pop-up menu.

You can mouse over the folded block to quickly display the code in the block.

For Java files, you can fold:

See Also
Folding Blocks of Code in JSP or HTML Files
Configuring the Source Editor

Legal Notices