> 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.
Dreamweaver has an "Apply Source Formatting" feature (under the Commands menu). It's not perfect, but could improve things a bit. The one that ships with the product works on single files, years ago I created an extension that does the same n multiple files: http://www.massimocorner.com/dreamweaver/productivity/format_source.mxp ---------------------------- Massimo Foti, web-programmer for hire Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257721 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

