<div dir="ltr">Hi,<div><br></div><div>For your information, I have created a getting started for AngularJS Eclipse at <a href="https://github.com/angelozerr/angularjs-eclipse/wiki/Getting-Started">https://github.com/angelozerr/angularjs-eclipse/wiki/Getting-Started</a> </div>
<div>which explains how to install and configure (node.js, angular syntax directive, tern console, etc)</div><div><br></div><div>Hope it will help you more to see features of AngularJS Eclipse.</div><div><br></div><div>Regards Angelo</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-28 18:05 GMT+01:00 Angelo zerr <span dir="ltr"><<a href="mailto:angelo.zerr@gmail.com" target="_blank">angelo.zerr@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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"><div class="">
<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><div>> 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><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" target="_blank">https://github.com/angelozerr/tern.java/wiki/Tern-Console</a></div><div class=""><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><div><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><div>Many thank's for your information. I will speak to Pascal about this idea.</div><div class=""><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><div>>> 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><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" target="_blank">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" target="_blank">https://github.com/angelozerr/tern.java/issues/6</a></div><div><div class="h5">
<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><div>
><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" target="_blank">vrubezhny@exadel.com</a>>:<br>
> /max<br>
><br>
</div></div><div><div>> _______________________________________________<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>
<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></div></div><br></div></div>
</blockquote></div><br></div>