<div dir="ltr">Hi JBoss guys,<div><br></div><div>I&#39;m the creator of AngularJS Eclipse and <span style="font-size:13px;font-family:arial,sans-serif">Mickael </span><span style="font-size:13px;font-family:arial,sans-serif;white-space:nowrap">Istria suggested me to contact you. </span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif;white-space:nowrap"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif;white-space:nowrap">I have seen that you have spoken about AngluarJS Eclipse at </span><a href="http://lists.jboss.org/pipermail/jbosstools-dev/2013-December/008450.html" target="_blank" style="font-size:13px;font-family:arial,sans-serif">http://lists.jboss.org/pipermail/jbosstools-dev/2013-December/008450.html</a></div>
<div><br></div><div>At first, I would like to apologize because Max pinged me on tweeter and I have not seen that-( Sorry!</div><div><br></div><div>I would like to answer about some comments : </div><div><br></div><div><div>
&gt;It provides ng-* completion which we do too. And IMO ours is better <br></div><div>&gt;since we provide context-dependent code completion.</div><div>&gt;For example we suggest count/when/... attributes only for ng-pluralize </div>
<div>&gt;directives (&lt;ANY ng-pluralize&gt; or &lt;ng-pluralize&gt;)</div><div>&gt;Or ng-maxlength only for input directives. Or we don&#39;t suggest ng-app if </div><div>&gt;it&#39;s already defined in any parent tag. Etc. So we analyze the context </div>
<div>&gt;when calculating what can be suggested in the particular place.</div><div><br></div><div>Except for &quot;ng-app if  it&#39;s already defined in any parent tag&quot;, AngularJS Eclipse manages that : </div><div>See screenshots at <a href="https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Directives">https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Directives</a></div>
<div><br></div><div>More it works too with custom directive : see screenshots at <a href="https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Directives#wiki-custom-directive">https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Directives#wiki-custom-directive</a></div>
<div><br></div><div>&gt;It does not provide code completion for {{}} expressions which we plan to do in JBT 4.2.</div><div>Today it supports it. See screenshots at <a href="https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Features#wiki-angular-expression-management">https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Features#wiki-angular-expression-management</a></div>
<div><br></div><div>&gt;The upstream project </div><div>&gt;<a href="https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE">https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE</a> is </div><div>&gt;supposed to provide some angular specific code completion in *.js files </div>
<div>&gt;but I couldn&#39;t manage to make it work.</div></div><div>It seems that it&#39;s a problem with node.js Please <a href="https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE-Node.js">read https://github.com/angelozerr/tern.java/wiki/Tern-Eclipse-IDE-Node.js</a> </div>
<div><br></div><div>Completion is done for angular model (angular.module, etc) but too with the injection of controller scope and directive (should be improved again). See screenshots <a href="https://github.com/angelozerr/angularjs-eclipse/wiki/Javascript-Features">at https://github.com/angelozerr/angularjs-eclipse/wiki/Javascript-Features</a></div>
<div><br></div><div>AngularJS Eclipse extends the WTP HTML Editor (I don&#39;t have created a new HTML editor). </div><div><br></div><div>I would like tell you about pros and cons for using tern : </div><div><br></div><div>
<div style="font-family:arial,sans-serif;font-size:13px">The cons for using tern  :</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> * needs node.js</div>
<div style="font-family:arial,sans-serif;font-size:13px"> * written in Javascript, so it&#39;s difficult to debug it with Eclipse. But tern works in the browser, so I use Chrome to develop the angular plugin.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">The pros for using tern  : </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
 * very powerful. It manages complex case. See demo at <a href="http://ternjs.net/doc/demo.html" target="_blank">http://ternjs.net/doc/demo.html</a></div><div style="font-family:arial,sans-serif;font-size:13px"> * tern provides plugin/defintions for ecma5, jquery, node, angular.</div>
<div style="font-family:arial,sans-serif;font-size:13px"> * tern is very extensible, so you can create your own tern definition/plugin like I have done with AngularJS. I use tern in HTML Editor (see <a href="https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Features" target="_blank">https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Features</a>) and Javascript Editor (<a href="https://github.com/angelozerr/angularjs-eclipse/wiki/Javascript-Features" target="_blank">https://github.com/angelozerr/angularjs-eclipse/wiki/Javascript-Features</a>).</div>
<div style="font-family:arial,sans-serif;font-size:13px"> * tern can be executed in a browser. This feature can be very interesting in some case. For instance I&#39;m developping a tern plugin to manage AlloYUi a javascript framework used by Liferay (see online demo with CodeMirror at <a href="http://codemirror-java.opensagres.eu.cloudbees.net/codemirror-javascript/demo/alloyui.htm" target="_blank">http://codemirror-java.opensagres.eu.cloudbees.net/codemirror-javascript/demo/alloyui.htm</a>l). My idea is that you could use this AlloYUi plugin inside Eclipse IDE and inside the Liferay Portal.</div>
<div style="font-family:arial,sans-serif;font-size:13px"> * as tern is written in Javascript, the community is very big.</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Hope my information will be useful for you.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards Angelo</div></div>