Feedback Aspect¶ ⧉
The feedback aspect defines custom messages to show to the user when an error or a warning is detected in the model.
Can I override error messages? Can I customize any messages that way?
Yes, in this aspect: Feedback - MPS ⧉. No, only the messages that support overriding.
Can I use parameters such as the node or concept in the custom message? Can I add new parameters?
Use the code completion in the show message part of the editor, for example, %concept
. New parameters can't be added because
they are hard coded.
Where can I find these messages in the MPS source code?
Some of those checks come from the structure checker ⧉. There is also the reference scope checker ⧉ and the ConstraintsChildAndPropFacade ⧉, which applies checks.