Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Unique identifiers across XText resources(How to prevent duplicate identifiers across multiple XText resource files in a project.)
Unique identifiers across XText resources [message #1101482] Wed, 04 September 2013 10:12 Go to next message
Eclipse UserFriend
Is there a (simple) way to prevent duplicate identifiers across multiple XText resources?

Example:

File 1 contains:

FUNCTION myFunction : INT
return 5 + 4;
END_FUNCTION


File 2 contains:

FUNCTION myFunction : REAL
return 2.2 + 4.4;
END_FUNCTION


Currently, only duplicate identifiers are detected in the scope of a single xtext File within in our language, but we need a detection across all files within a project.
Re: Unique identifiers across XText resources [message #1101495 is a reply to message #1101482] Wed, 04 September 2013 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

i dont know a own facility for that: so you have to validate youself.

http://www.eclipse.org/forums/index.php/mv/msg/261440/754503/#msg_754503
Re: Unique identifiers across XText resources [message #1101499 is a reply to message #1101495] Wed, 04 September 2013 10:39 Go to previous message
Eclipse UserFriend
Thank you for the fast response, we will check your hint.
Previous Topic:Add types to auto-completion
Next Topic:Xtext: Couldn't resolve reference to JvmType 'String'
Goto Forum:
  


Current Time: Mon Jul 07 01:44:34 EDT 2025

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

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

Back to the top