tern-phaser is a plugin which adds support for Phaser to the JavaScript code intelligence system Tern.
For those unaware, tern offers code completion and code insight for pure JavaScript libraries.
There is an online demo which uses CodeMirror and a package download.