Obey my dog

YUI Bundle for Textmate

Sunday, October 29th, 2006 at 14:06 Sunday, October 29th, 2006 at 14:06

I've written a bundle for TextMate that provides syntax coloring, tab completetion and documentation look-up for the core YUI libraries: Dom, Event, Connection, Drag & Drop and Animation. The easiest way to get it is documented on the TextMate site, and involves the GetBundle bundle by Sebastian Gräßl. I'll summarize it here:

  1. Download GetBundle and double-click to install it.
  2. Invoke the "Install Bundle" command. The easiest way to do this is to press ⌃⌘T and type "install". Then select "Install Bundle" from the list that appears.
  3. Select JavaScript YUIIn the dialog box that appears, select "JavaScript YUI" and click "Install".

That's it. You can also check out the code directly from the Subversion repository if you prefer. The various code snippets and commands can be seen from the Bundle Editor, and, as with all TextMate bundles, everything can be customized. For instance, if you prefer to use YD.get in place of YAHOO.util.Dom.get (as I do), you can make that change yourself in the editor.

I hope to expand this later on with support for all of the widget libraries, but that will take some time. When that does happen, you can use GetBundle to update it automatically.

Comments

stephen:Wednesday, November 1st, 2006 at 14:10 #1

great bundle! glad you took the time to create this and share.

Dimitry:Friday, December 1st, 2006 at 1:05 #2

Thanks so much for this!

Sebastian Gräßl:Saturday, December 2nd, 2006 at 15:03 #3

Hey, just wanted to tell you to change the linke to the GetBundle to http://files.validcode.net/GetBundle.zip or validcode.net/stuff

Ross:Monday, December 4th, 2006 at 17:56 #4

Thanks Sebastian, I'll make the change.

Comments Disabled


Recent Posts

Navigation