Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Legorol San / Legorol San (Legorol San)
Created: 09/11/2016
Components: Editor Features
Versions: 2016
Failure Type: Non Functioning
Found In Build/Fixed In Build: CFB2016_Update2 / 302510
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Windows 10 64 bit
Vote Count: 0
Problem Description:
When using the code formatter on any file or code block, if any <cfset> tags include the Var keyword, the code formatter does not work. It simply does nothing, does not alter any line of code (not just the <cfset> in question).
Steps to Reproduce:
Create a new CFM file with the code below, then run the code formatter (CTRL-SHIFT-F on Windows, or from menu):
<cffunction name="f">
<cfset x=1>
</cffunction>
The code is formatted correctly, e.g. <cfset> gets indented, spaces are put around the = signal.
Next create a new CFM file with the code below, then run the code formatter:
<cffunction name="f">
<cfset var x=1>
</cffunction>
The code formatter does nothing, none of the code is changed in any way.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4188240
Reason: BugVerified
External Customer Info:
External Company:
External Customer Name: Legorol San
External Customer Email:
External Test Config: My Environment details:
Windows 10 Anniversary Edition 64-bit, Eclipse Mars.2 Relase (4.5.2), ColdFusion Builder 2016 with update 2 installed as plug-in.
Attachments:
Comments: