The rule works fine and it produces the right grammar. for example connectMethod.inputParameterStruct.structValue
Now i want to use the scoping api in order to have the right context assist. In my example only parameters of the connectMethod should be visible. But the scope which is called if i write "connectMethod." and press Strg+SPACE is:
scope_ModelElementReference_element with the context ModelElementReference of the connectMethod-element. In my opinion the context should be the one of the nested ModelElementReference which has a ModelElementReference as eContainer.
After writing the correct text, the scoping gets applied properly, but the context assist does not work.
Maybe someone can tell my why the "wrong" scope gets called after writing the dot and pressing Strg+SPACE and what I can do to get the context assist working for my use case?