Tern & DojoToolkit support - angelozerr/tern.java GitHub Wiki

tern.dojotoolkit provides the dojotoolkit_*.js Tern plugin which gives a support for Dojo Toolkit.

After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the Dojo Toolkit tern plugin and the version :

Check Dojo Toolkit Plugin

After that you can benefit with Dojo Toolkit completion :

Dojo Toolkit Completion

Completion works for dojo method :

Dojo Toolkit ById Completion

If you have checked 'browser' tern plugin, you will benefit with Node methods :

Dojo Toolkit ById Completion and Node

Tern is enable to inject Event instance in your function :

Dojo Toolkit ById Completion and EventListener