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
Adds formatting for if_else
control flow blocks
#2564
Conversation
I may be misunderstanding something but it seems to me like the desired output of the test and the intermediate whitespace are duplicates. Shouldn't they be different so that a messy form gets formatted into the desired form? |
Right you are, I was expecting to have to resolve some conflicts so I got lazy. Thanks for the catch 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - tested some simple variations on a forc init
project as well using the test code snippet too.
Ref #2493
This will have to change slightly if #2539 gets in first and vice versa since it adds changes to
CodeBlockContents
which they both rely on.