Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsContent assist testing with 2 grammars
https://www.eclipse.org/forums/index.php/mv/msg/1104136/1828618/#msg_1828618
In my DSL I use two grammars MyDsl (main) and OtherDsl which is an external grammar.
I have made some custom content assist which gives suggestions based on cross-references which are available in OtherDsl files.
Currently I am only able to test the content assist only by using MyDsl files.
My question is when testing the content assist UI, how can I register the OtherDsl grammar and how can I add OtherDsl files to the resource set so that I can test the content assist suggestions?
Thank you in advance.]]>Albert K2020-06-15T09:49:56-00:00Re: Content assist testing with 2 grammars
https://www.eclipse.org/forums/index.php/mv/msg/1104136/1828619/#msg_1828619
this should work out of the box (assuming you have configured the workflow correct)
(you might need to merge(copy) plugin.xml_gen files to plugin.xml)]]>Christian Dietrich2020-06-15T09:57:05-00:00Re: Content assist testing with 2 grammars
https://www.eclipse.org/forums/index.php/mv/msg/1104136/1828626/#msg_1828626
You can find more information about this topic in the following Xtext issue: https://github.com/eclipse/xtext-eclipse/issues/1093
Hope that helps,
Tamás]]>Tamas Miklossy2020-06-15T10:41:32-00:00