A TextMate bundle for the HTML Canvas api.
TextMate is a text editor / IDE for Mac OS X. This bundle adds functionality for developing with the HTML Canvas api. For more information on Canvas see:
The bundle currently only provides snippets for the Canvas api methods. This helps you avoid looking up the documentation for method names and arguments. The completion also reduces typing effort.
Note: The bundle binds the ⌃⇧⌘C [control-shift-option-c]
key sequence while in the source.js
context. That means ⌃⇧⌘C [control-shift-option-c]
will open a context menu listing all the api methods.
Contribution is very welcome. Fork and go for it!
You can install this bundle using the excellent GetBundles bundle, or the TextMate Gem.
You can also download a zip of the current version http://bit.ly/tmcanvas (rename the expanded folder to JavaScriptCanvas.tmbundle
).
...Or clone the repo to your bundle folder with the following:
cd ~/Library/"Application Support"/TextMate/Bundles/
- if that directory wasn't found, you'll need to create it, then:
git clone git@github.com:johnhunter/JavaScriptCanvas.tmbundle.git "JavaScriptCanvas.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'
Licenced under CC-BSD 2011, John Hunter
http://creativecommons.org/licenses/BSD/