this is a very specific question regarding the standard mps collection editor. I want to change the look of the baselang InstanceMethodCall, which currently looks somehow like
myClassInstance.foobar(param1, param2, param3)
Now i want to make it look like ....
argName3: param3 );
However, this is not that easy. Param1, Param2 and Param3 are Expressions. They are referred as %actualArguments% in the InstanceMethodCall editor. Just the standard (horizontal) collection is used. For each element (expression), the Editor from the particular expression concept is viewed. Thus, i can not easily prefix those collection elements with the name of the param from the InstanceMethodDeclaration (the argNames here).
Is there a way i could somehow prefix the collection elements? One could think of the "separator" in the collection editor, but the separator can only prefix elements with the same text basically.
Anyone a suggestion?