<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">> I updated the plugin and I can see the node and npm binaries are not<br>
> executable<br>
> so I get an error like:<br>
><br>
> Cannot run program<br>
> "/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"<br>
> (in directory "/Users/max/Documents/workspace-luna3/dfdf"): error=13,<br>
> Permission denied<br>
><br>
> When I chmod +X those files it seem to start working.<br>
</div></div>I wasn't required to change "executable" 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 "node" and "executable" binaries in repository?<br></blockquote><div><br></div><div>It'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 "Native Node.js".</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>
>> Perhaps it should better to have an install URL per OS?<br>
> noo - not necessary. You can mark a bundle to just apply to a specific<br>
> OS via Eclipse-PlatformFilter<br>
><br>
> See<br>
> <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>
> as an example.<br>
><br>
> I would suggest making the feature default require these plugins so any<br>
> install by default would work.<br></div></div></blockquote><div><br></div><div>Many thank'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">>> Today Eclipse freezes, but I must do that in background.<br>
> 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> * "Parse JS file of tern doc with monitor" => <a href="https://github.com/angelozerr/tern.java/issues/5">https://github.com/angelozerr/tern.java/issues/5</a></div>
<div> * "Improve performance with JS Editor and tern completion" => <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">
><br>
>>> Can we avoid it have to parse<br>
>>> constantly ?<br>
>>> can one just tell it to parse one file as oppose to all files all the<br>
>>> time<br>
>> ?<br>
>> When you open completion, it parses one time the whole files and after<br>
>> it<br>
>> parses the current file.<br>
>> I must improve the completion performance by using the "part" feature<br>
>> of<br>
>> tern (not need to parse each time the whole file).<br>
>> Today I use Tern for completion, find type in HTML editor. But Tern is<br>
>> enable to manage search and refactoring.<br>
>>> Have you found the bundled binaries to work across various OS's ?<br>
>> No I have just Windows and my friend pascal has Linux.<br>
>><br>
>> Have a nice days.<br>
>><br>
>> Regards Angelo<br>
>><br>
>> 2014-02-26 21:36 GMT+01:00 Victor Rubezhny <<a href="mailto:vrubezhny@exadel.com">vrubezhny@exadel.com</a>>:<br>
> /max<br>
><br>
</div></div><div class=""><div class="h5">> _______________________________________________<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>
<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>