I have been convinced to try to use ColdFusion Builder 3, since Adobe have chosen to remove all ColdFusion benefits from Dreamweaver. I don’t really have time for learning a new IDE but I guess I’m forced to now.
One of the main benefits trumpeted by Adobe is the code insight, where when you type the name of a cfc, and instantiate it, it’ll give a drop down list of the methods within the CFC. And when you select one of the methods, it’ll give you a drop down of the required arguments for that method.
It’s not working for me, in any CFC instantiated using ColdSpring. I don’t know whether that’s because I haven’t set it up properly or I’m doing something wrong, or whether it simply doesn’t work with Coldspring.
Has anyone managed to get code insight to work on a cfc instantiated with Coldspring?
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
I have been convinced to try to use ColdFusion Builder 3, since Adobe have chosen to remove all ColdFusion benefits from Dreamweaver. I don’t really have time for learning a new IDE but I guess I’m forced to now.One of the main benefits trumpeted by Adobe is the code insight, where when you type the name of a cfc, and instantiate it, it’ll give a drop down list of the methods within the CFC. And when you select one of the methods, it’ll give you a drop down of the required arguments for that method.It’s not working for me, in any CFC instantiated using ColdSpring. I don’t know whether that’s because I haven’t set it up properly or I’m doing something wrong, or whether it simply doesn’t work with Coldspring.Has anyone managed to get code insight to work on a cfc instantiated with Coldspring?
...
Thanks Jared I’m grateful for your help. This move to CFB3 has proved to be a whole lot of heartburn for me!!
Anyway, I found out that after doing the CfC maps as you suggest, this works:
UsersDAO = application.BeanFactory.getBean("UsersDAO");
UsersList = UsersDAO.GetAllUsers();
But chaining methods together doesn’t, as you said in your post. So this doesn’t show code insight:
UsersList = application.beanfactory.getbean(“UsersDAO”).getAllUsers();
Obviously it doesn’t matter to ColdFusion itself because either will work, but for code insight I have to learn a slightly different way of coding – just an additional line or two here and there as I instantiate a cfc on one line and call methods from it on another, and it’s all cool.
Thanks for your help.
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
From: coldspri...@googlegroups.com [mailto:coldspri...@googlegroups.com] On Behalf Of Jared Rypka-Hauer
Sent: Friday, 2 May 2014 12:52 AM
To: coldspri...@googlegroups.com
Subject: Re: [coldspring-users] ColdFusion Builder 3 - does code insight work?
It will not work as, I think, you are expecting it to work. When using ColdSpring-derived objects you cannot rely on CB3’s built-in insight. In order for such insight to work, CB3 has to know where the CFC file is physically located on the disk, so it will work when you do something like:
MyObj = new com.foo.mystuff.ThatObject;
MyObj.{boom}…
[snip]
--
You received this message because you are subscribed to the Google Groups "ColdSpring-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldspring-use...@googlegroups.com.
To post to this group, send email to coldspri...@googlegroups.com.
Visit this group at http://groups.google.com/group/coldspring-users.
For more options, visit https://groups.google.com/d/optout.