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

tern-phaser provides the phaser tern plugin which gives you a support for Phaser.

After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the Phaser tern plugin (Browser tern plugin must be selected too) :

Check Phaser Plugin

Completion

After that you can benefit with Phaser completion :

Phaser Object Literal Completion

Object literal completion for options is available too :

Phaser Completion

Hover

Phaser Object Literal Hover

Validation

Validation is available if you enable the (Semantic) Lint linter) :

Phaser Object Literal Validation

Web Browser

You can play with online demo which uses CodeMirror (inside Web Browser).