So, I got started on this, and this is what I have so far:
Snippets
--------
* common turbogears imports (trigger: tgimport)
- imports common tg (expose, validate, identity, url, flash)
* controller method (trigger: action)
- generates a simple controller method with `expose`
* identity decorator (trigger: id)
* validate decorator (trigger: valid)
* error_handler decorator (trigger: err)
* error_handler method (trigger: errh)
- generates a stubbed error handling method
* redirect (trigger: redir)
- generates an HTTPRedirect
* model — object (trigger: model)
* model — foreign key (trigger: fkey)
* model — multiple join (trigger: mjoin)
* model — related join (trigger: rjoin)
* kid — py:for (trigger: pyfor)
* kid — new fragment (trigger: frag)
Templates
---------
* kid template
I am also working on commands to start the toolbox, start/stop/
restart your applications, and start tg-admin shell. What other
snippets would you like to see? Any other commands? Any templates?
Once I am relatively happy with this, I will probably put it in my
public SVN repository, and let it gel for a month or two before
trying to get it into TextMate proper.
--
Jonathan LaCour
http://cleverdevil.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---