SciMLStyle icon indicating copy to clipboard operation
SciMLStyle copied to clipboard

SciMLStyle format for short begin end block

Open isaacsas opened this issue 2 years ago • 1 comments

@ChrisRackauckas could the rule that sends

rn = @reaction_network begin
     k/$V, A + B --> C
end k

to

rn = @reaction_network begin k / $V, A + B --> C end k

be changed to keep the former? I'm having to disable the formatter in Catalyst in a bunch of places to avoid such changes, which decrease readability.

isaacsas avatar Jul 24 '22 22:07 isaacsas

It could be, I don't know how to go about doing that. Ask in the JuliaFormatter issues?

ChrisRackauckas avatar Jul 26 '22 19:07 ChrisRackauckas