Greetings -- I was a happy user of Ruby templates until TextMate decided to upgrade itself. Suddenly the Templates are gone from the Ruby bundle! And indeed, they're not there in the latest Ruby bundle. What happened to them and how can I get them back and never let go?
Also -- what's the intended way of setting my company name in Python templates?
Cheers, Alexy
On Oct 29, 2007, at 10:58 AM, Alexy Khrabrov wrote:
Greetings -- I was a happy user of Ruby templates until TextMate decided to upgrade itself. Suddenly the Templates are gone from the Ruby bundle! And indeed, they're not there in the latest Ruby bundle. What happened to them and how can I get them back and never let go?
Allan and I felt that the template didn't add anything significant over ⌘N, ⌃⌥⇧R, rb⇥ and thus we decided to remove it.
I realize it did add a little metadata in comments, but my opinion is that you gain a lot by building your own snippet to handle that. You could put just the information you want and even make it language independent.
Anyway, you can get the old template files with:
svn export -r 8274 http://macromates.com/svn/Bundles/trunk/Bundles/ Ruby.tmbundle/Templates
James Edward Gray II
On Oct 29, 2007, at 7:22 PM, James Edward Gray II wrote:
svn export -r 8274 http://macromates.com/svn/Bundles/trunk/Bundles/ Ruby.tmbundle/Templates
Thanks James!
When I create a series of Ruby scripts in sequence, I just click on the +File icon, and it is already set on the Ruby template which was used the last time. And date and copyright is exactly what I need!
Thanks, Alexy
On 10/29/07, James Edward Gray II james@grayproductions.net wrote:
On Oct 29, 2007, at 10:58 AM, Alexy Khrabrov wrote:
Greetings -- I was a happy user of Ruby templates until TextMate decided to upgrade itself. Suddenly the Templates are gone from the Ruby bundle! And indeed, they're not there in the latest Ruby bundle. What happened to them and how can I get them back and never let go?
Allan and I felt that the template didn't add anything significant over ⌘N, ⌃⌥⇧R, rb⇥ and thus we decided to remove it.
Yeah, I noticed it was gone too and was going to post a message also. Then I saw one of the bundle updates saying they were removed. Good thing I had some clue where to at least start to look!
And also, if I recall, I tried the Control-Option-Shift-R, but it didn't work. I had to use Control-Option-Shift-E, then choose Ruby from the list.
On Oct 30, 2007, at 7:55 AM, John Tsombakos wrote:
And also, if I recall, I tried the Control-Option-Shift-R, but it didn't work. I had to use Control-Option-Shift-E, then choose Ruby from the list.
The commit message had a typo in it. It said to use E, but the R (for Ruby) is correct.
James Edward Gray II