New cftextmate

2 views
Skip to first unread message

Rob Rohan

unread,
Dec 16, 2008, 9:32:10 AM12/16/08
to cftex...@googlegroups.com
Hey everyone,

I had a little burst of energy this evening and did a bit of work on
the bundle. I am mostly just trying to get the colouring a bit
tighter because some files I look at during the day knock the colours
a bit off wack. I tracked one of the main problems down to cfif with
functions. Depending on how the if was written it could mess up
colouring for the rest of the file. That took some doing, but I think
I have that fixed.

I also fixed the comment in a comment. I run into that at least once
a day, and it can be confusing if the file is colouring the code like
its running, but in reality the code is commented out. It should
work no matter how many comments you have...

Picture 1.png

W. Thomas Leroux

unread,
Dec 16, 2008, 9:59:43 AM12/16/08
to cftex...@googlegroups.com
Thanks for your efforts! I just tried downloading it, but got an error:
"AccessDeniedAccess Denied" + string of characters.

http://s3.amazonaws.com/software.robrohan.com/CFTextMate/Alpha/ColdFusion.tmbundle.zip

Tom
> however, html comments will only let you do one level of comments
> (which I am 90% sure is correct - if you are using xhtml I am 99% sure
> that's right)
>
> anyway, you can grab new code here - it's hot off the press so
> careful...
>
> http://s3.amazonaws.com/software.robrohan.com/CFTextMate/Alpha/ColdFusion.tmbundle.zip
>
> Oh I also added default snippets for:
>
> ctrl+shift+o = surround selected text in cfoutput
> ctrl+shift+d = cfdump (or just type "dump"+tab)
> abort+tab = cfabort
>
> I haven't been able to reproduce the tag completion error that Andrew
> was getting, but there are now several people at work using this and
> it seems to work for them :-/ now sure what to do about that. For the
> record - you should be able to type "<cfsometag " then ctrl+space and
> get a list of attributes.
>
> I am using textmate build 1496.
>
> Happy Coding,
>
> rob
> Daemon Internet Consultants
> http://daemon.com.au
>
>
>
>
>
>
>



--
All about me!
http://www.leroux.ca
http://www.twitter.com/wtl

Rob Rohan

unread,
Dec 16, 2008, 5:26:04 PM12/16/08
to cftex...@googlegroups.com
Sorry about that, I forgot to make it world readable - it should work
now

gwiz

unread,
Dec 17, 2008, 12:30:50 PM12/17/08
to cftextmate
This is awesome! I'm so stoked about nested comments and ctrl+shift+o.
>  Picture 1.png
> 108KViewDownload
>
>
>
> however, html comments will only let you do one level of comments  
> (which I am 90% sure is correct - if you are using xhtml I am 99% sure  
> that's right)
>
> anyway, you can grab new code here - it's hot off the press so  
> careful...
>
> http://s3.amazonaws.com/software.robrohan.com/CFTextMate/Alpha/ColdFu...

Steve Ross

unread,
Dec 17, 2008, 12:32:02 PM12/17/08
to cftex...@googlegroups.com
Does this have the integrated help in it?

Thanks,

Steve

-------------------
Steve Ross
912.344.8113

Rob Rohan

unread,
Dec 17, 2008, 2:45:08 PM12/17/08
to cftex...@googlegroups.com
For tags it does - kinda. It's not very accurate yet, but if you put
your cursor on a tag and hit ctrl+h it should open a new window and
jump to that item. It's not 100% yet, and it doesn't work very well
for functions, but once that help window is open you can command+f and
search too so it's somewhat helpful.

Steve Ross

unread,
Dec 17, 2008, 3:18:42 PM12/17/08
to cftex...@googlegroups.com
I was just asking as I have this working in my local copy (I downloaded the offline help off adobe's site) works for functions and tags... probably the most useful thing to have inside the editor for me.
--
Steve Ross
web application & interface developer
http://blog.stevensross.com
[mobile] (912) 344-8113 [fax] (404) 592-6885
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]

Steve Ross

unread,
Dec 17, 2008, 3:20:16 PM12/17/08
to cftex...@googlegroups.com
its right here if you want to incorporate it:

http://blog.stevensross.com/2008/1/21/update-coldfusion-help-in-textmate-livedocs

I was going to modify it so that you could choose to download the file locally but, never got around to it. Checking it into the bundle would make the download quite large too...

Rob Rohan

unread,
Dec 17, 2008, 3:35:09 PM12/17/08
to cftex...@googlegroups.com
That's awesome Steve - Cheers!  I'll look it over and see if I can incorporate parts of it.   

The catch is the documentation is currently being generated from the tag dictionaries - so that documentation for railo and bluedragon is, at least somewhat, accurate.  It might be worth it as the generated documentation is a bit sparse, but I don't feel like doing anything special for adobe at the moment :)

Come to think of it though, this could probably be it's own plugin - just defining the key binding ctrl+h and doing documentation for all text.html.cfm areas.  Best of both worlds - what do you think?

Steve Ross

unread,
Dec 17, 2008, 8:21:46 PM12/17/08
to cftex...@googlegroups.com
Up to you, I just thought I'd throw it out there. Like i said though it works best if you download the offline help as it is much faster than hitting the livedocs and you don't always have an internet connection when you are developing (I think I downloaded the docs for homesite and just unzipped them to a directory and pointed at that)

The tricky part was getting it to load local html files which is done using this as the url: tm-file:///Users/sross/Downloads/html/
Reply all
Reply to author
Forward
0 new messages