Xtext – how to reference an element of an element
Using the simple entity example https://eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html
How can I add something like the following:
So that I can write:
So that I get content assist when writing A. scoped to the features of A only?
you usually do such things by adapting the concept of “scoping”. the content assist ususally respects scoping. so adapt your scope provider like this