[jbosstools-dev] Updating Tern.java & AngularJS Eclipse IDE?

Angelo zerr angelo.zerr at gmail.com
Wed Dec 3 06:40:07 EST 2014


> * in 0.6.0, the JSDT Install Path -> Tern script path was not very
> managed. Problems comes from with lib configuration. In this case, project
> folder is used.

> Not following what you mean here ? Got example of how to reproduce ?

If you screenshot of
https://cloud.githubusercontent.com/assets/1614482/4785634/de9e3852-5d82-11e4-876c-baf206c4ffff.PNG

You can see tern script path which is computed from JSDT (you see (jsdt)
ate the end of each entries).

In this sample you have twice projects folder (it's wrong, because JSDT
Install path defines this 2 entries with excluding), and try to parse
node_modules as file. It's wrong, because node_modules is a lib (and not a
file).
In this case, you think that tern will post JS files to tern server, but it
does nothing :

 * project tern script is never used to post JS files
 * node_modules is a folder and not a file.

> I looked at this and it does not say what is the thing to improve ?

Yes I know -( I have created this issue quicly to remember me that I must
do it. I will try to fill it once I will understand more how JSDT manages
JSDT Install Path (with excluding, etc)

If some JBoss guys which knows JSDT could help me with this topic (like
Victor), it should be very cool, thank's!

I think 0.8.0 should improve a lot tern file synchronization (JSDT Tern
script path, manage remove of JS file, do synchronization on background
when project is opened, do the capability to stop the parse of JS files
with a button to avoid freezing).



2014-12-03 11:33 GMT+01:00 Max Rydahl Andersen <manderse at redhat.com>:

>
>
> > Today the big problem with tern.java is when you have a lot of JS files
> in
> > your project (with bower tool you can have a lot of JS files).
> >
> > If you configure correctly your tern script path
> > https://github.com/angelozerr/tern.java/wiki/Tern-Script-Path you can
> set
> > the folder which contains JS you need to parse with tern.
> >
> > BUT since 0.6.0, tern script path is configured by using JSDT Install
> Path,
> > and it can be a problem, because :
> >
> > * in 0.6.0, the JSDT Install Path -> Tern script path was not very
> > managed. Problems comes from with lib configuration. In this case,
> project
> > folder is used.
>
> Not following what you mean here ? Got example of how to reproduce ?
>
> > I have fixed that in 0.7.0
> > * JSDT Install Path -> Tern script path must be improved again like
> > managing exclude script path
> > https://github.com/angelozerr/tern.java/issues/168
>
> I looked at this and it does not say what is the thing to improve ?
>
> /max
> http://about.me/maxandersen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20141203/639b7116/attachment.html 


More information about the jbosstools-dev mailing list