Type First Letter(s) of your function and hit CTRL SPACE
a list of function pops up, if u choose desired function it will also show you the function parameters !
I've noticed lately that I can only get code assist to work on functions if you start it out with a lowercase letter.
So if you change your example to listFind(, it works fine.
I'm not saying that this is acceptable because our coding guidelines call for the capital L at the beginning to denote that the function is a built-in CF function.
That trick seems to work well for functions within cfscript. It also works well if I type this followed by CTL+Space.
It does not work if you are typing it out in the body of a page. In that case, I get a popup with a list of HTML tags only. Then again, maybe that's a good thing.
Either way, that may be a viable workaround for now. But here's a new issue. When you type the function name and you close the parentheses you get the tool tip that tells you what parameters the function takes. If your cursor leaves the parentheses and comes back, the tool tip does not reappear.
How do you get the tooltip to come back? I looked at the CF Builder documentation and didn't see anything about manually bringing up the tool tip for functions. CTL+Space does not do it. Image of the tool tip is attached.
Just for the record, I keep cfquickdocs.com open at all times to get around these issues. Waiting for the day when I don't have to go back and forth.
I type this and still get no code assist.
I like that CF Wheels makes it a standard to use uppercase for the first letter, btw. I did know that about the framework.
Overall, I get the impression that these are bugs? That is unless I'm doing something wrong.
tooltip.jpg 20.7 K
As you said, i guess these are bugs.
lets see what the final realease is all about.
Arguments assist not coming up while end brace is absent is a bug, we will fix it soon.
We have released CFBuilder public beta3, please install the new build from http://labs.adobe.com/technologies/coldfusionbuilder/
For installation instructions, refer to CFBuilder blog at http://blogs.adobe.com/cfbuilder/
Let us know your feedback after playing around with the latest release.
Adobe ColdFusion Team
I'll add my comments here too, as I've had a lot of problems with the code assist and I really miss this working moving from CFEclipse. I'm on the beta 3 standalone copy.
First, I'd like to put in a BIG hands up for a camel case output on the functions. All lowercase is not something I've seen used much, it's harder to read in general, I expect most of us write built-in functions more like this: ReplaceNoCase(). Tags though are fine in lowercase.
The cntl-space works well to pop up the list of functions, but I would like to use the scroll button on my mouse immediately to move through the list....instead it scrolls the page, so I have to click into the window first to move the focus, which is kind of annoying (particularly when I forget to!)
I get really weird code assist on some tags. For instance, I was adding a cfcatch tag and it popped up a list of html tags, instead of the attribute list.
Finally, when adding normal HTML tags with code assist, it's not properly wrapping attributes in quotes.
Can you log an ER for content assist pop up to have the focus when it appears. It looks like there can be reason when some folks may not want to lose focus from the main editor. Please provide the bug# so that folks can vote.