Multiline formula editor

I would love the formula editor to be multi line to make it easier to read, edit and understand the formula:

if(((field("Box")!="")&&(field("Room")!=""))||((field("Box")="")&&(field("Room")="")),"? Item must have either Box OR Room (not both, not neither) and we set the room for box over there","")

vs

if(
    ((field("Box")!="") && (field("Room")!=""))  ||
    ((field("Box")="") && (field("Room")="")),
    "? Item must have either Box OR Room (not both, not neither) and we set the room for box over there",
    ""
)

1 Like

Hello @DavidS, noted! We already have an issue to improve the formula editor, so I added a comment there about multiline support: Make formula editor more comfortable to use (larger window, syntax highlighting) · Issue #2872 · baserow/baserow · GitHub :slightly_smiling_face: