Home Download Buy Blog Forum Support

How do you use Textmate bundles with Sublime?

How do you use Textmate bundles with Sublime?

Postby jakobud on Wed Jul 06, 2011 2:57 pm

Is there a tutorial on how to use Textmate bundles in Sublime Text? I tried to drop some textmate snippets into my User folder and SublimeText through out errors regarding the snippets being invalid or something.
jakobud
 
Posts: 37
Joined: Wed Feb 17, 2010 6:05 pm

Re: How do you use Textmate bundles with Sublime?

Postby guillermooo on Wed Jul 06, 2011 3:24 pm

Some .tm* files work on Sublime Text, others don't. There's no specific porting guide, though.

Snippets in Sublime use the same features as Texmate's, but are stored in *.sublime-snippet files instead. *.sublime-snippet files are a simplified XML format.

This can probably be of help here:

http://sublimetext.info/docs/en/extensi ... ppets.html
http://sublimetext.info/docs/en/reference/snippets.html
guillermooo
 
Posts: 723
Joined: Thu Jul 23, 2009 9:06 am

Re: How do you use Textmate bundles with Sublime?

Postby jakobud on Fri Jul 29, 2011 3:48 pm

So no one has written any kind of converter for tmSnippets -> sublimeSnippets? I would have thought that after all this time that someone would have...
jakobud
 
Posts: 37
Joined: Wed Feb 17, 2010 6:05 pm

Re: How do you use Textmate bundles with Sublime?

Postby aparajita on Fri Jul 29, 2011 7:05 pm

jakobud wrote:So no one has written any kind of converter for tmSnippets -> sublimeSnippets? I would have thought that after all this time that someone would have...


ST2 converts them for you when you first launch with a TextMate bundle installed.

Note that in TextMate you could organize where the snippets appeared in the menus using the bundle editor. In ST2 snippets at the top level of the bundle folder will appear at the top level of the bundle's snippet menu. Put them in subfolders of the main bundle folder to create submenus.
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 22 guests