Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Draft JSDT plan is now on Wiki

Hi,

currently it’s not possible to do many things in JSDT by design (JDT history). JSDT build thirth semi model (something between AST and language model) during it’s inference process. This model have a lot of limitations like:
1. Unable to change return type based on arguments
2. Unable to register method/field without AST
3. Unable to drop fields wrongly detected by default inferencer

So a lot of context based completions and semantic analysis aren’t possible without second index and additional (external) processing.

Via bug 466589 [1] I requested porting DLTK inference engine as fully pluggable, simple and fast alternative to current.

[1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=466589
-- 
Dawid Pakuła
+48 795 996 064

On 10 October 2015 at 23:12:37, Doug Schaefer (dschaefer@xxxxxxx) wrote:

Thanks Gorkem, that's what I suspected.

I guess the other side of that question, why couldn't we do the same as what tern does in JSDT? For QML we have been working on an ANTLR 4 grammars for _javascript_ and still need to make sure it's correct and then do the hard part, the semantic analysis. But it could be a path to success as well.

Sent from my BlackBerry 10 smartphone on the Rogers network.
Original Message
From: Gorkem Ercan
Sent: Saturday, October 10, 2015 12:06 PM
To: General discussion of project-wide or architectural issues.
Reply To: General discussion of project-wide or architectural issues.
Subject: Re: [wtp-dev] Draft JSDT plan is now on Wiki


On 9 Oct 2015, at 21:43, Doug Schaefer wrote:

> Quick question on the tern.java integration. If I¹m correct, it looks
> like
> it¹s optional depending on whether tern.java is installed on the
> user¹s
> system. What are the arguments against making a tighter integration if
> tern is so much better than JSDT could ever do.
>
It is legal. tern.java uses tern.js which uses node.js. Our current CQs
for node.js, and npm are
for prerequisite exempt only and it is not enough for tighter
integration.
Also tern.js and all its npm dependencies needs to go through legal
process.

Until eclipse makes its peace with node.js and npm, we will continue to
have restrictions on
utilizing tools that are based on node.js.

> I don¹t think I need to state this but we do want the best user
> experience
> possible so the user doesn¹t have to concern themselves about
> installing
> stuff they probably don¹t know about.
>
> Doug.
>
> On 2015-10-09, 11:37 AM, "wtp-dev-bounces@xxxxxxxxxxx on behalf of
> Gorkem
> Ercan" <wtp-dev-bounces@xxxxxxxxxxx on behalf of
> gorkem.ercan@xxxxxxxxx>
> wrote:
>
>>
>> I have moved the draft JSDT plan to wiki [1] and cleaned up the
>> bugzilla
>> references.
>> I think it is still missing a few bugzillas but feel free to
>> add/remove,
>> contribute.
>>
>> Once we are happy with it we can move it to eclipse project
>> management
>> portal.
>>
>> [1] https://wiki.eclipse.org/JSDT/JSDT_Neon_Plan
>> --
>> Gorkem
>> _______________________________________________
>> wtp-dev mailing list
>> wtp-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or
>> unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/wtp-dev
>
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Back to the top