|Xtext Cross referencing [message #1072201]
||Mon, 22 July 2013 05:27
| Edwin Tuzar
Registered: April 2013
could someone please help me with the following problem:
in my grammar I have the following rule:
'perspective_declaration' id=ID name=STRING;
and I'm using it as a cross reference in this rule:
now the problem is that when I'm using it in the dsl editor the reference is the name field and not the id. How can I change that? to take the id field instead of name field?
I'm not sure that I'm on the right path, but now I'm trying to use scoping (never used it). Some advices will be very kind.
Thanks in advance!
Powered by FUDForum
. Page generated in 4.36303 seconds