Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Languages Tools Factorization
Contents
Goal
Eclipse is the host of various programming languages tools (JDT, CDT, JSDT/VJET, AJDT, PDT... at Eclipse.org; Ceylon-IDE, Groovy-Eclipse, Scala-IDE, Counterclockwise... outside of Eclipse.org). Most of these tools have been sharing the same features but not necessary the same code because of the lack of factorization on this topic.
The goal is to find out which pieces are implemented by most Language Development Tool, and to implement them in a generic/universal way as part of a LTK-like project or component (or LTK itself). Then, it would be easier to write Tools for new languages by re-using the available bundles, and more mature projects could move towards this new bundles in order to benefit from factorization.
Useful Links/Discussions
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=36939
- http://www.eclipse.org/org/langsymp/ (?)
- http://dev.eclipse.org/mhonarc/lists/ide-dev/msg00023.html (2013)
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=415563 (2013)
Existing common features
Indexing
- Purpose Indexing the code structure to make it efficient to search for types/members...
- Known implementations
- JDT bundles, architecture?
- JSDT Copied from JDT?
- CDT ?
- AJDT ?
- PDT ?
- CeylonIDE ?
- ScalaIDE ?
- CounteClockwise ?
Refactoring
- Purpose Refactoring
- Known implementations
- JDT relies on LTK?
- JSDT Copied from JDT?
- CDT ?
- AJDT ?
- PDT ?
- CeylonIDE ?
- ScalaIDE ?
- CounteClockwise ?
...
- Purpose ...
- Known implementations
- JDT relies on LTK?
- JSDT Copied from JDT?
- CDT ?
- AJDT ?
- PDT ?
- CeylonIDE ?
- ScalaIDE ?
- CounteClockwise ?
Potential new features
Cross-languages search
- Purpose Polyglot development is becoming mainstream, it would be interesting to develop the tools to handle it easily. For example, developing with Qt can mix JavaScript and C++