Comma after every item (but on the same line) in a vertical child cell layout? Follow
If I simply put ',' in the separator field I get a comma between the items, but it shows on its own line.
I've experimented with a few separator style options and haven't found a way that works either.
Just to be clear here's what I have:
foo(
a
b
c
)
Here's what I want:
foo(
a,
b,
c
)
I've experimented with a few separator style options and haven't found a way that works either.
Just to be clear here's what I have:
foo(
a
b
c
)
Here's what I want:
foo(
a,
b,
c
)
Please sign in to leave a comment.
Thank you for your report. I've just corrected a problem in editor generator related to this situation.
In general solution here is: you should use indent layout for CellModel_RefNodeList containing items in this example. In addition you have to specify separator style for separator (,) with indent-layout-new-line attribute:
<no parentClass> {
indent-layout-new-line : true
}
Once again, this will work in next MPS build. Thank you for your report!