JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
82 stars 51 forks source link

Table: NodeAttribute on "row" node is rendered incorrectly #166

Open digital-ember opened 5 years ago

digital-ember commented 5 years ago

We've migrated to 2018.2.6. We have row-based structures that use the slisson.Table editor. Some of the "Row nodes" have a NodeAttribute. Ever since the migration, the role identifier of a NodeAttribute instance is rendered in the editor, below the last column header.

BEFORE: image

AFTER: image

SSCCE is attached. AttributeInTable.zip

slisson commented 5 years ago

Possible workaround: In the editor of the attribute wrap the [>attributed node<] with an if. MPS started to generate an additional collection cell around the [>attributed node<] cell. Wrapping it with an if cell prevents that.

digital-ember commented 5 years ago

do you mean to wrap it with an alternation where the condition is always true, like so: image Cause this doesn't work for me.

digital-ember commented 5 years ago

a okay, dropping the node collection works