PDA

View Full Version : DOMAssistant bundle for TextMate



456 Berea Street
10th Mar 2008, 06:54 pm
Like many other Mac users I do most of my coding in TextMate (http://macromates.com/). It has tons of really nice features, one of which is its extensibility – if you need support for a coding language that isn't included with TextMate, you can add it yourself.
Well, I've been using Robert Nyman's DOMAssistant (http://www.domassistant.com/) JavaScript library quite a bit lately, and TextMate doesn't support DOMAssistant's methods and syntax. I was getting a bit annoyed at knowing that I was doing a lot of unnecessary typing because of this, so I decided to create a TextMate bundle for DOMAssistant.
Armed with my copy of TextMate, James Edward Gray II's excellent TextMate: Power Editing for the Mac (http://www.amazon.com/gp/product/097873923X?ie=UTF8&tag=456bereastree-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=097873923X), and the DOMAssistant documentation, I started hacking away. This was the first time I took a closer look at adding support for a language in TextMate, but it turned out that it really isn't that difficult.
After a few hours of work, the result is a DOMAssistant TextMate bundle (http://textmate-domassistant.googlecode.com/files/DOMAssistant-tmbundle-1.0.zip) with tab triggered snippets for all methods, a code completion dictionary, and documentation links for all DOMAssistant keywords.

Google Code project: textmate-domassistant (http://code.google.com/p/textmate-domassistant/)
Direct download link: DOMAssistant-tmbundle-1.0.zip (http://textmate-domassistant.googlecode.com/files/DOMAssistant-tmbundle-1.0.zip) If you use TextMate and DOMAssistant I think this will save you a few keystrokes :-).
Suggestions for improvement are welcome. Remember that this is my first TextMate bundle, so please be gentle.
Visit site to read or post comments… (http://www.456bereastreet.com/archive/200803/domassistant_bundle_for_textmate/#comments)Add 456 Berea Street to your Technorati favorites. (http://technorati.com/faves?add=http://www.456bereastreet.com)
Posted in Coding (http://www.456bereastreet.com/archive/categories/coding/), JavaScript (http://www.456bereastreet.com/archive/categories/javascript/), Mac (http://www.456bereastreet.com/archive/categories/mac/), Productivity (http://www.456bereastreet.com/archive/categories/productivity/).
http://feeds.feedburner.com/~a/456bereastreet?i=EFjcPE</img> (http://feeds.feedburner.com/~a/456bereastreet?a=EFjcPE)
http://feeds.feedburner.com/~f/456bereastreet?i=Goo4E9f</img> (http://feeds.feedburner.com/~f/456bereastreet?a=Goo4E9f) http://feeds.feedburner.com/~f/456bereastreet?i=a8e3VHf</img> (http://feeds.feedburner.com/~f/456bereastreet?a=a8e3VHf) http://feeds.feedburner.com/~f/456bereastreet?i=gJukGdF</img> (http://feeds.feedburner.com/~f/456bereastreet?a=gJukGdF) http://feeds.feedburner.com/~f/456bereastreet?i=2sR65if</img> (http://feeds.feedburner.com/~f/456bereastreet?a=2sR65if)
http://feeds.feedburner.com/~r/456bereastreet/~4/249029958

More... (http://feeds.feedburner.com/~r/456bereastreet/~3/249029958/)