If you work with ColdFusion, you've probably gotten used to either line-wrapping or horizontal scrolling. Infrequently, this isn't so bad, but when three out of four lines in an existing code base are wrapped, sometimes twice, it becomes a huge readability hindrance.
A line such as...
<cffunction name="v_multiple_item" access="public" output="false" returntype="query">
can easily be broken up HTML-like into
<cffunction name = "v_multiple_item"
access = "public"
output = "false"
returntype = "query"
>
Which is fairly easy to automate with a macro in a good editor. What I'm more concerned with is interspersed ColdFusion and HTML, like so:
<cffunction..>
<cfif..>
<cfif..>
<form..>
<div..>
<table..>
<tr..>
<td..>
<cfif..>
<select..>
<cfoutput>
<option>#stuff#</option>
</cfoutput>
It's not uncommon that I see lines of code, with 8-sp tabs, that are line-wrapped during the whitespace.
Reducing tab width hasn't been enough. The code base is too big for rewrites/frameworkification to be an option. Left-justify everything?
Is there a simple, winning strategy for reducing line widths to a manageable level without further damaging readability?