Convert TextMate bundle snippets to live templates

I have been using TextMate for Ruby and Rails development in recent times. To be productive, I use a lot of TextMate bundles, and in particular, the automatic code snippets they provide for all sorts of related gems and plugins. While there is a decent set of live templates in RubyMine to match the standard few TextMate plugins, I'm not completely satisfied. The bundles change fairly rapidly in line with the gems/plugins they support. New ones are appearing all the time. It would be much better if there was an automatic tool to convert the snippets inside a TextMate bundle into a set of RubyMine live templates. Then I could update my TextMate bundles, convert them over to live templates, import them into RubyMine somehow (maybe the tool could do this for me) and then I'm off to the races.

I could probably write this little tool myself, but it would seem a lot of trouble to go to, especially if the JetBrains developers already had something like this to convert over all of the existing live templates loaded into RubyMine. Maybe they would like to share? Hint, hint.

4 comments
Comment actions Permalink

Hello Paul,

We don't have such a tool yet (the existing templates were converted manually),
but we plan to create one (most likely before the 1.0 release).

I have been using TextMate for Ruby and Rails development in recent
times. To be productive, I use a lot of TextMate bundles, and in
particular, the automatic code snippets they provide for all sorts of
related gems and plugins. While there is a decent set of live
templates in RubyMine to match the

standard few TextMate plugins, I'm not completely satisfied. The
bundles change fairly rapidly in line with the gems/plugins they
support. New ones are appearing all the time. It would be much better
if there was an automatic tool to convert the snippets inside a
TextMate bundle into a set of RubyMi

ne live templates. Then I could update my TextMate bundles, convert
them over to live templates, import them into RubyMine somehow (maybe
the tool could do this for me) and then I'm off to the races.

I could probably write this little tool myself, but it would seem a
lot of trouble to go to, especially if the JetBrains developers
already had something like this to convert over all of the existing
live templates loaded into RubyMine. Maybe they would like to share?
Hint, hint.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5228365#5228365

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Any updates on this, we have a team here where half the developers use textmate and the other half are moving to RubyMine.  It would be cool to have shared snippets/templates, seems like a full integration may be some work though.

0
Comment actions Permalink

Unfortunately we still don't have such converter. I've created an issue for this - http://www.jetbrains.net/jira/browse/RUBY-3919.

0
Comment actions Permalink

Hi... as I mentioned in another thread... you might would get a much larger user base :-)

greetings

Rafael

0

Please sign in to leave a comment.