# Folding

Indicate your preferences for the Folding settings on the Java > Editor > Folding preference page.

Option | Description | Default
--- | --- | ---
Enable folding | If enabled, different sections in the java editor can be folded and expanded. | On
Comments | If enabled, comments are folded when opening a new editor. | Off
Header Comments | If enabled, header Comments are folded when opening a new editor. | On
Inner types | If enabled, inner types are folded when opening a new editor. | Off
Members | If enabled, Java members are folded when opening a new editor. | Off
Imports | If enabled, imports are folded when opening a new editor. | On

Java Editor preference page