Read on for the full details. You might find that more than one of these tools deserves a place in your toolkit.
On a positive note, Eclipse is at this point fairly mature. There's a plug-in for any open source project, programming language, or popular ALM product you can imagine.
JSDT has lofty goals:
The AST (abstract syntax tree) is itself buggy, and this is reflected in errors in the "smart error detection and correction." This isn't a hopeless situation, however. The JBoss Tools Team posted at Planet Eclipse on Jan. 27 that it had started to contribute to the JSDT project to fix the important bugs and overcome the important limitations. The results of its work are already reflected in the Git repository, but not in any current releases.
JSDT is supposed to have the following key features:
- Syntax highlighting
- Full outlining showing classes, functions, and fields
- Highlighting and checking of matching bracket and parentheses
- Auto-completion of brackets, parentheses, and indentation
- Marking of occurrences
- Generation of element JSDoc
- Hover help that displays element declaration with JSDoc or error message
- Configurable error/warning checking, including full-language syntax and type/class structure resolution
- Flow analysis showing unreachable code, unused variables, and variable hiding
- Quick fixes
- Completion templates
- Extensible and customizable code formatting
- Full search
- Refactoring -- renaming, moving, member extraction
- Support for user-defined and browser libraries
Of that admirable list, the syntax highlighting and limited refactoring usually work OK, as do marking of occurrences and bracket/parenthesis matching. Hover help kind of works, but it often displays bogus error messages. Smart Code Completion kind of works, but it's slow and unreliable. Quick fixes seem to be something to avoid for the most part.
JSDT is supposed to have integrated debugging support for Rhino and Crossfire. As far as I can tell, only the Rhino debugger works.