Remove completion menu entries from super concept
Hey,
In my language I reuse the StatementList concept by derive my own concept from it. I do the same with Type and Statement.
But unfortunately the editor suggest in the completion menu LocalVariableDeclarationStatements (which are not part of my language) for all my types.
My own StatementList can only contain statements of my own subconcept and I've also tried to forbid other statements than this by constraints. This just leads to error messages after selecting the entries in the completion menu but does not remove the entries.
Is there any way to override the menu of the superconcept?
And I've got just another, mostly unrelated question: What's the meaning of the return small part function in wrapper actions?
In my language I reuse the StatementList concept by derive my own concept from it. I do the same with Type and Statement.
But unfortunately the editor suggest in the completion menu LocalVariableDeclarationStatements (which are not part of my language) for all my types.
My own StatementList can only contain statements of my own subconcept and I've also tried to forbid other statements than this by constraints. This just leads to error messages after selecting the entries in the completion menu but does not remove the entries.
Is there any way to override the menu of the superconcept?
And I've got just another, mostly unrelated question: What's the meaning of the return small part function in wrapper actions?
Please sign in to leave a comment.
And I still have no clue what this return small part function can be used for.
Btw: Amazing response times in this thread ;)
For now I can suggest you to try using remove* actions inside side transform actions & node substitute actions root nodes of actions aspect of your language.
Trying to make response time better. ;-)
The hint to the side transform actions helped me very much. I've just tried to remove node substitution actions, but, of course, especially the DotExpression is inserted by a side transform action.
Many thanks for your help!