Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SciMLStyle format for short begin end block #25

Open
isaacsas opened this issue Jul 24, 2022 · 1 comment
Open

SciMLStyle format for short begin end block #25

isaacsas opened this issue Jul 24, 2022 · 1 comment

Comments

@isaacsas
Copy link
Member

@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.

@ChrisRackauckas
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants