[SVN] FAQ for newbies?

Peter Haza peter.haza at gmail.com
Fri Mar 7 07:50:55 UTC 2008

Before you do anything, make sure the bundle doesn't already exist.[1], 
If it doesn't, fire up the bundle editor (⌃⌥⌘B) and press the +  
down to the left, select new bundle. Then you'll get a template to get  
you started.

You can start by adding a language grammar[3], which is usually the  
most complex part because it involves lots of regular expressions
It is also good to look at a simple language you know well that has  
been implemented, and see how that is done

When that's working correctly, you can add snippets[4], commands[5]  
and macros[6] to speed up working with the language.

Note that it's easier to start with snippets and commands, but if you  
know mainly how they work, I prefer having the grammar in place before  
I add the spice.


[1] http://macromates.com/svn/Bundles/trunk/Bundles/
[2] http://macromates.com/svn/Bundles/trunk/Review/Bundles/
[3] http://macromates.com/textmate/manual/language_grammars#language_grammars
[4] http://macromates.com/textmate/manual/snippets#snippets
[5] http://macromates.com/textmate/manual/commands#commands
[6] http://macromates.com/textmate/manual/macros#macros

On Mar 6, 2008, at 10:48 PM, Joseph Bennett wrote:

> I have a very newbie question, can probably be answered in a FAQ.
> I want to put together a bundle for a language, yet want to do  
> things like flag obvious errors such that they will show up with  
> text coloring.
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev

More information about the textmate-dev mailing list