Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365279 - [xtext] Consider making language inheritance easier
Summary: [xtext] Consider making language inheritance easier
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 03:35 EST by Jan Koehnlein CLA
Modified: 2011-12-01 03:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2011-12-01 03:35:45 EST
To inherit from another language with default settings you currently have to

1) make a dependency to the base language's RT/UI plugin respectively
2) register the generated EPackage and genmodel in the workflow
3) change the with clause in the grammar

i.e. you have to have a deeper understanding of plug-in dependency management and EMF (generated package, genmodel and platform URIs). It is also likely you'll have to additionally export some packages form hte base language. If you stick to the defaults, you probably won't need that knowledge again.

We should at least document the steps to inherit from a super language. To capture some more none PDE/EMF expert users, it would be nice to have another input field for the super language in the "New Xtext project" wizard. Opinions?