The NJSDoc (unofficial and experimental) variation of JSDT is also available which supports content assist across multiple files by doing dynamic analysis on your JavaScript: https://bitbucket.org/nexj/webtools.jsdt.core
On Wed, Aug 28, 2013 at 2:08 AM, Max Rydahl Andersen <[email protected]>wrote: > 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<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 <[email protected]> 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 <[email protected]> >>> To: [email protected], >>> 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: [email protected] >>> >>> >>> >>> 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 >>> [email protected] >>> https://dev.eclipse.org/**mailman/listinfo/wtp-dev<https://dev.eclipse.org/mailman/listinfo/wtp-dev> >>> >>> ______________________________**_________________ >>> wtp-dev mailing list >>> [email protected] >>> https://dev.eclipse.org/**mailman/listinfo/wtp-dev<https://dev.eclipse.org/mailman/listinfo/wtp-dev> >>> >> > ______________________________**_________________ >> wtp-dev mailing list >> [email protected] >> https://dev.eclipse.org/**mailman/listinfo/wtp-dev<https://dev.eclipse.org/mailman/listinfo/wtp-dev> >> > > ______________________________**_________________ > wtp-dev mailing list > [email protected] > https://dev.eclipse.org/**mailman/listinfo/wtp-dev > > -- > John Peberdy >
_______________________________________________ wtp-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/wtp-dev
