Apr
17
Javascript Completion in Textmate
April 17, 2010 | 3 Comments
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:
1 | /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
1 | sudo gem install json |
Tagged with: bundle, completion, IDE, Javascript, textmate
Liked this page?
Subscribe to the RSS feed or sign up for the newsletter now.
New blog post: Javascript Completion in Textmate:
Thomas Aylott, the author of the JavaScript Bundle for Textmate… http://bit.ly/ctZOAX
Works great, thanks Sam!
Tested JavaScript code completion in Textmate (http://bit.ly/dwVsOv), unimpressed. Wish Textmate had CodeSense support like Espresso.