Hey!I'm not sure you need to fork the ColdFusion package. Sublime Text will pick up multiple sublime-completion files so you can always create a secernate package specific to CFWheels.Unfortunately, I won't be merging framework code completion, which is why I mention it. Nice work though for sure - it's really helpful!
--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cfwheels/-/IkPjctacqzwJ.
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.
Interesting. Well my personal preference would be to use it the way you just described it but I just tried and I couldn't get it to work using your formatting.
I'll accept a pull request if you can get it working. Just tweak the import.cfm file to generate the definitions then stick them in the sublime-completions file.
Let me know.
Thanks Russ!
If we can't get it to work it might be better just to update your plugin to work with sublime.
On Thu, Jul 12, 2012 at 10:11 AM, Russ Johnson <russ.c...@gmail.com> wrote:
Tim,Wanted to check this out to decide if I wanted to bother updating my CFWheels Textmate bundle to work better with Sublime or just switch to yours but Im running into something that Im not sure is how you intended it.When I type link to and hit enter on the popup completion, I get the following in my editor:#linkTo( text(string), confirm(string), route(string), controller(string), action(string), key(any), params(string), anchor(string), onlyPath(boolean), host(string), protocol(string), port(numeric), href(string) )#as I tab through the attributes, it highlights the entire section like text(string) so as I type the value, I also have to type the attribute such as text="My Link"… is this how you intended this to work?My completions in the Textmate bundle put extra tab stops in the actual value spot so you only have to type the value and not the attribute as well..Here is a comparison of my completion syntax with yours…Yours:linkTo(${1: ${2:text(string)}, ${3:confirm(string)}, ${4:route(string)}, ${5:controller(string)}, ${6:action(string)}, ${7:key(any)}, ${8:params(string)}, ${9:anchor(string)}, ${10:onlyPath(boolean)}, ${11:host(string)}, ${12:protocol(string)}, ${13:port(numeric)}, ${14:href(string)} })Mine:linkTo(${1:${2:text="$3"}${4:, confirm="$5"}${6:, route="$7"}${8:, controller="$9"}${10:, action="$11"}${12:, key="$13"}${14:, params="$15"}${16:, anchor="$17"}${18:, onlyPath="$19"}${20:, host="$21"}${22:, protocol="$23"}${24:, port="$25"}})$0The way mine is setup you never have to type the actual attribute. I guess Im just wondering if you intended it to work that way.
<image001.gif>
--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cfwheels/-/kszTKsVsq3oJ.
This link did not work, but after a quick search I found https://github.com/timsayshey/Sublime-Text-CFWheels so i'm guessing this is the new link.
On Monday, July 9, 2012 4:07:14 PM UTC-4, Tim B wrote:Just thought I'd let you guys know that I added CFWheels functionality to the official Sublime Text 2 Coldfusion Plugin: https://github.com/timsayshey/Sublime-Coldfusion-With-CFWheels
Enjoy :)
--
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.
Visit this group at http://groups.google.com/group/cfwheels?hl=en.For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+u...@googlegroups.com.
To post to this group, send email to cfwh...@googlegroups.com.