Dash

The Titanium API docs have improved a lot over the last couple of years and something I use almost on a daily basis. Even more since I don’t read them at docs.appcelerator.com anymore, but use Dash to read them offline.

Dash

Dash is an amazing piece of software that allows you to download the latest documentation of over 130+ API’s to read and search them offline. Appcelerator Titanium is one of the available docsets, but also Backbone, Underscore, JavaScript, NodeJS and others will prove useful if you develop for Titanium. You can even add your own custom dockets and save snippets that you can then insert in any editor!

Dash screenshot

Dash is available through the Mac App Store for $19.99 and worth every penny.

Integration

You can integrate Dash in Sublime Text using the DashDoc plugin. This allows you to lookup the documentation for the API under your cursor or for the selected text. You can install the plugin using Sublime Package Control.

Update: My PR to map Titanium and Alloy file types to the Titanium docset has been merged, so the following is no longer relevant.

You’ll need to manually map JS, TSS and XML files to the Titanium docset by adding the following under Sublime Text > Preferences > Package Settings > DashDoc > Settings – User:

{
    "syntax_docset_map": {
        "JMK": ["javascript", "lodash", "underscore", "nodejs", "titanium"],
        "JavaScript": ["javascript", "jquery", "jqueryui", "jquerym", "backbone", "marionette", "meteor", "sproutcore", "moo", "prototype", "bootstrap", "foundation", "lodash", "underscore", "ember", "sencha", "extjs", "knockout", "zepto", "yui", "d3", "svg", "dojo", "coffee", "nodejs", "express", "chai", "html", "css", "cordova", "phonegap", "unity3d", "titanium"],
        "XML": ["xml","titanium"],
        "TSS": ["titanium"]
    }
}

App imagineer: Imagining, Engineering & Speaking about Native mobile Apps with Appcelerator Titanium & Alloy • Meetup organizer • Certified Expert • Titan


Comments