Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366368 - Generated stubs should be Xtend for fresh projects
Summary: Generated stubs should be Xtend for fresh projects
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 05:15 EST by Sven Efftinge CLA
Modified: 2017-10-31 11:18 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: kepler+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.