JSDT, meet EcmaScript 2015
A parser/compiler is central to a language development tool, the new parser had effected many JSDT features. I would like to highlight a few in this article that are essential to daily development.
ES6 has introduced new keywords such as the
let. All the new keywords are
now fully recognized. We have added templates for new keywords where appropriate, in addition
to keyword content assist. ES6 also had added new constructs such as class definition syntax,
As you can see on Figure 1, class definitions are now used by features such as outline view.
Figure 1. ES6 features on Editor
The transition of JSDT is not over yet! Some of the JSDT features depended on compiler internal data to work correctly and are disabled. The work continues on enabling or replacing them with more powerful ones with hope to provide an interesting "new and noteworthy" for every release.