Tern & Google Maps support - angelozerr/tern.java GitHub Wiki

tern.googleapi provides the gmaps tern plugin which gives you a support for Google Maps JavaScript API.

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

Select ExtJS Plugin

After that you can benefit with Google Maps completion :

Google Maps Completion

Completion works for Google Maps method :

Google Maps Completion On Map

This Google Maps tern plugin can be used inside WebBrowser. You can see demo here.

Object literal

Completion for object literal :

GMaps Object literal completion

Validation for object literal (which is available if you enable the (Semantic) Lint linter) :

GMaps Object literal validation

Web Browser

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