|
|
|
Re: How to disable cross reference on predefined methods? [message #1741937 is a reply to message #1741931] |
Tue, 30 August 2016 16:48   |
|
Well this question has no easy solution
(a) asuming your libary can be expressed in your dsl itself. and the dsl file containing project is a java project the you can put a jar containing the libary dsl files to the classpath of that project and it will work out of the box
(b) you should have a look at the concept of scoping. you could e.g. provide EObjectDescriptions for our libary inside a customization of DefaultGlobalScopeProvider
(c) you could customize org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.getUnresolvedProxyMessage(ILinkingDiagnosticContext) and return null in certain situations
Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02826 seconds