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: 34
Registered: July 2014
Member
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: "abc.xxx". How can i do to remove the prefix "abc"?

Thank you,
Dat
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 www.typefox.io
Previous Topic:Xtext DSL evolution
Next Topic:Validate two models of different metamodels
Goto Forum:
  


Current Time: Thu Apr 25 06:07:47 GMT 2024

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

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

Back to the top