I want to create a bundle to support a new text data format. It would be pretty simple, mostly just syntax highlighting and comment character definition. Is there manual or tutorial on creating bundles? I couldn't find one on the Textmate website.
Thanks.
On 2009-May-15, at 2:33 PM, W.P. McNeill wrote:
I want to create a bundle to support a new text data format. It would be pretty simple, mostly just syntax highlighting and comment character definition. Is there manual or tutorial on creating bundles? I couldn't find one on the Textmate website.
There probably won't be much on creating bundles specifically since really it's just a matter of choosing "New Bundle" in the Bundle Editor. It's the language grammar, commands, snippets, etc. that make up a bundle that take some work. Look for documentation on those things individually and I suspect you'll have more luck.
All of these things are discussed in [the book][1] and I'm sure there is a lot of documentation available for free as well. And honestly, the best resource I've found for bundle development is the existing bundles. You can learn quite a bit just by poking around in the Bundle Editor.
[1]: http://www.pragprog.com/titles/textmate/textmate
On May 15, 2009, at 11:33 AM, W.P. McNeill wrote:
I want to create a bundle to support a new text data format. It would be pretty simple, mostly just syntax highlighting and comment character definition. Is there manual or tutorial on creating bundles? I couldn't find one on the Textmate website.
Once you get a handle on the language grammar the rest is pretty straightforward. See § 12 of TextMate's help documentation <http://manual.macromates.com/en/language_grammars
.
There is a ton of stuff you can do with TextMate that you'd never guess just by looking at the documentation, poke around the other bundles to see what's possible.
And when in doubt ask here on the list or on the IRC channel.