2014-05-13 13:40 GMT+02:00 Max Rydahl Andersen <manderse(a)redhat.com>:
On 13 May 2014, at 13:25, Angelo zerr wrote:
2014-05-13 12:17 GMT+02:00 Max Rydahl Andersen <manderse(a)redhat.com>:
>
> On 13 May 2014, at 9:13, Angelo zerr wrote:
>>
>> Hi Max,
>>
>>>
>>> Thank's for your answer. But you wish to give up one day JSDT?
>>>
>>>
>> no, because JSDT offers more than any of these do and JSDT facets etc.
>> are
>> *required* for wtp projects.
>>
>> neither tern or vjet could work without JSDT.
>>
>> Fixing/replacing how parsing/valdiation is done in JSDT is the goal - not
>> about removing jsdt (which is more than just parsing/valdiation)
>>
>> Ok I understand. For your information, I have started validation (not
>>
> syntax validation) with tern :
>
https://github.com/angelozerr/tern.java/wiki/Tern-&-Validation
>
> which is based on JS tern plugin
>
https://github.com/angelozerr/tern.lintwhich works with editor like
> CodeMirror.
>
So if I run with this I will get double validation errors if validation
from JSDT aren't disabled, right?
Right. But tern.lint doesn't validate the same feature than JSDT :
* validate "Unkown property"
* validate "Unkown identtifier"
* will validate string value according JS framework (ex : var a =
require('XXX') will show an error for XXX which is not a known node module
Perhaps in the future, tern.lint will able to validate syntax error, but I
would like to manage severity for each validation rules ('warning', error,
ignore).
So you will able to disbale if you wish some error coming from tern.lint
(see
https://github.com/angelozerr/tern.lint/issues/4)
/max
> Regards Angelo
>
>
> /max
>>
>>
>> I hope tern.javaI will one day provide the same cool feature than VJET
>>
>>> like
>>>
https://wiki.eclipse.org/VJET/Code_Assistance_Features
>>>
>>>
>> Very impressive!
>>
>>>
>>> Regards Angelo
>>>
>>>
>>> 2014-05-12 18:34 GMT+02:00 Max Rydahl Andersen <manderse(a)redhat.com>:
>>>
>>> On 12 May 2014, at 18:26, Angelo zerr wrote:
>>>
>>>>
>>>> Hi JBoss guys,
>>>>
>>>>>
>>>>> I have noticed that you had integrated VJET last year. I have never
>>>>>
>>>>> played
>>>>
>>>> with VJET, but I have seen features screenshot of VJET (like object
>>>>> litteral validation) and it seems very powerful.
>>>>>
>>>>> My goal is to try to implement the same feature than VJET, but
I'm
>>>>> very
>>>>> curious why you decided to integrate and contribute to tern.java
>>>>> although
>>>>> you have VJET.
>>>>>
>>>>>
>>>> because vjet haven't moved anywhere and still relies on jsdt for its
>>>> parsing.
>>>>
>>>>
>>>> thats the short version.
>>>>
>>>>
>>>> /max
>>>>
http://about.me/maxandersen
>>>>
>>>>
>>>>
>> /max
>>
http://about.me/maxandersen
>>
>>
/max
http://about.me/maxandersen