MIT License
- Install TextMate (um… duh?)
- Download JavaScript-Appcelerator-Titanium-Mobile.tmbundle.zip
- Unzip
- Rename the folder to
ti-mo.tmbundle
- The name of the folder doesn't really matter, just so long as it has the
tmbundle
extension
- The name of the folder doesn't really matter, just so long as it has the
- Double-Click
- Install the JSON Ruby Gem
sudo gem install json
- Enjoy!
The completion list contains all of the Titanium
and Ti
API.
The tips are context sensitive. Place your caret anywhere inside of a function (on the same line) and it'll work, even inside the arguments ()
!
Enable this by selecting the "JavaScript Titanium Mobile" language in the bottom bar of TextMate.
As soon as you hit the .
(after typing Ti
) it'll bring up the as-you-type completion list thing.
Note: If you are at the last line and click "." then the code completion list won't appear. You must leave a blank line at the end of your document.