Updated: See part 2
I’ve been playing around with Appcelerator’s Titanium framework lately. It’s really an awesome framework for creating native mobile apps using JS (I freaking love JS
). However, I miss Visual Studio. TextMate is great. subtleGradient (Thomas Aylott) even created some TextMate+Titanium+intellisense lovin’. But I use Visual Studio every day. We have a [love, hate] history.
The only thing that held me back from using Visual Studio was the lack of intellisense for the Titanium API. Naturally, I procrastinated. Hoping someone would do work for me. It didn’t happen. So I broke down and actually did some *gasp* work.
With Visual Studio getting your JavaScript intellisense with comments is as easy as creating a vsdoc. So…that’s exactly what I generated. I’ll spare you the gory details.The vsdoc I generated is really just a simple doc generated from the API JSON doc.
It’s missing a few object properties that had invalid syntax. The comments could be expanded on as well. Right now if the function takes in an object there’s no info on what params the object should have. Another niggly detail is that Visual Studio will not show the comments on an object property. It works for what I’m doing with it right now. Which means I can actually start developing a mobile app now!
How to use the vsdoc
- Download the vsdoc
- Add the Titanium-vsdoc.js to your project
- In the [js] file you want to use Titanium add the following line to the first line of the file.
///<reference path=”~/path/to/Titanium-vsdoc.js”/> - Use it!


