Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Hacked together quick script for 1.3 autocompleteion

Havent really tested this much, but figured I would share it anyway.

Hacked together a quick script that takes the new api.json format and outputs a dummy js file sutable for autocompletion in many IDEs.

If you just want the dummy js file you can grab it from here

To get the script itself (requires node.js http://nodejs.org/) you can get it from the github repo here

To use, just run

wget http://developer.appcelerator.com/apidoc/mobile/1.3/api.json
node tiDocs.js > Ti.js

Feel free to contribute any changes, like I said this is still quite rough.

— asked May 30th 2010 by Get Glue
  • autocomplete
  • intellisense
  • mobile
0 Comments

3 Answers

  • Accepted Answer

    @StephenG Here's your Aptana solution:
    http://jameslow.com/2010/05/31/titanium-autocomplete-eclipse/

    @JeffHaynie Thanks for the link!

    — answered May 31st 2010 by Chris Haff
    permalink
    0 Comments
  • This is very awesome!

    — answered May 31st 2010 by Jeff Haynie
    permalink
    0 Comments
  • I'd kill to get this working in Aptana Studio…. but their instructions for adding Code Assist is as clear as mud……

    — answered May 31st 2010 by Stephen Gilboy
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.