<div dir="ltr">Hi,<br><div class="gmail_extra"><br></div><div class="gmail_extra">At first I have commited an improvment about Node.js preferences. Now you can set the node.js path. See attached screenshot.</div><div class="gmail_extra">
The combo is filled with default path according the OS. If your node is not installed in the default path, it searchs in your PATH env if you have a node path to retrieve the well path.</div><div class="gmail_extra"><br><div class="gmail_quote">
<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 class=""><div class="h5">&gt; I updated the plugin and I can see the node and npm binaries are not<br>

&gt; executable<br>
&gt; so I get an error like:<br>
&gt;<br>
&gt; Cannot run program<br>
&gt; &quot;/Users/max/products/eclipse/luna/eclipse/plugins/tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64_1.0.0.201402271715/nodejs/node-v0.10.22-macosx-x86_64/bin/node&quot;<br>
&gt; (in directory &quot;/Users/max/Documents/workspace-luna3/dfdf&quot;): error=13,<br>
&gt; Permission denied<br>
&gt;<br>
&gt; When I chmod +X those files it seem to start working.<br>
</div></div>I wasn&#39;t required to change &quot;executable&quot; attribute on my Fedora 20<br>
x86_64. What kind of problem it could be: the problem of OSX or wrong<br>
executable attribute for &quot;node&quot; and &quot;executable&quot; binaries in repository?<br></blockquote><div><br></div><div>It&#39;s my friend Pascal who has created this embed node.js, I will answer you but now he is on holiday.</div>
<div>But with my improvement, you can try to install node.js in your computer and use &quot;Native Node.js&quot;.</div><div><br></div><div>If you want to see the command line of node.js + teh JSON request/response used with tern server, you can see those traces in Eclipse Console.</div>
<div>See <a href="https://github.com/angelozerr/tern.java/wiki/Tern-Console">https://github.com/angelozerr/tern.java/wiki/Tern-Console</a></div><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 class=""><div class="h5"><br>
&gt;&gt; Perhaps it should better to have an install URL per OS?<br>
&gt; noo - not necessary. You can mark a bundle to just apply to a specific<br>
&gt; OS via Eclipse-PlatformFilter<br>
&gt;<br>
&gt; See<br>
&gt; <a href="https://github.com/jbosstools/jbosstools-xulrunner/blob/master/plugins/org.mozilla.xulrunner.gtk.linux.x86/META-INF/MANIFEST.MF#L9" target="_blank">https://github.com/jbosstools/jbosstools-xulrunner/blob/master/plugins/org.mozilla.xulrunner.gtk.linux.x86/META-INF/MANIFEST.MF#L9</a><br>

&gt; as an example.<br>
&gt;<br>
&gt; I would suggest making the feature default require these plugins so any<br>
&gt; install by default would work.<br></div></div></blockquote><div><br></div><div>Many thank&#39;s for your information. I will speak to Pascal about this idea.</div><div><br></div><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 class=""><div class="h5">&gt;&gt; Today Eclipse freezes, but I must do that in background.<br>
&gt; Is there an issue for this somewhere ?<br></div></div></blockquote><div><br></div><div>There is 2 issues about tern performance : </div><div><br></div><div> * &quot;Parse JS file of tern doc with monitor&quot; =&gt; <a href="https://github.com/angelozerr/tern.java/issues/5">https://github.com/angelozerr/tern.java/issues/5</a></div>
<div> * &quot;Improve performance with JS Editor and tern completion&quot; =&gt; <a href="https://github.com/angelozerr/tern.java/issues/6">https://github.com/angelozerr/tern.java/issues/6</a></div><div> </div><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 class=""><div class="h5">
&gt;<br>
&gt;&gt;&gt; Can we avoid it have to parse<br>
&gt;&gt;&gt; constantly ?<br>
&gt;&gt;&gt; can one just tell it to parse one file as oppose to all files all the<br>
&gt;&gt;&gt; time<br>
&gt;&gt; ?<br>
&gt;&gt; When you open completion, it parses one time the whole files and after<br>
&gt;&gt; it<br>
&gt;&gt; parses the current file.<br>
&gt;&gt; I must improve the completion performance by using the &quot;part&quot; feature<br>
&gt;&gt; of<br>
&gt;&gt; tern (not need to parse each time the whole file).<br>
&gt;&gt; Today I use Tern for completion, find type in HTML editor. But Tern is<br>
&gt;&gt; enable to manage search and refactoring.<br>
&gt;&gt;&gt; Have you found the bundled binaries to work across various OS&#39;s ?<br>
&gt;&gt; No I have just Windows and my friend pascal has Linux.<br>
&gt;&gt;<br>
&gt;&gt; Have a nice days.<br>
&gt;&gt;<br>
&gt;&gt; Regards Angelo<br>
&gt;&gt;<br>
&gt;&gt; 2014-02-26 21:36 GMT+01:00 Victor Rubezhny &lt;<a href="mailto:vrubezhny@exadel.com">vrubezhny@exadel.com</a>&gt;:<br>
&gt; /max<br>
&gt;<br>
</div></div><div class=""><div class="h5">&gt; _______________________________________________<br>
&gt; jbosstools-dev mailing list<br>
&gt; <a href="mailto:jbosstools-dev@lists.jboss.org">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">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>