Book a Demo

Author Topic: [Code Template Editor] Cannot create struct in override stereotypes  (Read 5438 times)

jepessen

  • EA User
  • **
  • Posts: 106
  • Karma: +1/-1
    • View Profile
Hi.

I'm continuing to create a new language that clone c# and change some format options, in order to leave the original untouched.

I've seen that somewhere, i.e. in Class Body, the "Stereotype overrides" list is not empty, and it contains two items: enumeration and struct. By selecting them, I can see some code.

I want to do the same thing in my new language, so I go to my Class Body, and then click on "Add new Stereotyped override". I can select enumeration, and by selecting it in the list, I can add the original code.

My problem is that I cannot do the same thing for the struct, because I cannot select "struct" in the widget that appears when I click on the button:



How can I add struct class in Stereotype Overrides, and also other that are not present in the widget list, like the others tha I can see in "Operation Declaration" for example?