Skip to content
This repository was archived by the owner on Oct 27, 2019. It is now read-only.

TextMate Bundle (tmBundle) for the Appcelerator Titanium Mobile JavaScript API. Includes complete API Code Completion and context sensitive API doc ToolTips. Yes, this is real.

Notifications You must be signed in to change notification settings

subtleGradient/JavaScript-Appcelerator-Titanium-Mobile.tmbundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appcelerator Titanium Mobile JavaScript TextMate Bundle

By Thomas Aylott

MIT License

How to install

  1. Install TextMate (um… duh?)
  2. Download JavaScript-Appcelerator-Titanium-Mobile.tmbundle.zip
  3. Unzip
  4. 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
  5. Double-Click
  6. Install the JSON Ruby Gem
    • sudo gem install json
  7. Enjoy!

How to use

Complete! ⌥⎋ option-escape

The completion list contains all of the Titanium and Ti API.

Tooltips! ⌥F1

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 ()!

Complete! Type Ti. (optional)

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.

About

TextMate Bundle (tmBundle) for the Appcelerator Titanium Mobile JavaScript API. Includes complete API Code Completion and context sensitive API doc ToolTips. Yes, this is real.

Resources

Stars

Watchers

Forks

Packages

No packages published