ColdFusion
ColdFusion copied to clipboard
Function Completion
Why is there only a function completion for the cfscript tag? Is there any chance to add this feature to complete functions "everywhere"? Even if I'm using them without any cfscript?
I don't know, are you on ST2 or ST3 development? Can you post an example of where you want the function completions?
Right now I'm using ST2 with the development release of the ColdFusion Package.
If I try to write:
<cfset myTagList = structKeyList(myTagStruct)>
ST won't complete or suggest anything while writing the structKeyList function.
If I'm using the cfscript-Tag, it suggests structKeyList and complets it with: structKeyList(structure).
<cfscript>
myTagList = structKeyList(myTagStruct)
</cfscript>
EDIT: Only in the development release...in the master release it works.
Thanks for the update, I'll check it out in a day or two.
I'm seeing this same issue on ST3. My is slightly different though. Follow these steps to duplicate:
- Create a new .cfm file.
- Type <cfif structKeyE and press Enter. You can tab through and set your arguments as expected.
- Create a new .cfc file.
- Type <cfif structKeyE and there are no code hints whatsoever on the structKeyExists function.
It seems that the code hints for CFCs and CFMs are completely different, and they should be the same.
@danshort Thanks
I can confirm this problem in ST2. Has anyone made any progress on the solution?