Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366368

Summary: Generated stubs should be Xtend for fresh projects
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 2.2.0Flags: sebastian.zarnekow: kepler+
Target Milestone: M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-12-12 05:15:21 EST
Fresh Xtext projects should get an MWE file, which will generate only Xtend stubs to src (Java to src-gen).
Comment 1 Sebastian Zarnekow CLA 2012-03-12 04:57:26 EDT
We have to keep in mind that existing projects may not end up with duplicate stubs. Also I'm not sure that it's a good idea to use Xtend e.g. for the content assist implementation since that usually involves a lot of anonymous class specializations.
Comment 2 Sven Efftinge CLA 2012-03-12 06:43:16 EDT
(In reply to comment #1)
> We have to keep in mind that existing projects may not end up with duplicate
> stubs.

Of course.

> Also I'm not sure that it's a good idea to use Xtend e.g. for the
> content assist implementation since that usually involves a lot of anonymous
> class specializations.

We'll have to go through each API and decide how to handle them individually.
Comment 3 Sven Efftinge CLA 2012-04-30 08:39:40 EDT
won't make it into 2.3
Comment 4 Sebastian Zarnekow CLA 2013-04-19 05:38:13 EDT
Made it into 2.4
Comment 5 Eclipse Webmaster CLA 2017-10-31 11:07:27 EDT
Requested via bug 522520.

-M.
Comment 6 Eclipse Webmaster CLA 2017-10-31 11:18:52 EDT
Requested via bug 522520.

-M.