Some people reported bugs saying CFBuilder does not seem to colorize more than 500 columns. This issue is majorly hit upon by people who have or write single line tag code spanning over many columns. This is not a bug. There is a setting in Preferences to get around this problem.
Go to Window->Preferences->HTML->Editors->Advanced tab->Set ‘Maximum no. of columns to colorize’ as per your requirement. Hope this helps.
Here’s an example on how scoped variables declared in onApplicationStart method will be available in content assist. Note the scoped variables set in Application.cfc (Application.obj1/obj2/obj4/obj7/qVar/Counter1 in this example) and try getting content assist on them in any file in the application (as shown in test.cfm in this example). Another thing to note here is the various types of CFC variables created. Yes, we have tried to cover some such common variable assignment scenarios. Do try them out and let us know if they work as desired.
— Application.cfc —
<cfset This.name = “TestApplication”>
<cfset Application.obj7 = new component_testing.cfcomponent.component_01()>
<cfset cfcNames.firstName = “component_testing.cfcomponent.component_01″>
<cfset Application.obj1 = createObject(“component”, cfcNames.firstName)>
cfcNameVar = “component_testing.cfcomponent.component_02″;
Application.obj2 = createobject(“component”, #cfcNamevar#);
foo = createObject(“component”, “com.adobe.coldfusion.mail”);
Application.obj4 = foo;
<cfquery name=”testDB” dataSource=”cfdocexamples” maxrows=”2″>
SELECT Emp_ID FROM employee
<cfset Application.qVar = “testDB”>
<cflog file=”#This.Name#” type=”Information” text=”Application Started”>
— test.cfm —