Hello All, this is nice thread.
NJDoc before was used mostly internally inside John Peberdy's company
and definitely needs more how-tos and examples.
It was included in Enide (http://www.nodeclipse.org/enide), but never
promoted.
NJDoc just as VJET requires some additional configuration, and some skill to
use.
The main idea is that NJDoc executes code to understand it.
VJET goes different way by defining some rules and (missing is JS) type system.
Statically adding type information is also possible with JSDoc3
(http://usejsdoc.org/tags-type.html).
As more logic shifts to client in browser, JavaScript importance grows. With
some technologies like Node.js
or JSON based databases (MongoDB, CouchDB) application can be written 100% in
JavaScript.
Now it is not just .js files, but modules in CommonJS, AMD
(http://requirejs.org/docs/why.html), dojo or other formats.
There are also CoffeeScript and TypeScript projects for better JavaScript.
I hope JSDT as part of Eclipse platform will enable extending JS tools in
different ways,
as may be required in different projects. The challenge is to make all those
ideas work together.
I will include in ENide Studio (Eclipse distribution http://enide.github.io/)
any experimental solution that make developer's life easier,
as long as it is stable enough.
Waiting for next NJDoc and VJET releases.
Best regards,
Paul Verest
On 30.08.2013 0:00, [email protected] wrote:
Message: 1
Date: Wed, 28 Aug 2013 14:59:48 -0400 (EDT)
From: Max Andersen <[email protected]>
To: "General discussion of project-wide or architectural issues."
<[email protected]>
Cc: "General discussion of project-wide or architectural issues."
<[email protected]>
Subject: Re: [wtp-dev] Is it possible to do JSDT type inference in
multiple JS files at once?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
I tried this but never got it to work unfortunately :/
/max (sent from my phone)
On 28/08/2013, at 16.53, John Peberdy <[email protected]> wrote:
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
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