Cross-referencing to non-Xtext elements [message #1690986] |
Wed, 01 April 2015 08:39  |
Eclipse User |
|
|
|
Hi!
I've been away from Xtext for a couple of years now and I have a feeling that I saw the answer to this question somewhere, but can't find it now. I hope someone can point me right or answer.
I have a DSL used to generate C code and it contains references to other C code. If I want to navigate between the DSL and C, I need to either
- fill the Xtext index with elements from the C code (locating the C elements off-line)
- catch "unresolved references" and ask locate the element when needed
What would be the right way? If the first option, then how do I let the index know about the external elements?
Thanks in advance!
best regards,
Vlad
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08214 seconds