We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Xtext I can have multiple file extensions for a given Xtext language by configuring the MWE2 workflow like this:
language = StandardLanguage { name = "com.example.Demo" fileExtensions = "demo,example" }
In the xtext-gradle-plugin this does not work out of the box. I can do something like this:
xtext { languages { demo { fileExtension = 'demo' setup = 'com.example.DemoStandaloneSetup' } demoExample { fileExtension = 'example' setup = 'com.example.DemoStandaloneSetup' } } }
but when generating Java code it seems that I need to add generator.outlet.producesJava = true to every language.
generator.outlet.producesJava = true
It would be nice to have a syntax such as:
xtext { languages { demo { fileExtensions = 'demo,example' setup = 'com.example.DemoStandaloneSetup' } } }
The text was updated successfully, but these errors were encountered:
#71 Added multiple file extensions per language.
cfa4d8e
Deprecated 'fileExtension' in favor to 'fileExtensions'. Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
d9ddb26
ArneDeutsch
No branches or pull requests
In Xtext I can have multiple file extensions for a given Xtext language by configuring the MWE2 workflow like this:
In the xtext-gradle-plugin this does not work out of the box. I can do something like this:
but when generating Java code it seems that I need to add
generator.outlet.producesJava = true
to every language.It would be nice to have a syntax such as:
The text was updated successfully, but these errors were encountered: