Community
Participate
Working Groups
Currently, XText editors have a strict grammar, where almost all elements are required (e.g. for a property: visibility, type, multiplicity are required). Most elements should be optional: if it is not specified, then it should remain unchanged. For example, in a Property Editor, typing "p3 [*]" should only change the Name and Multiplicity, and leave the visibility and type unchanged. The allowed default values should be improved as well, for Property and Port editors: currently, they only support LiteralString default values. At least all Literals should be supported (InstanceValues or Expressions being more complicated and out of the scope of a lightweight editor)
The following improvements have been pushed to master: - Make most grammar elements optional in the Property grammar (Everything but Derived and Name) - Make most grammar elements optional in the Port grammar (Everything but Derived, Conjugated and Name) - Improve formatting of the initial text when editing a Port or a Property - Add support for all Literals in Default Value (For Port and Property). The keywords "null" (LiteralNull) and "none" (No default value) have been added