[jbosstools-dev] Updating Tern.java & AngularJS Eclipse IDE?
Max Rydahl Andersen
manderse at redhat.com
Wed Dec 3 05:28:51 EST 2014
Hey Angelo,
Thanks for the info and yes it does look like great changes, but
we are trying to avoid last minute breakages in our 4.2.1 update
and last time we updated Tern it broke more than fixed for us
thus we are being a bit conservative here.
I hope we can get this into our upcoming update of 4.2.2 in the new year.
/max
> Hi Guys,
>
> At first you can see new feature of Tern 0.7.0 at
> https://github.com/angelozerr/tern.java/wiki/New-and-Noteworthy-0.7.0
>
> There were too big refactoring since MyEclipse PR to improve tern file
> synchronization.
>
> 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. 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
>
> There is a problem too when JS file is removed (tern server keep this file
> in memory, although it is removed) See
> https://github.com/angelozerr/tern.java/issues/157
>
> In other words:
>
> * tern.java must improve again tern file synchronization.
> * don't parse the whole JS files of your project if your project has a lot
> of JS files. To fix this problem :
> => JSDT Install Path -> Tern script path should be improved
> => tern file synchronization should be done in background
> => tern is able to support condense of JS files, but it is not very
> stable. I think in the future, it should be very cool if we can condense
> for the first time, JS files, store it in file system (do the JS files
> analyze just the first time)
>
> In 0.8.0, I have the intention to support completion, validation,
> hyperlink, hover inside string. See my work for tabris
> https://github.com/eclipsesource/tabris-js/issues/180#issuecomment-65137514
> and node.js require https://github.com/marijnh/tern/pull/430
>
> I will try too to develop a tern builder for tern-lint. See
> https://github.com/angelozerr/tern.java/issues/174
>
> Don't hesitate to create issues or PR to improve tern.java, thank's for
> your help!
>
> Regard's Angelo
>
> 2014-12-03 8:52 GMT+01:00 Max Rydahl Andersen <manderse at redhat.com>:
>
>> Sounds reasonable. +1.
>>
>> /max
>> http://about.me/maxandersen
>>
>>
>>> On 02 Dec 2014, at 23:48, Alexey Kazakov <akazakov at exadel.com> wrote:
>>>
>>> Hi,
>>>
>>> Today on Mobile/HTML5 team meeting we discussed possible updating
>>> Tern.java and AngularJS Eclipse IDE in Target Platform and central for
>>> JBT 4.2.1
>>> Victor spent a few days testing the latest "stable" Terns/Angular builds
>>> 0.7.0 (we are using 0.6.0 right now). He didn't find any new issues
>>> there. So the new builds look OK to him.
>>>
>>> However, we decided not to update Tern/Angular for JBT 4.2.1 because:
>>> 1. We don't have (well, we are not aware of ;) any critical issue in
>>> current JBT/Tern/Angular which requires such update.
>>> 2. We would have only one week or so for testing JBT 4.2.1.CR1(respin-a)
>>> and we believe that Tern/Angular is still not stable enough to make sure
>>> we won't get any critical/blocker issue with new builds.
>>> 3. We also would have to update Angular in EA Central (not only Tern in
>>> TP) for JBT and JBDS which increases risks just ~ 10 days before the
>>> final JBT/JBDS release. We had such issues before when updated
>>> Tern/Angular for JBT 4.2.0.
>>>
>>> So let's do not update Tern/Angular in 4.2.1 but do it for 4.2.2 and 4.3.
>>>
>>> Max, anybody, any objections?
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>
/max
http://about.me/maxandersen
More information about the jbosstools-dev
mailing list