Add formatting option to place "do" on same line as "then"/"for each ..."/etc.

In my opinion, the current formatting for PowerOn files adds a lot of visual noise by giving do…end blocks their own indentation. In most coding languages, it is standard to put braces on the same line/indentation as the flow-control statement they’re attached to, and I think it would make sense to at least have that as an option in PowerOn Pro.

For comparison, here is the current style enforced by the extension:

if x = 5 then

if x = 5 then do
    [etc.]
end

for each share with 

Share update with 0 linked conversations as well

Upvoters
Status

Planned

Board
Custom icon

PowerOn Pro

Date

11 days ago

Author

Zebulan

Subscribe to post

Get notified by email when there are changes.