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
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: 757
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:Problem using XtextServlet in SpringBoot Application
Goto Forum:
  


Current Time: Tue Feb 20 11:28:17 GMT 2018

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

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