Textmate bundle updates

25 views
Skip to first unread message

Russ Johnson

unread,
Dec 8, 2009, 10:29:24 AM12/8/09
to ColdFusion on Wheels
Now that the 1.0 release has dropped and the new API docs are up. Im starting on some updates to the CFWheels bundle for Textmate and E.

I just pushed a change to the GitHub repo that now uses the new API docs on CFWheels.org for the built-in docs. So if you highlight a wheels function or put your cursor in one and hit CTRL+H it will load the API docs from the site.

Hopefully I can get with Chris to come up with a layout for the docs that will make it a little more friendly for this function. So we can sniff the call to the function page and use the docs layout. This can also come into play for anyone using Eclipse if you set up the documentation link for the cfwheels library.

I will be updating every function in the wheels bundle over the next few days as well as adding the new stuff. I will post to this thread as updates are pushed to GitHub so you guys can pull them down.

http://github.com/russjohnson/cfwheels.tmbundle

- Russ

bward

unread,
Dec 8, 2009, 10:40:21 AM12/8/09
to ColdFusion on Wheels
Wonderful Russ - thanks!!!

Chris Peters

unread,
Dec 8, 2009, 11:09:34 AM12/8/09
to cfwh...@googlegroups.com
Awesome Russ. I have some helpful info that I'll send you off-list that should help you generate the function stuff a hell of a lot easier.


--

You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To post to this group, send email to cfwh...@googlegroups.com.
To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.



Per Djurner

unread,
Dec 10, 2009, 12:34:44 PM12/10/09
to cfwh...@googlegroups.com
Does anyone have a Wheels library for Adobe ColdFusion Builder by any chance?

Chris Peters

unread,
Dec 10, 2009, 6:47:54 PM12/10/09
to cfwh...@googlegroups.com
I wonder how hard it would be to do. Hmmm...

Russ Johnson

unread,
Dec 11, 2009, 1:48:36 AM12/11/09
to ColdFusion on Wheels
Just wanted to let you guys know I pushed some updates to the bundle
to GitHub tonight. Added several new methods that werent in the
previous versions and updated alot of the methods with new arguments
that have been added such as the validation methods.

Still alot to go through and update. Its time consuming so its going
to take a bit to get through all of them.

http://github.com/russjohnson/cfwheels.tmbundle

- Russ

On Dec 10, 6:47 pm, Chris Peters <ch...@clearcrystalmedia.com> wrote:
> I wonder how hard it would be to do. Hmmm...
>
> On Thu, Dec 10, 2009 at 12:34 PM, Per Djurner <per.djur...@gmail.com> wrote:
> > Does anyone have a Wheels library for Adobe ColdFusion Builder by any
> > chance?
>
> > On Tue, Dec 8, 2009 at 5:09 PM, Chris Peters
> > <ch...@clearcrystalmedia.com> wrote:
> > > Awesome Russ. I have some helpful info that I'll send you off-list that
> > > should help you generate the function stuff a hell of a lot easier.
>
> > > On Tue, Dec 8, 2009 at 10:29 AM, Russ Johnson <russ.cfco...@gmail.com>
> > >> cfwheels+u...@googlegroups.com<cfwheels%2Bunsu...@googlegroups.com>
> > .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/cfwheels?hl=en.
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups
> > > "ColdFusion on Wheels" group.
> > > To post to this group, send email to cfwh...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > cfwheels+u...@googlegroups.com<cfwheels%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/cfwheels?hl=en.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "ColdFusion on Wheels" group.
> > To post to this group, send email to cfwh...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > cfwheels+u...@googlegroups.com<cfwheels%2Bunsu...@googlegroups.com>
> > .

Chris Peters

unread,
Dec 11, 2009, 7:53:37 AM12/11/09
to ColdFusion on Wheels
Seriously, I am TextMate bundle ignorant. But is this something that a
read-only web service could help with on cfwheels.org? I'm just
looking for ways to not make you do a ton of manual labor.

Russ Johnson

unread,
Dec 11, 2009, 10:25:49 AM12/11/09
to cfwh...@googlegroups.com
I dont think so. Im looking into automating some of it now but Im not sure how well thats going to work. The problem is that behind the scenes, the bundle is basically an XML file. You would think cool, we can work with XML! But the XML has alot of entities that are generated by Textmate itself when working in the bundle editor and Im not sure how I can work those out behind the scenes.

Once the bundle is updated for 1.0 it shouldnt be that big of a deal to maintain. I will just have to stay on top of it with each new release.
> To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.

craig.kaminsky

unread,
Dec 11, 2009, 11:02:05 AM12/11/09
to ColdFusion on Wheels
My apologies for such a basic question but I can't seem to find any
good information on the web (probably using wrong search terms) but
how does one build the TextMate Bundle for CFWheels from Russ' source?

Thanks!
Craig
> >>>>>> cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscribe@googlegroups.c om>
> >>>> .
> >>>>>> For more options, visit this group at
> >>>>>>http://groups.google.com/group/cfwheels?hl=en.
>
> >>>>> --
>
> >>>>> You received this message because you are subscribed to the Google Groups
> >>>>> "ColdFusion on Wheels" group.
> >>>>> To post to this group, send email to cfwh...@googlegroups.com.
> >>>>> To unsubscribe from this group, send email to
> >>>>> cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscribe@googlegroups.c om>
> >>>> .
> >>>>> For more options, visit this group at
> >>>>>http://groups.google.com/group/cfwheels?hl=en.
>
> >>>> --
>
> >>>> You received this message because you are subscribed to the Google Groups
> >>>> "ColdFusion on Wheels" group.
> >>>> To post to this group, send email to cfwh...@googlegroups.com.
> >>>> To unsubscribe from this group, send email to
> >>>> cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscribe@googlegroups.c om>

Russ Johnson

unread,
Dec 11, 2009, 1:24:15 PM12/11/09
to cfwh...@googlegroups.com
There shouldnt be anything to build. I will updated the Readme on GitHub with these instructions but here is the easiest way.

On Mac, create a folder

/Users/yourusername/Library/Application Support/Textmate/Bundles/CFWheels.tmbundle

Then you can either download the source and extract it into that folder or if you are familiar with Git you can set that folder up as a git repo, add the bundle as a remote and pull the source into that folder. That would be my recommended method. That way, anytime there is changes, you simpley go into the directory, run git pull [remotename] and you will get the latest updates ready to go.

If you are running it in the E text editor on Windows, Im not sure where the bundles go but this should be the same process just a different location.

Let me know if you have any issues with it.

- Russ

craig.kaminsky

unread,
Dec 11, 2009, 2:42:20 PM12/11/09
to ColdFusion on Wheels
Thank you, very much, Russ. That worked perfectly!
> >>>>>>>> cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscr...@googlegroups.c om>
> >>>>>> .
> >>>>>>>> For more options, visit this group at
> >>>>>>>>http://groups.google.com/group/cfwheels?hl=en.
>
> >>>>>>> --
>
> >>>>>>> You received this message because you are subscribed to the Google Groups
> >>>>>>> "ColdFusion on Wheels" group.
> >>>>>>> To post to this group, send email to cfwh...@googlegroups.com.
> >>>>>>> To unsubscribe from this group, send email to
> >>>>>>> cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscr...@googlegroups.c om>
> >>>>>> .
> >>>>>>> For more options, visit this group at
> >>>>>>>http://groups.google.com/group/cfwheels?hl=en.
>
> >>>>>> --
>
> >>>>>> You received this message because you are subscribed to the Google Groups
> >>>>>> "ColdFusion on Wheels" group.
> >>>>>> To post to this group, send email to cfwh...@googlegroups.com.
> >>>>>> To unsubscribe from this group, send email to
> >>>>>> cfwheels+u...@googlegroups.com<cfwheels%2Bunsubscr...@googlegroups.c om>

Russ Johnson

unread,
Dec 11, 2009, 2:59:54 PM12/11/09
to cfwh...@googlegroups.com
Glad to hear it!

I should have another update pushed up tonight that will include all of the new 1.0 methods and all of the new arguments. Chris helped me out by providing me the API data from the db and Im writing a script that will pull the data and build out all of the XML snippet files automagically!

Everything is done except parsing the method args and building out the snippet syntax for them. Should have that done in about 30 minutes or so. That aside its already creating all the files, filling in the XML with the proper values and packing them up... I love me some automation!

- Russ

Russ Johnson

unread,
Dec 11, 2009, 4:24:41 PM12/11/09
to cfwh...@googlegroups.com
Just pushed a MAJOR update. All Wheels 1.0 methods and arguments are now in the bundle. Thanks Chris for the API data! Made my job a TON easier.

The menus are still in flux for the bundle but Im slowly getting them updated. This has to be done my hand in the bundle editor so its a bit time consuming.

I would highly recommend updating from source now so you have all the latest and greatest. All in all I just add 54 new methods to the bundle to get up to date with the 1.0 spec so its a big deal!

Have fun!

On Dec 11, 2009, at 2:42 PM, craig.kaminsky wrote:

Russ Johnson

unread,
Dec 11, 2009, 4:53:58 PM12/11/09
to cfwh...@googlegroups.com
One last update for today, I promise!

Just pushed the next version and I will be creating a new buildfile for Riaforge from this commit.

All the menus are now updated to mimic the structure on the cfwheels website documentation. Every method is in the menu somewhere based on how they are laid out in the site docs.

Let me know if you have any issues.

- Russ

On Dec 11, 2009, at 2:42 PM, craig.kaminsky wrote:

Randy Johnson

unread,
Dec 11, 2009, 9:02:18 PM12/11/09
to cfwh...@googlegroups.com
C:\ColdfusionBuilder\plugins\com.adobe.ide.coldfusion.dictionary_1.0.0.253229\dictionary

is where the dictionary file is for CF.  I also uploaded one to the files area of the group.  I am not really familiar the process but it looks like we would have to append the CFWHEELS tag to the end of one of the dictionary files in that directory.

Randy

Chris Peters

unread,
Dec 12, 2009, 8:57:46 AM12/12/09
to cfwh...@googlegroups.com
If there is a discussion group for CF Builder, that would probably be the best place to go to ask.

Chris Peters

unread,
Dec 12, 2009, 8:59:06 AM12/12/09
to cfwh...@googlegroups.com
Very awesome, thanks dude. Looks like I'm finally gonna have to pony up for a Textmate license. :)

Chris Peters

unread,
Dec 12, 2009, 4:32:25 PM12/12/09
to cfwh...@googlegroups.com
I promise that this is my last update today too.

Would you mind re-running your magic using the data in the file I put in the Files section of the Google Group? It's called cfw_prod.sql.zip. It's pulled from the production database rather than the development copy. I think there are some things missing from the copy that you have.

Sorry! (But also a way of testing your automagic some more. ;))

Russ Johnson

unread,
Dec 12, 2009, 5:41:38 PM12/12/09
to cfwh...@googlegroups.com
I cant re-run the script because the issue is that each snippet has its own GUID so if I re-run it, it will re-create it fine but all the menus will be hosed again.

I will just have to pull that file down and then do a compare on then to see whats missing and add it by hand.

- Russ

stylo

unread,
Dec 18, 2009, 5:25:34 AM12/18/09
to ColdFusion on Wheels
I've been trying to get off homesite+ for ages and trying e editor
with these additions. Some neat stuff there.

A few questions if anyone can help:

1) why are these 2 (cftextmate and cfwheels) not listed under the e
Manage Bundles sources so we can install/update easily? There is an
ancient coldfusion bundle listed there that should be removed. I don't
see how to add sources either.

2) why when I use alt-h for docs on cftags like cfset do I get one for
wheels and for railo come up and have to choose? The help for Railo is
pretty crappy too, badly formatted without spaces and not even code
examples. The one for wheels gives a page not found. Removing this
from the wheels association would auto load the 1st one.

3) how can I popup a list of functions - wheels and/or cf - so as to
select one to enter it without typing the entire function? All I can
seemingly get is a list of ones used on the page already via Esc.

4) if I already have a tag entered and now want to add an attribute,
how can I get a selection of available attributes like Homesite+ does
after entering a space? if I try to tab after the tag name again it
adds the entire tag within that tag:
<cfoutput maxrows="5">
changes to:
<<cfoutput query="" group="" groupcasesensitive="" startrow=""
maxrows="">

</cfoutput> maxrows="5">

5) A real shame the huge cygwin download is needed. I chose the auto
download - does anyone know if much of it can be deleted or redone
only selecting a couple things?

6) Btw, I had to rename your wheels zip to get it to work, deleting
the number at the end of the folder. You do note the folder name
above, just mentioning for others. Throw it in %APPDATA%\e\bundles

Thanks for any help.

Russ Johnson

unread,
Dec 28, 2009, 10:21:25 AM12/28/09
to cfwh...@googlegroups.com
I'll try to answer these in order:

1) I cant speak for the CF bundle but I chose not to put the Wheels bundle under their "managed" bundles until after I was happy with it and not until the CF bundle was moved there. I know Rob Rohan was working on the CF bundle but has since stopped working on it as he has moved off of Textmate primarily for whatever reason. I think he is doing .NET now.

2) The reason you have to chose is because you have both bundles installed. Rob built the Railo and CF8 bundles as separate bundles since the languages were not exactly the same. If you only use one or the other, just delete the one you do not use and you wont have that issue. As for the wheels help, if you are getting page not found errors on the help page, make sure you are running the latest version from GitHub. The help was changed over to point to the new API docs on the wheels site.

3) There are a couple ways to do this, first is by clicking the little gear icon in the bottom of textmate, Im not sure about E since I dont use it but there should be something similar to pop-up the bundle menus. The second way is a hotkey for that menu as well but you will have to look that up in E's reference docs as I dont even use that feature on Textmate so Im not sure what the key combo is. All the wheels functions are in the menu so you can choose them that way if you decide to.

4) I dont know of any way to do that. Im not even sure if Textmates syntax help works that way.

5) Cant help much on this one as I dont use E.

6) Thanks for the heads up here. I will make sure to package it up differently with the next release.

- Russ

Reply all
Reply to author
Forward
0 new messages