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

Bug 365279

Summary: [xtext] Consider making language inheritance easier
Product: [Modeling] TMF Reporter: Jan Koehnlein <jan>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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?