Code Folding

  • Features

Code Folding

Available in CF Studio and Homesite, this feature has been resurrected in CFEclipse and has had some bells and whistles added to it. When working in large files it is often helpful to highlight a section of code and collapse it. This feature adds an icon to the left margin allowing you to expand and collapse this section of code as you need it. By default, when you open a file it will collapse CFML and HTML comments and cffunction blocks that span more than three lines. It will also add folding markers in the right margin for cfquery, cfscript, cfloop, cfif, cfswitch, and cfcase, and blocks that span more than three lines, but these will not be collapsed automatically. These defaults can be customized in the preferences area. A very handy organization feature!