Feature Request: Formatting for Complex Formulas

:bullseye: What is your goal?

The editor should allow for a multi-line view with standard indentation, similar to a code editor.

:thinking: What is the problem & what have you tried?

Currently, complex nested functions (like the switch, map, and sum logic in the attached image) are rendered in a linear, condensed view. This makes it extremely difficult to:

  • Identify the start and end of nested branches.

  • Verify that delimiters (semicolons) are in the correct place.

  • Debug logic without copying the entire string into an external text editor.

I am requesting a “Format” or “Pretty Print” toggle within the variable mapping field.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

3 Likes

could you share a link to the scenario or its blueprint zip?

2 Likes

+1 Missing this (in my opinion basic) feature for a looong time :confused-face:

1 Like

This is where you can add and vote on different stuff you want added/improved. You can upvote this suggestion, I think its the same one.

In the mean time, I use notepad++ to format my formulas first and then edit them to fit Make’s expected format.

2 Likes