Create instances of a concept
Hello,
I want to create an enumeration of countries, except that this enumeration is not limited to country name, but each country has a name, code and number of inhabitants.
How can i do this?
Thank you.
Please sign in to leave a comment.
Well, than having a dedicated concept for country would work best.
That's what I've done, the problem is how to create the instances so that in the editor it's a predefined list
You'll need to define these pre-defined instances in an accessory model - e.g. like in here: https://www.jetbrains.com/help/mps/regular-expressions.html#accessorymodels
Thank you for your “quick” response.