<div dir="ltr">Hi Max, Alexey , Victor,<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Today it supports it. See screenshots at<br><a href="https://github.com/angelozerr/angularjs-eclipse/wiki/HTML-Features#wiki-angular-expression-management" target="_blank">https://github.com/angelozerr/<u></u>angularjs-eclipse/wiki/HTML-<u></u>Features#wiki-angular-<u></u>expression-management</a><br>

</blockquote><br></div><span style="font-family:arial,sans-serif;font-size:13px">&gt;and it does that without *running* the project javascript ? that is pure tern parsed ?</span><br style="font-family:arial,sans-serif;font-size:13px">

<br>Yes that&quot;s it. But I think I don&#39;t manage the whole case. The angular tern plugin must be improved.</div><div><br><span style="font-family:arial,sans-serif;font-size:13px">&gt;if yes - that is nice!</span></div>

<div><br></div><div>Thank&#39;s!<br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">&gt;I thought there were things in angularjs context that would not be possible to extract from javascript?</span></div>

<div><br></div><div>With Tern plugin you can add you own logic when some methods is called. In angular plugin case, it forces the $scope parameter used in the controller </div><div>to an instance of scope by injecting teh well methods $watch, etc<br>

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">&gt;Saying this in context of our experiment where we actually ask the browser what is in the angular scope</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;at runtime....but maybe these two approaches could simply be merged and we get best of both worlds?</span></div><div>Yes I have seen that with your demo with Livereload. </div>

<div><br></div><div>The pros with this mean is that you get the well methods.</div><div>The cons with this mean is it doesn&#39;t work if your JS is not valid. I have not managed that, but I would like to manage Hyperlink <br>

</div><div>for expression (ex : Ctrl+Click on &quot;{{todo&quot;  open the todo.js an select $scope.todo). With Tern I can do that (because it&#39;s an AST)</div><div>I think you cannot do that with LiveReload?</div><div>

<br></div><div><span style="font-family:arial,sans-serif;font-size:13px">&gt;I tried installing OSX osgi bundle provided node.js and it seems to NPE for me ;/</span><br style="font-family:arial,sans-serif;font-size:13px">

Yes it was a stupid error and Victor created an issue that I have fixed.</div><div><br><span style="font-family:arial,sans-serif;font-size:13px">&gt;I thought I actually saw this working but that might have been earlier version.</span><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">&gt;I think the default should be that out of box Tern/angularjs integration should use the bundled one and</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;then advanced users can decide use native one...optimally default users should not have to care about</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;it is using node.</span></div><div>I agree with you. I must improve that, but I develop this plugin in my spare time and I was very exciting to see tern integrated in Eclipse IDE.</div>

<div>So I have not worked a lot about the node.js topic.</div><div><br></div><div>We provide &quot;embed&quot; node.js that you must select when you install Tern IDE. Perhaps it should better to have an install URL per OS?</div>

<div><br></div><div>As Alexey , Victor suggested me, node.js must be more customizable. I had created this issue at <a href="https://github.com/angelozerr/tern.java/issues/4" target="_blank">https://github.com/angelozerr/tern.java/issues/4</a></div>

<div><br></div><div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">&gt;It just needs some enduser polish (i.e. users should not need to care about different html editors,</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;different node.js runtimes, it should &quot;just work&quot;).</span></div><div class="gmail_extra"><font face="arial, sans-serif">definitely!</font></div><div class="gmail_extra">

<font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">&gt;One concern we had was performance and portability.</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;Does Tern handle larger projects of javascript well ? </span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">By using node.js, tern can handle big file. But if you try to parse a big framework like dojo it takes time.</span></div>
<div class="gmail_extra"><font face="arial, sans-serif">Today Eclipse freezes, but I must do that in background.</font></div>
<div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">&gt;Can we avoid it have to parse</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;constantly ? </span></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">&gt;can one just tell it to parse one file as oppose to all files all the time ?</span></div>
<div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">When you open completion, it parses one time the whole files and after it parses the current file.</span></div><div class="gmail_extra">I must improve the completion performance by using the &quot;part&quot; feature of tern (not need to parse each time the whole file).</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Today I use Tern for completion, find type in HTML editor. But Tern is enable to manage search and refactoring.<br><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;Have you found the bundled binaries to work across various OS&#39;s ?</span></div><div class="gmail_extra"><font face="arial, sans-serif">No I have just Windows and my friend pascal has Linux.</font></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">Have a nice days.</font></div><div class="gmail_extra"><font face="arial, sans-serif"><br></font></div>
<div class="gmail_extra"><font face="arial, sans-serif">Regards Angelo<br>
</font><br><div class="gmail_quote">2014-02-26 21:36 GMT+01:00 Victor Rubezhny <span dir="ltr">&lt;<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On 02/26/2014 11:59 PM, Alexey Kazakov wrote:<br>
&gt; Hi Angelo!<br>
&gt;<br>
&gt; I actually tried some old AngularJS Eclipse plugins available in<br>
&gt; December. Latter I tried the new one and saw a lot of cool stuff like<br>
&gt; {{}} support. It&#39;s very nice.<br>
&gt;<br>
&gt;&gt; AngularJS Eclipse extends the WTP HTML Editor (I don&#39;t have created a<br>
&gt;&gt; new HTML editor).<br>
&gt; There is AngularJS Editor which extends WTP HTML Editor. And I have to<br>
&gt; use this editor if I want to have full support of AngularJS stuff like<br>
&gt; {{}} code completion or code highlighting. Has it been changed?<br>
&gt;<br>
&gt; On 02/26/2014 08:05 AM, Max Rydahl Andersen wrote:<br>
&gt;&gt; I tried installing OSX osgi bundle provided node.js and it seems to NPE<br>
&gt;&gt; for me ;/<br>
&gt; We didn&#39;t try the OSX version but there was a bug in the Linux one.<br>
&gt; Victor Rebezhny created a PR to fix it and Angelo has already merged it<br>
&gt; - <a href="https://github.com/angelozerr/tern.java/pull/14" target="_blank">https://github.com/angelozerr/tern.java/pull/14</a><br>
&gt; There is one more issue with node.js on Linux actually. It&#39;s impossible<br>
&gt; to use a local installation of node.js since the command &quot;node&quot; is<br>
&gt; already used at least in some popular distributives like Ubuntu. So if<br>
&gt; you chose to use a local node.js instead of the bundled one then<br>
&gt; &quot;nodejs&quot; command should be used instead of &quot;node&quot;.<br>
<br>
</div>It looks like the issue is a common thing for linuxes. And may be not<br>
only for linuxes.<br>
In ubuntu you cannot use &quot;node&quot; (because it&#39;s reserved for other util,<br>
not node.js)<br>
in fedora the node.js is not installed to /usr/local/bin/ directory. So,<br>
due to make it work I had to manually create a link to &quot;node&quot; in<br>
/usr/local/bin/ directory.<br>
IMHO, there should be a possibility for a user to point Tern.java to<br>
node.js executable in preferences instead of having some hardly<br>
predefined path, because the path and the name of node.js executable<br>
could be different for different OS distributions.<br>
<div><div>&gt;<br>
&gt; _______________________________________________<br>
&gt; jbosstools-dev mailing list<br>
&gt; <a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
<br>
_______________________________________________<br>
jbosstools-dev mailing list<br>
<a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
</div></div></blockquote></div><br></div></div></div>