Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to remove prefix in cross-reference
How to remove prefix in cross-reference [message #1779969] Tue, 16 January 2018 09:26 Go to next message
Dat Nguyen is currently offline Dat NguyenFriend
Messages: 32
Registered: July 2014
I have a language that refers to another file (for example, named abc.lib). The reference always begins by the referenced file name, in this case: "". How can i do to remove the prefix "abc"?

Thank you,
Re: How to remove prefix in cross-reference [message #1780939 is a reply to message #1779969] Tue, 30 January 2018 08:15 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
The name usually does not come from the file, but from a named container element.

Have a look at the scoping API.

Get professional support from the Xtext committers at
Previous Topic:Xtext DSL evolution
Next Topic:Validate two models of different metamodels
Goto Forum:

Current Time: Tue Nov 20 14:12:14 GMT 2018

Powered by FUDForum. Page generated in 0.01683 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top