« Return to Thread: TextMate Groovy & Grails Bundles

[grails-user] Re: TextMate Groovy & Grails Bundles

by graemer :: Rate this Message:

Reply to Author | View in Thread

Updated the TextMate bundle. You can now use APPLE+R to execute the
current groovy script or selecting some code and doing APPLE+ALT+R
will execute the snippet. There are more GSP snippets and groovy
snippets too.

Cheers
Graeme

On 11/2/06, backspaces <owen@...> wrote:

>
> Boy, and on all saints' day!  Thanks a bundle .. er .. bunch!  As much as I
> grudgingly use Eclipse, I do find myself using TM for more of my daily
> stuff, especially quick python hacks.  Now time to add Groovy to TM.
>
>
> graemer wrote:
> >
> > For those on Mac OS X who use the fantastic TextMate editor I have
> > created a Groovy bundle that lives at
> > http://svn.groovy.codehaus.org/groovy/trunk/groovy/ide/groovy-textmate
> >
> > Just an overview of what it does:
> >
> > - type "to" and hit TAB for type conversion by method call
> > - type "as" and hit TAB for type conversion by coercion
> > - type "with" and hit TAB for i/o stuff
> > - typing ea, eawi, eal, eaf, eab, eam and hitting TAB do things like
> > each, eachWithIndex, eachFile and so on
> > - type "static" and hit TAB for various options for statics
> > - type "cla" and hit TAB for class definition templates
> > - typing ":" and hitting TAB creates key/value hash pair
> > - Use ^ H to access JavaDoc help given you have them installed
> > - Use ^ ENTER to create new methods
> >
> > It is almost as good as code completion ;-)
> >
> > It is still a WIP though, especially the Grails stuff. For Groovy I need
> > to add:
> >
> > - Execute a unit test
> > - Execute a script
> > - Execute a script from selection
> >
> > There are probably more, but TextMate makes it amazingly easy
> >
> > --
> > Graeme Rocher
> > Grails Project Lead
> > http://grails.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/TextMate-Groovy---Grails-Bundles-tf2555468.html#a7136882
> Sent from the groovy - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Graeme Rocher
Grails Project Lead
http://grails.org

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: TextMate Groovy & Grails Bundles