<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I've updated the cordovajs plugin for
      Tern/Node.js:<br>
      <br>
      - all global vars from cordova.js and require.js (the Cordova's
      one) are listed in Content Assist<br>
      - status constants defined in cordova.js are listed in Content
      Assist<br>
      - some global object's vars that are defined in
      cordova.js/require.js are listed in Content Assist<br>
      <br>
      Guys (and especially Denis and Gorkem), I'd like you to review the
      plugin. <br>
      <br>
      It's in my branch on GitHub: <a moz-do-not-send="true"
        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 today's master)<br>
      <br>
      Have fun at EC,<br>
      Victor<br>
      <br>
      <br>
      On 03/13/2014 06:19 PM, Victor Rubezhny wrote:<br>
    </div>
    <blockquote cite="mid:5321BE71.7000507@exadel.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      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:part2.00090201.00060909@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
        moz-do-not-send="true" 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>