indents in editor for vertical collections

When using a vertical collection in an Editor I typically can place brackets like:

[

   item1

   item2

]

 

But I would like to be able to do this:

 

 

[ item1

  item2

]

 

Any ideas out there?

 

Twan

 

 

 

 

1 comment
Comment actions Permalink

Answering my own question ;-)

 

Put the cursor on the bracket in the editor for the editor and activate the reflective editor and remove in the "style items":

indent-layout-new-line : (editorContext, node)->boolean {
node.items.isNotEmpty;
}

 

Voi la

1

Please sign in to leave a comment.