Folding Blocks of Code in JSP, XML, and HTML 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.

For JSP, XML, and HTML files, you can fold:

To fold code in a JSP, XML, or HTML file:

  1. Look for the 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.
  2. Click the collapse icon.

To unfold code in a file:

  1. Look for the expand icon (expand icon) to the left of the code block.
  2. Click the expand icon.

To disable code folding:

  1. Choose Tools > Options and click Editor.
  2. On the General tab, deselect the Code Folding Enabled checkbox.
  3. Click OK to close the Options window.
See Also
Creating an HTML File
Creating a JSP File
About JSP Syntax
Editing a JSP File
Compiling a JSP File
Folding Blocks of Code in Java Files
Configuring the Source Editor

Legal Notices