Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Is it possible to do JSDT type inference in multiple JS files at once?

This is all nice but it just doesn't seem to be necessary for most javascript apps.
Why not by default assume all *.js files are in "scope" with then option to make that ordering specifc - but at least most things will work out of the box.

I believe that is how aptana and intellij code editors work.

/max

On Mon, Aug 26, 2013 at 10:55:31AM -0700, Justin Early wrote:
In the vjet javascript IDE we provide a way to need other js files using a comment. [1]

[1]http://wiki.eclipse.org/VJET/JS_code_assist_and_validation_for_two_or_more_js_files

Sent from my iPhone

On Aug 26, 2013, at 6:44 AM, Christopher Jaun <cmjaun@xxxxxxxxxx> wrote:

The inference engines in JSDT run on a per-file basis, so it is not possible to infer two files within the same context at the same time or pass information directly between them during the infer step.

Thanks,
Chris



<graycol.gif>cinyoung hur ---08/26/2013 08:45:18 AM---Hello, I extended org.eclipse.wst.jsdt.core.inferrenceSupport.

From:	cinyoung hur <hurcy3@xxxxxxxxx>
To:	wtp-dev@xxxxxxxxxxx,
Date:	08/26/2013 08:45 AM
Subject:	[wtp-dev] Is it possible to do JSDT type inference in multiple JS	files at once?
Sent by:	wtp-dev-bounces@xxxxxxxxxxx



Hello,

I extended org.eclipse.wst.jsdt.core.inferrenceSupport.

I'm trying to figure out JSDT type inference in multiple JavaScript files.
It works only after I open JavaScript files one by one.
I couldn't infer types of other files that has not been opened yet.

Please give me helpful advice.
Thanks.

Regards,
Ciana Hur.

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top