Use IntelliJ for iPhone development using Titanium

Since I wrote the post about setting up Eclipse for iPhone development using Titanium, Appcelerator has acquired Aptana. Titanium studio built on top of Aptana studio is the best supported IDE for mobile and desktop application development using Titanium.

I use IntelliJ for Java development and just out of curiosity wanted to try developing Titanium applications using it.

Enabling code completion in IntelliJ is very simple and straight forward. All we need is to add the JavaScript header file based on Titanium API JSON file to the project source directory.

I have used the PHP script provided by James Low on his blog to generate the JavaScript header file.

Download JavaScript header file for Titanium Mobile 1.7.2