Tern & RequireJS support - angelozerr/tern.java GitHub Wiki
tern.js provides the requirejs tern plugin which gives a support for RequireJS.
After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the requirejs tern plugin :
After that you can benefit with require.js completion for require object as well as on other variables and methods provided by RequireJS:
You have completion too for object literal properties :
When you apply completion, it generates a property key/value :