<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, guys!<br>
<br>
While playing with Tern I was able to make a very simple plugin that
allows to show 'cordova' object and some of its members in Content
Assist.<br>
<br>
<img alt="" src="cid:part1.00060702.06060606@exadel.com"
height="585" width="1102"><br>
<br>
This is a very first and simple script that shows 'cordova' object
and its members in content assistant without requiring to have any
kind of cordova.js included to a project.<br>
But it requires:<br>
- to have Tern.java (updated with cordovajs.js plugin)<br>
- to have Tern nature enabled on your project<br>
- to have cordovajs plug-in enabled in project's Turn preferences.<br>
<br>
You can look at the code changes in my branch on GitHub:
<a class="moz-txt-link-freetext" href="https://github.com/vrubezhny/tern.java/tree/cordovajs">https://github.com/vrubezhny/tern.java/tree/cordovajs</a> (currently
it's rebased over agelozerr's master)<br>
There are no any special inference done due to get some
objects/values from the modules that are loaded by require/define
functionality. <br>
This probably will require more sophisticated coding to be done.<br>
<br>
/Victor<br>
<br>
</body>
</html>