Thomas Aylott, the author of the JavaScript Bundle for Textmate, announced that he added the completion feature to his package. This is great news. as far as I know, this is the first completion made available for Textmate and I understand it is easily extended so we could see several other languages being supported soon. If that’s the case, this will make Textmate a real contender not only to text editors but full featured IDE. This is exiting.

To install the bundle, just head over to Thomas Aylott’s GitHub page and download the Javascript bundle (not the Javascript-tools one) and extract it. Rename the generated folder javascript.bundle and double click it. Once the bundle is installed, enter the beginning of a javascript line of code and press option+escape to show the completion.

At first, I was getting the following error message in Textmate:

/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- json (MissingSourceFile)

It was fixed by running the following command

sudo gem install json

Filed under: Computing, Javascript, Mac OS X

Tagged with: , , , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Javascript Completion in Textmate

3 Comments to "Javascript Completion in Textmate"

  1. Trackback on Samantha Halfon on April 17, 2010 at 10:51 pm

    New blog post: Javascript Completion in Textmate:
    Thomas Aylott, the author of the JavaScript Bundle for Textmate…

  2. Comment by Laurent Pantanacce on April 19, 2010 at 5:36 pm Reply

    Works great, thanks Sam!

  3. Trackback on Olivier Lacan on August 20, 2010 at 8:16 am

    Tested JavaScript code completion in Textmate (, unimpressed. Wish Textmate had CodeSense support like Espresso.

Name (required)

Email (required)


Leave a Reply

  • About Me

    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.