<div dir="ltr">Hi JBoss guys,<div><br></div><div>I'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>
>It provides ng-* completion which we do too. And IMO ours is better <br></div><div>>since we provide context-dependent code completion.</div><div>>For example we suggest count/when/... attributes only for ng-pluralize </div>
<div>>directives (<ANY ng-pluralize> or <ng-pluralize>)</div><div>>Or ng-maxlength only for input directives. Or we don't suggest ng-app if </div><div>>it's already defined in any parent tag. Etc. So we analyze the context </div>
<div>>when calculating what can be suggested in the particular place.</div><div><br></div><div>Except for "ng-app if it's already defined in any parent tag", 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>>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>>The upstream project </div><div>><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>>supposed to provide some angular specific code completion in *.js files </div>
<div>>but I couldn't manage to make it work.</div></div><div>It seems that it'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'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'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'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>