|
|
|
Re: port existing Eclipse Plugin to Intellij [message #1735791 is a reply to message #1735755] |
Wed, 22 June 2016 18:07   |
|
here is the iml for my test project. as you can see i have the facets for both dsls added
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="org.xtext.example.mydsla.MyDslA" name="MyDslA">
<configuration>
<option name="activated" value="true" />
<option name="createDirectory" value="true" />
<option name="outputDirectory" value="src-gen" />
<option name="overwriteExisting" value="true" />
<option name="testOutputDirectory" value="src-gen" />
</configuration>
</facet>
<facet type="org.xtext.example.mydslb.MyDslB" name="MyDslB">
<configuration>
<option name="activated" value="true" />
<option name="createDirectory" value="true" />
<option name="outputDirectory" value="src-gen" />
<option name="overwriteExisting" value="true" />
<option name="testOutputDirectory" value="src-gen" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
|
|
|
|
|
Re: port existing Eclipse Plugin to Intellij [message #1735882 is a reply to message #1735874] |
Thu, 23 June 2016 12:40  |
|
i have no idea on this as well (no grammar). - did you take a very same grammar and model files that worked in eclipse?
for me it looks there must be something missing e.g. and impl for implicit imports or qualifiednameprovider.
or there is a cross ref in the grammar that does not allow to parse certain things.
if i have a look at decimal-format the qualified name seems to be abcompany_default.datatype-decimal.decimal-format
since the datatype-decimal is a keyword you cannot write the qualified name
so there must be a implicit or explicit import for abcompany_default.datatype-decimal*
or the nameprovider must give it a different name.
from your code i seem many customization classes on scoping and stuff like that as that as well.
so do you have any unit tests that makes the base file beeing green?
and i am not faminilar with the details of the xtext idea impl.
but i have the feeling the idea support is still very clunky. at least when using this maven multi module stuff in idea
Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.02768 seconds