I am trying to create a Shoes bundle. For those who don't know shoes, it is a GUI framework for Ruby. I'd like the bundle to use the ruby bundle's text highlighting, folding scheme, etc. I can (and currently have) copied the language into the new bundle, but can I somehow inherit the language from the ruby bundle? Thanks.
Mike
On Mar 2, 2008, at 4:36 PM, Mike M wrote:
I am trying to create a Shoes bundle. For those who don't know shoes, it is a GUI framework for Ruby. I'd like the bundle to use the ruby bundle's text highlighting, folding scheme, etc. I can (and currently have) copied the language into the new bundle, but can I somehow inherit the language from the ruby bundle? Thanks.
I would personally find it kind of uncomfortable to have Ruby in my shoes (sorry, couldn't resist), but have a look at section 12.3 in the manual: http://macromates.com/textmate/manual/ language_grammars#language_grammars specifically the entry for the "include" key rule. Though I think this will not cover folding, you'll have to copy those manually from the Ruby bundle.
Mike
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Thanks!
On Sun, Mar 2, 2008 at 12:48 PM, Charilaos Skiadas cskiadas@gmail.com wrote:
On Mar 2, 2008, at 4:36 PM, Mike M wrote:
I am trying to create a Shoes bundle. For those who don't know shoes, it is a GUI framework for Ruby. I'd like the bundle to use the ruby bundle's text highlighting, folding scheme, etc. I can (and currently have) copied the language into the new bundle, but can I somehow inherit the language from the ruby bundle? Thanks.
I would personally find it kind of uncomfortable to have Ruby in my shoes (sorry, couldn't resist), but have a look at section 12.3 in the manual: http://macromates.com/textmate/manual/ language_grammars#language_grammars specifically the entry for the "include" key rule. Though I think this will not cover folding, you'll have to copy those manually from the Ruby bundle.
Mike
Haris Skiadas Department of Mathematics and Computer Science Hanover College
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 2 Mar 2008, at 21:36, Mike M wrote:
I'd like the bundle to use the ruby bundle's text highlighting, folding scheme, etc. I can (and currently have) copied the language into the new bundle, but can I somehow inherit the language from the ruby bundle? Thanks.
You could also look at the Rails grammar as it does exactly this