Distinguish imported namespaces by file type [message #763272] |
Fri, 09 December 2011 08:31  |
Eclipse User |
|
|
|
Hello,
My XText Editor should handle two types of files.
The first one (*.os) imports all known namespaces with "importedNamespace". And it also includes the other files (*.osi) via "importURI". That's no Problem thank's to XText.
But the osi-Files don't have importedNamespaces and importURI, because they use the namespaces of their importing os-file.
My idea is to import all namespaces of the project by default, so I don't get linking errors in these files. More isn't necessary.
I know the approach about Default Imports "Xtext cross references and scoping an overview (Part 3)"
But how can I separate this behavior for two kinds of files?
Thank You
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.16502 seconds