Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function Completion #129

Open
haussjonas opened this issue Oct 1, 2013 · 6 comments
Open

Function Completion #129

haussjonas opened this issue Oct 1, 2013 · 6 comments

Comments

@haussjonas
Copy link

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?

@atomi
Copy link
Contributor

atomi commented Oct 2, 2013

I don't know, are you on ST2 or ST3 development? Can you post an example of where you want the function completions?

@haussjonas
Copy link
Author

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.

@atomi
Copy link
Contributor

atomi commented Oct 2, 2013

Thanks for the update, I'll check it out in a day or two.

@danshort
Copy link

danshort commented Oct 7, 2013

I'm seeing this same issue on ST3. My is slightly different though. Follow these steps to duplicate:

  1. Create a new .cfm file.
  2. Type <cfif structKeyE and press Enter. You can tab through and set your arguments as expected.
  3. Create a new .cfc file.
  4. 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.

@atomi
Copy link
Contributor

atomi commented Oct 7, 2013

@danshort Thanks

@JamieMcBurney
Copy link

I can confirm this problem in ST2. Has anyone made any progress on the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants