Skip to main content
Participant
October 23, 2006
Question

code beautifier for ColdFusion

  • October 23, 2006
  • 2 replies
  • 1372 views
Does anybody know about a code beautifier for ColdFusion files?

I have inherited a large amount of ColdFusion code (50,000+ lines) that lacks any kind formatting whatsoever and is practically unreadable. I would love to find a tool (whether free or commercial) that will 'beautify' / reformat the CFM files (i.e. a mixture of ColdFusion tags, HTML tags, SQL commands, and Java script) into something that has at least correctly indented basic workflow tags (<cfif>, <cfswitch> and related) and the code they apply to.

After much google-ing the only tools that advertise code beautifier functionality for ColdFusion I could find were CuteHTML by GlobalSCAPE and Code Chameleon by CPoint. Unfortunately, neither of these tools appears to actually work for the CFM files I have. :-(

Note that the code I inherited does not contain any custom tags.

Any suggestions would be greatly appreciated!
    This topic has been closed for replies.

    2 replies

    October 23, 2006
    If you have ColdFusion Studio or HomeSite, http://www.seomug.org/articles/xhtml/xhtml2.cfm tells you how to set up CodeSweeper to format your source. For more information, see http://www.adobe.com/livedocs/coldfusion/5.0/Using_ColdFusion_Studio/language7.htm
    Inspiring
    October 23, 2006
    Dreamweaver will help a bit with colour coding.