Title:
Fix for issue CFB-4188240 is incomplete: var keyword still breaks formatter
| View in TrackerStatus/Resolution/Reason: To Track//NeedMoreInfo
Reporter/Name(from Bugbase): Legorol San / Legorol San ()
Created: 07/02/2017
Components: Editor Features, Code Formatting
Versions: 2016,2018
Failure Type: Non Functioning
Found In Build/Fixed In Build: Update 4 /
Priority/Frequency: Major / All users will encounter
Locale/System: UK English / Windows 10 64 bit
Vote Count: 1
The fix for CFB-4188240 was supposedly included in Coldfusion Builder 2016 Update 4, however it does not actually fix the issue. The code formatter still can't format most code that include the 'var' keyword in cfset.
Consider reopening CFB-4188240.
I have installed the update, and have observed the following. Some progress has been made. For example, this code can now be formatted:
<cffunction name="f">
<cfset var x=1>
</cffunction>
However, these code examples still can't be formatted:
Example 1:
<cffunction name="f">
<cfset var x=1>
<cfset var y=2>
</cffunction>
Example 2:
<cffunction name="f">
<cfargument name="y">
<cfset var x=1>
</cffunction>
Example 3:
<cffunction name="f">
<cfset x=1>
<cfset var y=2>
</cffunction>
Attachments:
Comments: