Mar 05 2009

2

MooDocs TextMate Command

Category: UtilitiesTags: , ,

José Prado just released the MooDocs Coda plug-in . The plug-in allows Coda to parse MooTools Classes and generates a Markdown formatted template ready to fill in with details. I took his great work and modified it for TextMate.

I packaged it as a single command that installs into the Javascript bundle. I also assigned <command>-D to the command, for even quicker generation. One minor thing I fixed with the code was the parsing of the class name. There were a few cases where classes are created without var and have a ‘dot’ in the name. Like Fx.Morph or Drag.Move.

You are still required to end your classes like so:

var MyClass = new Class({
 
 
});//end

Download MooDocs for TextMate

Update:

MooDocs for TextMate has been moved to a github repo

Tags: , ,

2 Responses to “MooDocs TextMate Command”

  1. Oskar Krawczyk says:

    Awesome, thanks Nathan!

  2. rpflo says:

    Crazy, I saw the post in google groups and then thought “is there a textmate bundle for mootools?”

    Sho’ enough! Thanks.

Leave a Reply