Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Remove default JSDT in Luna or Fix it?(JavaScript Development Tools open issues)
Remove default JSDT in Luna or Fix it? [message #1130802] Wed, 09 October 2013 23:55 Go to next message
Denis Golovin is currently offline Denis GolovinFriend
Messages: 18
Registered: July 2009
Junior Member
Subject: Remove default JSDT in Luna or Fix it?

Hello,

It's been a while since JSDT were added to Web Tools platform and problems introduced by it was not really affecting WTP based tools so much until recent time, when we (JBoss Tools) started paying attention to several most annoying problems related to JSDT. We have a good progress so far with reaching JSDT team and fixing most visible issues affecting user experience (see [3] for an example list of fixed issues), but there still are critical issues in different areas that should be fixed to improve user experience.

There are still many problems in JSDT parser (see [2]) and they are not visible or partially visible because of 417465 - [JSDT] JavaScript Validation reports max 100 problems per compilation unit. There is no way to increase this value through user interface but it is very easy to replicate parser problems for jQuery js files by marking all js validation problems as ignored in preferences. Then JSDT starts reporting errors on many minified js files from different frameworks. This issue is opened 3 weeks ago and still has no any reaction.

It would be acceptable if JSDT facet not enabled by default, but current implementation install this facet by default even it is not marked for installation in custom configuration set.

We believe with the current state JSDT doesn't add any value to Web Tools and at least should not be enabled by default in upcoming releases if nothing changes. In most cases it reports problems in js for completely sane web projects and users have to disable features like validation through local project preferences.

Considering all mentioned above JSDT future is really interesting for 3rd party Tools based on WTP (JBoss Tools in my case), because of Java Script in all variations is very popular and used in many example/real projects we have.

What are the future development plan for Luna ?

There are old feature requests (see [1]) related to support latest versions of ECMAScript and HTML5 but they are not targeted to any version now. Back in 2011 I saw some new features were planned according to presentation on J1, but I don't see any of them mentioned in New and Noteworthy and current project plan published here is empty:

"Everything

The following are plan items including those not yet categorized into a theme.
Committed

    No items.

Proposed

    No items.

Deferred

    No items.
"
Since our project based on WTP we would really want to be more involved into development and willing to help Smile

Thanks

[1] - New feature requests

223131 - [language support] Add ecmascript5 /JavaScript 2 compiler compliance level
323211 - [libraries] Provide HTML5 browser library

[2] - syntax validation problems

304933 - [validation][syntax] false warning reported about missing semicolon before the closing '}'
317165 - [language support] Boolean type assumed for || expression
326842 - [validation] Use of javascript const gives "missing semicolon" in associative arrays
417387 - Two immediately invoked function expressions combined with comma operator have error marker on comma (edit)
404832 - JavaScript error on valid regex
336579 - [validation] Regular Expression Error Handling Improvement Request
406519 - [validation] Valid JavaScript code flagged as error (regexp, infinity, non-breaking space)
417465 - [JSDT] JavaScript Validation reports max 100 problems per .js file

[3] Fixed issues in latest dev cycle

366247 - NPE in CompilationUnitBinding#sourceMethod() (triggered by birt and other js libraries)
356446 - [exceptions] Errors running builder 'JavaScript Validator' on project with ArrayIndexOutOfBoundsException
344745 - [search] ArrayIndexOutOfBoundsException in DiskIndex during problem detection
350693 - [exceptions][parser] ArrayIndexOutOfBoundsException in Parser#consumeEmptyStatement on a javascript file when building project
357353 - ArrayIndexOutOfBoundsException in UnconditionalFlowInfo#markAsDefinitelyNonNull() with FieldReference

[4] Dependent feature in JBoss Tools

JBIDE-11602 Provide first class support for client side development
Re: Remove default JSDT in Luna or Fix it? [message #1146829 is a reply to message #1130802] Sun, 20 October 2013 12:39 Go to previous messageGo to next message
Paul Verest is currently offline Paul VerestFriend
Messages: 36
Registered: March 2013
Member
I wonder if this forum is the right place to get answers from JSDT team Rolling Eyes
It is definitely more convenient than mailing list https://dev.eclipse.org/mailman/listinfo/wtp-dev


"Remove default JSDT in Luna" does sound loud Shocked

Just to remind that besides JSDT http://eclipse.org/webtools/jsdt/ there is also VJET http://eclipse.org/vjet/ project inside Eclipse

@Denis Do you have alternatives for JSDT?

As for JavaScript I can recommend using JSHint integration maintained by Ralf Sternberg, EclipseSource. http://github.eclipsesource.com/jshint-eclipse/ (Marketplace entry http://marketplace.eclipse.org/content/jshint-eclipse)

There is also NJSDT fork by John Peberdy that ses idea to execute JavaScript to get better code assist https://bitbucket.org/nexj/njsdoc/overview
Check Bug 406575 - Investigate merging NJSDoc support into JSDT https://bugs.eclipse.org/bugs/show_bug.cgi?id=406575


@Eclipse A lot of people would actually be interested in answer to What are the future development plan for Luna ?

https://projects.eclipse.org/projects/webtools.jsdt shows commit activity that is not encouraging.

[Updated on: Sun, 20 October 2013 13:43]

Report message to a moderator

Re: Remove default JSDT in Luna or Fix it? [message #1151975 is a reply to message #1146829] Wed, 23 October 2013 18:44 Go to previous messageGo to next message
Max Rydahl Andersen is currently offline Max Rydahl AndersenFriend
Messages: 233
Registered: July 2009
Senior Member
Yes, we are aware of these efforts but none of them actually works better for mixed html/javascript development and yes, this post has also been crossposted to wtp-dev.

We are still awaiting a response.
Re: Remove default JSDT in Luna or Fix it? [message #1152775 is a reply to message #1146829] Thu, 24 October 2013 07:00 Go to previous messageGo to next message
Denis Golovin is currently offline Denis GolovinFriend
Messages: 18
Registered: July 2009
Junior Member
We know about alternatives, but our code depends on WTP plugins/features. JBoss Tools codebase doesn't have direct references to JSDT plugins, but WTP does. It enforces JSDT natures for projects by having JavaScript facet enabled by default and even adds it back if it is disabled in new wizard explicitly (see Bug 393342 for details).

That's why this post is about removing default JSDT or fix it. If it is not default we at least would have a chance to use alternative solutions and get it works out of the box.
Make JSDT optional Re: Remove default JSDT in Luna or Fix it? [message #1210783 is a reply to message #1152775] Tue, 26 November 2013 05:28 Go to previous message
Paul Verest is currently offline Paul VerestFriend
Messages: 36
Registered: March 2013
Member
One month passed without reply. (Was it in wtp-dev list?)

For server-side JavaScript JSDT also seems not so encouraging:

s1) EcmaScript 5 is used in both Node.js and Nashorn

223131 - [language support] Add ecmascript5

s2) JSDT doesn't have scope to separate client and server side
http://www.eclipse.org/forums/index.php/mv/msg/590420/1179843/#msg_1179843 asked by Pavel Sosin

s3) Latest changes in Kepler JSDT broke JSDT-jQuery integration by Philippe Marschall http://marketplace.eclipse.org/content/jsdt-jquery

s4) And Yes, JSDT is strongly coupled with other projects, so updating any will cause almost full platform update.
Previous Topic:source code for org.mozilla.javascript_1.7.2.v201005080400
Next Topic:Nodeclipse (server-side JavaScript for Node.js, PhantomJS and Nashorn) - ideas are needed!
Goto Forum:
  


Current Time: Fri Mar 29 04:58:50 GMT 2024

Powered by FUDForum. Page generated in 0.04194 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top